From 197e9f30d31cf37bb8ac8d0906df11795017f9b1 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 7 Jul 2009 19:58:19 +0000 Subject: user-destdir support --- sysutils/skill/Makefile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'sysutils') 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" -- cgit v1.2.3