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/c4 | |
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/c4')
-rw-r--r-- | devel/c4/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/c4/Makefile b/devel/c4/Makefile index bdc8f198071..0168e53f7a3 100644 --- a/devel/c4/Makefile +++ b/devel/c4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/02/17 20:59:47 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/03 17:45:34 jlam Exp $ # DISTNAME= c4 @@ -11,13 +11,15 @@ COMMENT= CVS-like frontend to Perforce DEPENDS+= p4-[0-9]*:../../devel/p4 +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} BUILD_TARGET= c4 INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/c4 ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/c4.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/c4 ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/c4.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |