summaryrefslogtreecommitdiff
path: root/editors/rox-edit/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 18:25:52 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 18:25:52 +0000
commit80c7fb273d8e710ea174cde389ccea199e8a754b (patch)
tree94991d2182e36c43f4a6dac0f35a6023230a4d45 /editors/rox-edit/Makefile
parent38c8b857b2a15de072b4fa8baf0650634b5be996 (diff)
downloadpkgsrc-80c7fb273d8e710ea174cde389ccea199e8a754b.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'editors/rox-edit/Makefile')
-rw-r--r--editors/rox-edit/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/editors/rox-edit/Makefile b/editors/rox-edit/Makefile
index 17fb064fe95..0ee89ce4f2f 100644
--- a/editors/rox-edit/Makefile
+++ b/editors/rox-edit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2006/02/05 23:08:57 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/03 18:25:53 jlam Exp $
#
DISTNAME= edit-2.0
@@ -14,6 +14,8 @@ COMMENT= Simple text editor for ROX
DEPENDS+= rox-lib>=2.0.2nb2:../../devel/rox-lib
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${DISTNAME}/Edit
DIST_SUBDIR= rox
@@ -34,7 +36,7 @@ post-patch:
@${RM} -f ${WRKSRC}/.cvsignore
do-install:
- cd ${WRKSRC} && ${PAX} -rw . ${PREFIX}/share/rox/Edit
+ cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${PREFIX}/share/rox/Edit
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"