diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
commit | e655762fb793a09bcd629a5ee8889dfe5b1550a0 (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/p4d | |
parent | 2d370b7fe4d16560d65355fc39f74d9ef5e1f0c9 (diff) | |
download | pkgsrc-e655762fb793a09bcd629a5ee8889dfe5b1550a0.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/p4d')
-rw-r--r-- | devel/p4d/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/p4d/Makefile b/devel/p4d/Makefile index e0f273c6cac..96a671ab95a 100644 --- a/devel/p4d/Makefile +++ b/devel/p4d/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2007/07/04 20:54:38 jlam Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/03 17:45:36 jlam Exp $ # DISTNAME= p4d @@ -6,6 +6,8 @@ HOMEPAGE= http://www.perforce.com/perforce/products/p4d.html PKGREVISION= 1 COMMENT= Perforce SCM server +PKG_DESTDIR_SUPPORT= user-destdir + P4BINONLY= # defined .include "../../devel/p4/Makefile.common" @@ -39,6 +41,7 @@ P4JOURNAL?= journal INSTALLATION_DIRS= sbin do-install: - ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${PREFIX}/sbin + ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} \ + ${DESTDIR}${PREFIX}/sbin .include "../../mk/bsd.pkg.mk" |