summaryrefslogtreecommitdiff
path: root/devel/p4web
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 17:45:33 +0000
committerjlam <jlam>2008-03-03 17:45:33 +0000
commit7a1142123798f48c48fc2d1fe38690a6b94d1df7 (patch)
tree620d08cc8bf79f9bacb7746632192670c7d6350d /devel/p4web
parente629efdae96bb93a089e74409a36149a86e10f81 (diff)
downloadpkgsrc-7a1142123798f48c48fc2d1fe38690a6b94d1df7.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/Makefile6
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"