This is the second release of Apache Netbeans (incubating). The first release (9.0) was skipped because it only included java support. This version should support most if not all of the project types the older netbeans 8.2 did. PR: 230420
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# Created by: olgeni@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= netbeans
|
|
DISTVERSION= 10.0
|
|
CATEGORIES= java devel
|
|
MASTER_SITES= APACHE/incubator/netbeans/incubating-netbeans/incubating-${PORTVERSION}/
|
|
DISTNAME= incubating-netbeans-${DISTVERSION}-bin
|
|
|
|
MAINTAINER= kwm@FreeBSD.org
|
|
COMMENT= Modular, standards-based integrated development environment
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= shebangfix zip
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.8+
|
|
NO_BUILD= yes
|
|
|
|
SHEBANG_FILES= extide/ant/bin/antRun.pl \
|
|
extide/ant/bin/complete-ant-cmd.pl \
|
|
extide/ant/bin/runant.pl \
|
|
extide/ant/bin/runant.py
|
|
|
|
perl_OLD_CMD= /usr/bin/perl
|
|
perl_CMD= ${LOCALBASE}/bin/perl
|
|
python_OLD_CMD= /usr/bin/python
|
|
python_CMD= ${LOCALBASE}/bin/python2.7
|
|
|
|
WRKSRC= ${WRKDIR}/netbeans
|
|
DATADIR= ${PREFIX}/${PORTNAME}-${PORTVERSION}
|
|
|
|
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
|
|
|
DESKTOP_ENTRIES="Apache NetBeans" \
|
|
"Apache NetBeans IDE (incubating)" \
|
|
${DATADIR}/nb/netbeans.png \
|
|
${PORTNAME}-${PORTVERSION} \
|
|
"Development;" \
|
|
false
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -i '' -e '80s|#||;80s|/path/to/jdk|${JAVA_HOME}|' \
|
|
${WRKSRC}/etc/netbeans.conf
|
|
@${FIND} ${WRKSRC} -name "*.orig" -delete
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}
|
|
cd ${STAGEDIR}${PREFIX} && ${LN} -sf ${DATADIR}/bin/netbeans bin/${PORTNAME}-${PORTVERSION}
|
|
${RM} -rf ${STAGEDIR}${DATADIR}/profiler/lib/deployed/jdk16/linux-arm*
|
|
|
|
.include <bsd.port.mk>
|