diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 19:58:19 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 19:58:19 +0000 |
commit | 197e9f30d31cf37bb8ac8d0906df11795017f9b1 (patch) | |
tree | 78c4b8d89740d8bdb58bf454e482cb1311cf70ca /sysutils | |
parent | 80b27c6f680e46431ea3467f0ae570d2614c0fb4 (diff) | |
download | pkgsrc-197e9f30d31cf37bb8ac8d0906df11795017f9b1.tar.gz |
user-destdir support
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/skill/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/sysutils/skill/Makefile b/sysutils/skill/Makefile index d7ed4933525..a173d6ef71d 100644 --- a/sysutils/skill/Makefile +++ b/sysutils/skill/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2007/10/28 02:18:08 obache Exp $ +# $NetBSD: Makefile,v 1.25 2009/07/07 19:58:19 joerg Exp $ # DISTNAME= skill-4.1.4 @@ -10,6 +10,8 @@ MAINTAINER= kim@tac.nyc.ny.us HOMEPAGE= http://mysite.verizon.net/jforys/jeffware.html COMMENT= Signal processes given user names, ttys, commands, or pids +PKG_DESTDIR_SUPPORT= user-destdir + NOT_FOR_PLATFORM+= Interix-*-* # currently no machdep support .include "../../mk/bsd.prefs.mk" @@ -39,11 +41,13 @@ MAKE_ENV+= OSTYPE=aix-3 MAKE_ENV+= OSTYPE=hpux-10 .endif +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 + 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 - ${LN} -s skill ${PREFIX}/bin/snice - ${LN} -s skill.1 ${PREFIX}/${PKGMANDIR}/man1/snice.1 + ${INSTALL_PROGRAM} ${WRKSRC}/skill ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/skill.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${RM} -f ${DESTDIR}${PREFIX}/bin/snice ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/snice.1 + ${LN} -s skill ${DESTDIR}${PREFIX}/bin/snice + ${LN} -s skill.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/snice.1 .include "../../mk/bsd.pkg.mk" |