diff options
author | jlam <jlam> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 17:45:33 +0000 |
commit | 7a1142123798f48c48fc2d1fe38690a6b94d1df7 (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/p4d | |
parent | e629efdae96bb93a089e74409a36149a86e10f81 (diff) | |
download | pkgsrc-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/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" |