diff options
author | jlam <jlam> | 2008-03-02 03:48:36 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-02 03:48:36 +0000 |
commit | 3170d23f01ae24aa1c4d6e488619cd4779dc3023 (patch) | |
tree | 14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/rox-archive/Makefile | |
parent | 3bee3dc66434cf5910b9b2016244f4e8af453b0f (diff) | |
download | pkgsrc-3170d23f01ae24aa1c4d6e488619cd4779dc3023.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/Makefile')
-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" |