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 | e655762fb793a09bcd629a5ee8889dfe5b1550a0 (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/acunia-jam | |
parent | 2d370b7fe4d16560d65355fc39f74d9ef5e1f0c9 (diff) | |
download | pkgsrc-e655762fb793a09bcd629a5ee8889dfe5b1550a0.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/acunia-jam')
-rw-r--r-- | devel/acunia-jam/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/devel/acunia-jam/Makefile b/devel/acunia-jam/Makefile index 5cfe6519c58..78f12e62eab 100644 --- a/devel/acunia-jam/Makefile +++ b/devel/acunia-jam/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2006/07/29 05:23:35 minskim Exp $ +# $NetBSD: Makefile,v 1.13 2008/03/03 17:45:34 jlam Exp $ # DISTNAME= acunia-jam-1.0 @@ -13,6 +13,7 @@ COMMENT= Acunia version of the program construction tool, like make(1) CONFLICTS= jam-[0-9]* PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR}/jam USE_TOOLS+= yacc @@ -24,15 +25,17 @@ INSTALLATION_DIRS= bin do-install: for file in jam mkjambase; do \ - ${INSTALL_PROGRAM} ${WRKSRC}/bin.*/$${file} ${PREFIX}/bin; \ + ${INSTALL_PROGRAM} ${WRKSRC}/bin.*/$${file} \ + ${DESTDIR}${PREFIX}/bin; \ done - ${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${DOCDIR} for file in Porting README RELNOTES; do \ - ${INSTALL_DATA} ${WRKSRC}/$${file} ${PREFIX}/${DOCDIR}; \ + ${INSTALL_DATA} ${WRKSRC}/$${file} \ + ${DESTDIR}${PREFIX}/${DOCDIR}; \ done - ${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${HTMLDIR} for file in ${WRKSRC}/*.html; do \ - ${INSTALL_DATA} $${file} ${PREFIX}/${HTMLDIR}; \ + ${INSTALL_DATA} $${file} ${DESTDIR}${PREFIX}/${HTMLDIR}; \ done .include "../../mk/bsd.pkg.mk" |