pkgsrc/sysutils/skill/Makefile

50 lines
1.3 KiB
Makefile
Raw Normal View History

2007-10-28 03:18:08 +01:00
# $NetBSD: Makefile,v 1.24 2007/10/28 02:18:08 obache Exp $
1999-01-05 01:32:28 +01:00
#
1998-08-04 17:20:07 +02:00
DISTNAME= skill-4.1.4
1998-08-04 17:20:07 +02:00
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.flux.utah.edu/pub/skill/
2001-01-18 12:44:56 +01:00
EXTRACT_SUFX= .tgz
1998-08-04 17:20:07 +02:00
MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://mysite.verizon.net/jforys/jeffware.html
COMMENT= Signal processes given user names, ttys, commands, or pids
1998-08-04 17:20:07 +02:00
2005-03-10 18:00:54 +01:00
NOT_FOR_PLATFORM+= Interix-*-* # currently no machdep support
1999-09-27 15:28:56 +02:00
.include "../../mk/bsd.prefs.mk"
1998-08-04 17:20:07 +02:00
1999-09-27 15:28:56 +02:00
.if ${OPSYS} == "NetBSD"
MAKE_ENV+= OSTYPE=nbsd-44
2005-08-06 15:06:06 +02:00
.elif ${OPSYS} == "Darwin"
MAKE_ENV+= OSTYPE=nbsd-44
.elif ${OPSYS} == "DragonFly"
MAKE_ENV+= OSTYPE=nbsd-44
CPPFLAGS+= -DHAS_STRERROR=1
1999-09-27 15:28:56 +02:00
.elif ${OPSYS} == "SunOS"
BINMODE= 02555
1999-09-27 15:28:56 +02:00
MAKE_ENV+= OSTYPE=sys-5r4 BINGRP=sys CPPFLAGS=
.elif ${OPSYS} == "FreeBSD"
2007-10-28 03:18:08 +01:00
MAKE_ENV+= OSTYPE=nbsd-44
.elif ${OPSYS} == "Linux"
2007-10-28 03:18:08 +01:00
MAKE_ENV+= OSTYPE=linux-1
CPPFLAGS+= -DHAS_STRERROR=1
.elif ${OPSYS} == "IRIX"
2007-10-28 03:18:08 +01:00
MAKE_ENV+= OSTYPE=irix5
.elif ${OPSYS} == "OSF"
2007-10-28 03:18:08 +01:00
MAKE_ENV+= OSTYPE=mach-3
.elif ${OPSYS} == "AIX"
2007-10-28 03:18:08 +01:00
MAKE_ENV+= OSTYPE=aix-3
.elif ${OPSYS} == "HPUX"
2007-10-28 03:18:08 +01:00
MAKE_ENV+= OSTYPE=hpux-10
1999-09-27 15:28:56 +02:00
.endif
1998-08-04 17:20:07 +02:00
pre-install:
${INSTALL_PROGRAM} ${WRKSRC}/skill ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/skill.1 ${PREFIX}/${PKGMANDIR}/man1
${RM} -f ${PREFIX}/bin/snice ${PREFIX}/${PKGMANDIR}/man1/snice.1
1999-09-27 15:28:56 +02:00
${LN} -s skill ${PREFIX}/bin/snice
${LN} -s skill.1 ${PREFIX}/${PKGMANDIR}/man1/snice.1
1998-08-04 17:20:07 +02:00
.include "../../mk/bsd.pkg.mk"