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
|
|
|
|
2007-10-27 04:52:22 +02:00
|
|
|
DISTNAME= skill-4.1.4
|
1998-08-04 17:20:07 +02:00
|
|
|
CATEGORIES= sysutils
|
2006-10-28 23:29:47 +02:00
|
|
|
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
|
2006-10-28 23:29:47 +02:00
|
|
|
HOMEPAGE= http://mysite.verizon.net/jforys/jeffware.html
|
2001-02-17 18:42:09 +01:00
|
|
|
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"
|
2002-04-29 12:43:16 +02:00
|
|
|
MAKE_ENV+= OSTYPE=nbsd-44
|
2005-08-06 15:06:06 +02:00
|
|
|
.elif ${OPSYS} == "Darwin"
|
|
|
|
MAKE_ENV+= OSTYPE=nbsd-44
|
2005-12-06 14:27:01 +01:00
|
|
|
.elif ${OPSYS} == "DragonFly"
|
|
|
|
MAKE_ENV+= OSTYPE=nbsd-44
|
|
|
|
CPPFLAGS+= -DHAS_STRERROR=1
|
1999-09-27 15:28:56 +02:00
|
|
|
.elif ${OPSYS} == "SunOS"
|
2000-06-26 09:54:40 +02:00
|
|
|
BINMODE= 02555
|
1999-09-27 15:28:56 +02:00
|
|
|
MAKE_ENV+= OSTYPE=sys-5r4 BINGRP=sys CPPFLAGS=
|
2007-10-27 04:52:22 +02:00
|
|
|
.elif ${OPSYS} == "FreeBSD"
|
2007-10-28 03:18:08 +01:00
|
|
|
MAKE_ENV+= OSTYPE=nbsd-44
|
2007-10-27 04:52:22 +02:00
|
|
|
.elif ${OPSYS} == "Linux"
|
2007-10-28 03:18:08 +01:00
|
|
|
MAKE_ENV+= OSTYPE=linux-1
|
2007-10-27 04:52:22 +02:00
|
|
|
CPPFLAGS+= -DHAS_STRERROR=1
|
|
|
|
.elif ${OPSYS} == "IRIX"
|
2007-10-28 03:18:08 +01:00
|
|
|
MAKE_ENV+= OSTYPE=irix5
|
2007-10-27 04:52:22 +02:00
|
|
|
.elif ${OPSYS} == "OSF"
|
2007-10-28 03:18:08 +01:00
|
|
|
MAKE_ENV+= OSTYPE=mach-3
|
2007-10-27 04:52:22 +02:00
|
|
|
.elif ${OPSYS} == "AIX"
|
2007-10-28 03:18:08 +01:00
|
|
|
MAKE_ENV+= OSTYPE=aix-3
|
2007-10-27 04:52:22 +02:00
|
|
|
.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
|
2007-01-07 10:13:46 +01:00
|
|
|
${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
|
2007-01-07 10:13:46 +01:00
|
|
|
${LN} -s skill.1 ${PREFIX}/${PKGMANDIR}/man1/snice.1
|
1998-08-04 17:20:07 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|