diff options
author | jlam <jlam> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 17:45:33 +0000 |
commit | 6382667881b228651106070be0587fe300bf858b (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/p4web | |
parent | 2faf5f3f31238b3c0a70766d4e716138a636c86b (diff) | |
download | pkgsrc-6382667881b228651106070be0587fe300bf858b.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/p4web')
-rw-r--r-- | devel/p4web/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/p4web/Makefile b/devel/p4web/Makefile index 77380545108..d7c0e02c0f5 100644 --- a/devel/p4web/Makefile +++ b/devel/p4web/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.2 2005/06/16 06:57:47 jlam Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/03 17:45:36 jlam Exp $ # DISTNAME= p4web HOMEPAGE= http://www.perforce.com/perforce/products/p4web.html COMMENT= Perforce SCM Web client +PKG_DESTDIR_SUPPORT= user-destdir + P4BINONLY= # defined .include "../../devel/p4/Makefile.common" @@ -13,6 +15,6 @@ INSTALLATION_DIRS= bin do-install: ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} \ - ${PREFIX}/bin/${DISTNAME} + ${DESTDIR}${PREFIX}/bin/${DISTNAME} .include "../../mk/bsd.pkg.mk" |