diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
commit | 39843c2c61acd3e8f1b7d0fa6eb0f76884067d10 (patch) | |
tree | 49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/rox-memo | |
parent | 0523c1825d9b781d6f10c2ef70daf0a164e0f142 (diff) | |
download | pkgsrc-39843c2c61acd3e8f1b7d0fa6eb0f76884067d10.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'misc/rox-memo')
-rw-r--r-- | misc/rox-memo/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/rox-memo/Makefile b/misc/rox-memo/Makefile index 2e75f33dbf8..7396e9f65e8 100644 --- a/misc/rox-memo/Makefile +++ b/misc/rox-memo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2006/02/05 23:10:13 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/04 19:21:12 jlam Exp $ # DISTNAME= Memo-1.9.5 @@ -14,6 +14,8 @@ COMMENT= Reminds you about things DEPENDS+= rox-lib>=2.0.2nb2:../../devel/rox-lib +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${DISTNAME}/Memo DIST_SUBDIR= rox @@ -30,7 +32,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/Memo + cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${PREFIX}/share/rox/Memo .include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" |