summaryrefslogtreecommitdiff
path: root/archivers/jamjar
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-09 23:53:00 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-09 23:53:00 +0000
commit6bf251943fb669be2d208f6fb7fcd78920282db9 (patch)
tree08da0f4e6d2620b76cc84833b9ad31a91e93307a /archivers/jamjar
parentc049324d4f77017239146aa07f5a07fbfb618507 (diff)
downloadpkgsrc-6bf251943fb669be2d208f6fb7fcd78920282db9.tar.gz
DESTDIR support.
Diffstat (limited to 'archivers/jamjar')
-rw-r--r--archivers/jamjar/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/archivers/jamjar/Makefile b/archivers/jamjar/Makefile
index 2f238ad9347..d15706751ee 100644
--- a/archivers/jamjar/Makefile
+++ b/archivers/jamjar/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/06/16 14:51:52 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2009/02/10 00:03:41 joerg Exp $
#
DISTNAME= jamjar-0.7.1
@@ -12,6 +12,7 @@ COMMENT= Acunia version of the jar archiver
BUILD_DEPENDS+= acunia-jam>=1.0:../../devel/acunia-jam
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/jamjar
@@ -19,7 +20,7 @@ JAM_COMMAND= \
cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} \
${LOCALBASE}/bin/jam \
- -sPREFIX="${PREFIX}" \
+ -sPREFIX="${DESTDIR}${PREFIX}" \
-sCFLAGS="${CFLAGS}"
do-build: