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 | 2ff2716acf781c9b1b039a6b95e38ecb3d95ed08 (patch) | |
tree | 49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/rox-memo | |
parent | b7a420b59c401cc1e9a58c6d5a9f19b4f93074f8 (diff) | |
download | pkgsrc-2ff2716acf781c9b1b039a6b95e38ecb3d95ed08.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" |