mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
Update netbeans to 10.0.
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
This commit is contained in:
parent
ad884521f7
commit
ca13b006a9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488794
@ -2,54 +2,53 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= netbeans
|
||||
PORTVERSION= 8.2
|
||||
DISTVERSION= 10.0
|
||||
CATEGORIES= java devel
|
||||
MASTER_SITES= http://download.netbeans.org/netbeans/${PORTVERSION}/final/zip/ \
|
||||
http://dlc.sun.com.edgesuite.net/netbeans/${PORTVERSION}/final/zip/
|
||||
DISTNAME= netbeans-${PORTVERSION}-201609300101
|
||||
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 (unstable version)
|
||||
COMMENT= Modular, standards-based integrated development environment
|
||||
|
||||
LICENSE= CDDL GPLv2
|
||||
LICENSE_COMB= dual
|
||||
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
|
||||
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.8
|
||||
NO_BUILD= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/netbeans
|
||||
DATADIR= ${PREFIX}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
||||
|
||||
DESKTOP_ENTRIES="NetBeans" \
|
||||
"NetBeans IDE" \
|
||||
DESKTOP_ENTRIES="Apache NetBeans" \
|
||||
"Apache NetBeans IDE (incubating)" \
|
||||
${DATADIR}/nb/netbeans.png \
|
||||
${PORTNAME}-${PORTVERSION} \
|
||||
"Development;" \
|
||||
false
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -i "" -e '57s|#||;57s|/path/to/jdk|${JAVA_HOME}|' \
|
||||
@${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}
|
||||
${CHMOD} ${BINMODE} ${STAGEDIR}${DATADIR}/bin/netbeans
|
||||
${LN} -sf ${DATADIR}/bin/netbeans ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
${FIND} ${STAGEDIR}${DATADIR} -type f -ipath "*/bin/*" | ${XARGS} ${CHMOD} ${BINMODE}
|
||||
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>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1503582610
|
||||
SHA256 (netbeans-8.2-201609300101.zip) = ad9888334b9a6c1f1138dcb2eccc8ce4921463e871e46def4ecc617538160948
|
||||
SIZE (netbeans-8.2-201609300101.zip) = 351110790
|
||||
TIMESTAMP = 1545827013
|
||||
SHA256 (incubating-netbeans-10.0-bin.zip) = efb9175e9a4f773d77b1072f796259ba0b46e11e3f4277b1c52f6e95263a9242
|
||||
SIZE (incubating-netbeans-10.0-bin.zip) = 189738071
|
||||
|
@ -1,22 +1,23 @@
|
||||
--- bin/netbeans.orig 2014-03-10 17:32:04.000000000 +0100
|
||||
+++ bin/netbeans 2014-04-11 09:48:06.000000000 +0200
|
||||
@@ -152,7 +152,7 @@
|
||||
heap_size () {
|
||||
mem=640
|
||||
case "`uname`" in
|
||||
- Linux*)
|
||||
+ Linux*)
|
||||
mem=`cat /proc/meminfo | grep MemTotal | tr -d [:space:][:alpha:]:`
|
||||
mem=`expr $mem / 1024`
|
||||
;;
|
||||
@@ -163,6 +163,10 @@
|
||||
--- bin/netbeans.orig 2018-12-17 03:32:36 UTC
|
||||
+++ bin/netbeans
|
||||
@@ -136,7 +136,11 @@ heap_size () {
|
||||
mem=`/usr/sbin/sysctl hw.memsize | tr -d [:alpha:][:space:].:`
|
||||
mem=`expr $mem / 1048576`
|
||||
;;
|
||||
- *)
|
||||
+ FreeBSD*)
|
||||
+ mem=`/sbin/sysctl -n hw.realmem`
|
||||
+ mem=`expr $mem / 1048576`
|
||||
+ ;;
|
||||
*)
|
||||
+ ;;
|
||||
+ *)
|
||||
;;
|
||||
esac
|
||||
if [ -z "$mem" ] ; then
|
||||
@@ -204,6 +208,7 @@ case "`uname`" in
|
||||
--jdkhome '"$netbeans_jdkhome"' \
|
||||
--branding nb \
|
||||
--clusters '"$netbeans_clusters"' \
|
||||
+ -J-Dawt.useSystemAAFontSettings=on \
|
||||
-J-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade \
|
||||
${netbeans_default_options} \
|
||||
'"$@"'
|
||||
|
@ -1,7 +1,9 @@
|
||||
Apache NetBeans
|
||||
|
||||
The NetBeans IDE is a world-class development environment written
|
||||
in Java. It can be used to develop code in Java, HTML, XML, JSP,
|
||||
C/C++ and other languages. The IDE is modular, and there is a huge
|
||||
variety of commercial and free extensions to it to support various
|
||||
technologies.
|
||||
|
||||
WWW: http://www.netbeans.org/
|
||||
WWW: https://netbeans.apache.org/
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user