summaryrefslogtreecommitdiff
path: root/archivers/rox-archive
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-02 03:48:36 +0000
committerjlam <jlam@pkgsrc.org>2008-03-02 03:48:36 +0000
commit6a0bbfc67659e8fd303162cd3c8e2f27b4be528b (patch)
tree14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/rox-archive
parentabd93136031ca3b8ecf3b96e0d1a078f10ccd7d5 (diff)
downloadpkgsrc-6a0bbfc67659e8fd303162cd3c8e2f27b4be528b.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'archivers/rox-archive')
-rw-r--r--archivers/rox-archive/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/archivers/rox-archive/Makefile b/archivers/rox-archive/Makefile
index 50821b62a4b..d80d997b5b3 100644
--- a/archivers/rox-archive/Makefile
+++ b/archivers/rox-archive/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2006/02/05 23:08:04 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/02 03:48:36 jlam Exp $
#
DISTNAME= archive-2.0
@@ -15,6 +15,8 @@ COMMENT= Simple archiver
# no real libraries there
DEPENDS+= rox-lib>=2.0.2nb2:../../devel/rox-lib
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${DISTNAME}/Archive
DIST_SUBDIR= rox
@@ -31,7 +33,7 @@ SUBST_FILES.lib= findrox.py
SUBST_SED.lib= -e 's,/usr/local/lib,${PREFIX}/share/rox,g'
do-install:
- cd ${WRKSRC} && ${PAX} -rw . ${PREFIX}/share/rox/Archive
+ cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${PREFIX}/share/rox/Archive
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"