summaryrefslogtreecommitdiff
path: root/devel/p4d
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 17:45:33 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 17:45:33 +0000
commit4c8382aec039aefeebaf1aaac5cd7985337ed917 (patch)
tree620d08cc8bf79f9bacb7746632192670c7d6350d /devel/p4d
parent3a62565eb9471348d02d74145e302b5675905a43 (diff)
downloadpkgsrc-4c8382aec039aefeebaf1aaac5cd7985337ed917.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/Makefile7
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"