diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-02 03:48:36 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-02 03:48:36 +0000 |
commit | 6a0bbfc67659e8fd303162cd3c8e2f27b4be528b (patch) | |
tree | 14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/rox-archive | |
parent | abd93136031ca3b8ecf3b96e0d1a078f10ccd7d5 (diff) | |
download | pkgsrc-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/Makefile | 6 |
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" |