diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
commit | 4c8382aec039aefeebaf1aaac5cd7985337ed917 (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/cvs2p4 | |
parent | 3a62565eb9471348d02d74145e302b5675905a43 (diff) | |
download | pkgsrc-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/cvs2p4')
-rw-r--r-- | devel/cvs2p4/Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/devel/cvs2p4/Makefile b/devel/cvs2p4/Makefile index b7fa3403507..f541cbaaf0b 100644 --- a/devel/cvs2p4/Makefile +++ b/devel/cvs2p4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2007/02/17 20:59:47 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/03 17:45:34 jlam Exp $ # DISTNAME= cvs2p4-2.3.3 @@ -16,6 +16,8 @@ DEPENDS+= p4d-[0-9]*:../../devel/p4d DEPENDS+= rcs-[0-9]*:../../devel/rcs .endif +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= perl:run NO_BUILD= yes @@ -46,14 +48,15 @@ do-configure: done do-install: - ${INSTALL_DATA} ${WRKSRC}/lib/util.pl ${PREFIX}/${CVS2P4_OUTLIB} - ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/lib/util.pl \ + ${DESTDIR}${PREFIX}/${CVS2P4_OUTLIB} + ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${DESTDIR}${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/${DOCDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/NEWS ${DESTDIR}${PREFIX}/${DOCDIR} - ${INSTALL_DATA_DIR} ${PREFIX}/${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/test/config ${PREFIX}/${EGDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/test/config ${DESTDIR}${PREFIX}/${EGDIR} .include "../../mk/bsd.pkg.mk" |