summaryrefslogtreecommitdiff
path: root/devel/boaconstructor
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 17:45:33 +0000
committerjlam <jlam>2008-03-03 17:45:33 +0000
commit7a1142123798f48c48fc2d1fe38690a6b94d1df7 (patch)
tree620d08cc8bf79f9bacb7746632192670c7d6350d /devel/boaconstructor
parente629efdae96bb93a089e74409a36149a86e10f81 (diff)
downloadpkgsrc-7a1142123798f48c48fc2d1fe38690a6b94d1df7.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/boaconstructor')
-rw-r--r--devel/boaconstructor/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/devel/boaconstructor/Makefile b/devel/boaconstructor/Makefile
index f990062eda1..779f315d61f 100644
--- a/devel/boaconstructor/Makefile
+++ b/devel/boaconstructor/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/04/17 13:46:20 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/03 17:45:34 jlam Exp $
#
VERSION= 0.4.4
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://boa-constructor.sourceforge.net/
COMMENT= Python IDE
+PKG_DESTDIR_SUPPORT= user-destdir
+
EXTRACT_OPTS_ZIP= -aqo
PYTHON_VERSIONS_ACCEPTED= 23 24
@@ -29,10 +31,10 @@ do-build:
${SED} ${SEDSUBST} <${FILESDIR}/Boa.sh >${WRKDIR}/Boa
do-install:
- ${MKDIR} ${BOADIR}
- cd ${WRKSRC} && ${PAX} -rw . ${BOADIR}
- ${CHMOD} -R go-w ${BOADIR}
- ${INSTALL_SCRIPT} ${WRKDIR}/Boa ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BOADIR}
+ cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${BOADIR}
+ ${CHMOD} -R go-w ${DESTDIR}${BOADIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/Boa ${DESTDIR}${PREFIX}/bin
.include "../../lang/python/application.mk"
.include "../../x11/py-wxWidgets/buildlink3.mk"