summaryrefslogtreecommitdiff
path: root/misc/rox-memo
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 19:21:10 +0000
committerjlam <jlam>2008-03-04 19:21:10 +0000
commit476429c9f7b93362ea027fafcaa1bb835868c0d1 (patch)
tree49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/rox-memo
parentdf44780831cf4dadccea821bb560fbdd11bda60b (diff)
downloadpkgsrc-476429c9f7b93362ea027fafcaa1bb835868c0d1.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/Makefile6
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"