summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2015-08-10 10:04:44 +0000
committerasau <asau@pkgsrc.org>2015-08-10 10:04:44 +0000
commite29de0dc50274ba0cb7a3eae58c54278aac1bbc9 (patch)
treebb02fdba9d639e068d2a828d4031910996850170 /devel
parent76548a12b59355206cf4ae3259c77469e94f78b8 (diff)
downloadpkgsrc-e29de0dc50274ba0cb7a3eae58c54278aac1bbc9.tar.gz
Replace interpreters in perl and python scripts (introduces dependency on python).
Diffstat (limited to 'devel')
-rw-r--r--devel/netbeans-ide/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/netbeans-ide/Makefile b/devel/netbeans-ide/Makefile
index fb76b5cfb97..f3b6bcb78bb 100644
--- a/devel/netbeans-ide/Makefile
+++ b/devel/netbeans-ide/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.15 2015/07/11 19:21:13 asau Exp $
+# $NetBSD: Makefile,v 1.16 2015/08/10 10:04:44 asau Exp $
#
DISTNAME= netbeans-8.0.2-201411181905
PKGNAME= netbeans-ide-8.0.2
+PKGREVISION= 1
CATEGORIES= editors
MASTER_SITES= http://download.netbeans.org/netbeans/8.0.2/final/zip/
EXTRACT_SUFX= .zip
@@ -14,10 +15,15 @@ COMMENT= NetBeans Java IDE
USE_TOOLS+= pax
USE_JAVA= run
PKG_JVMS_ACCEPTED= sun-jdk15 sun-jdk6 sun-jdk7 openjdk7 openjdk8
-NO_CONFIGURE= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/netbeans
+USE_TOOLS+= perl:run
+REPLACE_PERL= extide/ant/bin/antRun.pl \
+ extide/ant/bin/complete-ant-cmd.pl \
+ extide/ant/bin/runant.pl
+REPLACE_PYTHON= extide/ant/bin/runant.py
+
SHAREDIR= ${PREFIX}/share/${PKGBASE}
DOCDIR= ${PREFIX}/share/doc/html/${PKGBASE}
@@ -33,5 +39,6 @@ do-install:
cd ${WRKSRC} && pax -rwpm * ${DESTDIR}${SHAREDIR}
${LN} -sf ${SHAREDIR}/bin/netbeans ${DESTDIR}${PREFIX}/bin/netbeans
+.include "../../lang/python/application.mk"
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"