summaryrefslogtreecommitdiff
path: root/misc/rox-memo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/rox-memo/Makefile')
-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"