summaryrefslogtreecommitdiff
path: root/devel/p4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p4/Makefile')
-rw-r--r--devel/p4/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/p4/Makefile b/devel/p4/Makefile
index a6607ad30c4..d80a2134ebc 100644
--- a/devel/p4/Makefile
+++ b/devel/p4/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.4 2006/06/17 20:44:03 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/03 17:45:36 jlam Exp $
#
DISTNAME= p4
HOMEPAGE= http://www.perforce.com/perforce/products/p4.html
COMMENT= Perforce SCM command-line client
+PKG_DESTDIR_SUPPORT= user-destdir
+
P4BINONLY= yes
.include "../../devel/p4/Makefile.common"
@@ -12,6 +14,7 @@ P4BINONLY= yes
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} \
+ ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"