summaryrefslogtreecommitdiff
path: root/sysutils/psmisc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /sysutils/psmisc
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'sysutils/psmisc')
-rw-r--r--sysutils/psmisc/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/psmisc/Makefile b/sysutils/psmisc/Makefile
index 065cf44559a..9f88e6f2168 100644
--- a/sysutils/psmisc/Makefile
+++ b/sysutils/psmisc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2006/03/04 21:30:42 jlam Exp $
+# $NetBSD: Makefile,v 1.24 2008/06/12 02:14:46 joerg Exp $
DISTNAME= psmisc-20.1
CATEGORIES= sysutils
@@ -12,14 +12,15 @@ COMMENT= Miscellaneous procfs tools: killall, pidof, and pstree
CONFLICTS+= pstree<=2.16
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
LIBS+= ${BUILDLINK_LDADD.getopt}
# "make install" doesn't install the link from killall -> pidof.
post-install:
- ${RM} -f ${PREFIX}/bin/pidof
- ${LN} -f ${PREFIX}/bin/killall ${PREFIX}/bin/pidof
+ ${RM} -f ${DESTDIR}${PREFIX}/bin/pidof
+ ${LN} -f ${DESTDIR}${PREFIX}/bin/killall ${DESTDIR}${PREFIX}/bin/pidof
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"