aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-10-03 05:43:35 +0800
committerbapt <bapt@FreeBSD.org>2013-10-03 05:43:35 +0800
commit62917a9652150a19d537962c3b7f90c7f39c1b32 (patch)
tree64e2dc112c20feee0813f6ffde08b72204c67c97 /java
parent559edc6a6ddbec59e2923264ca65f6ce32826485 (diff)
downloadfreebsd-ports-graphics-62917a9652150a19d537962c3b7f90c7f39c1b32.tar.gz
freebsd-ports-graphics-62917a9652150a19d537962c3b7f90c7f39c1b32.tar.zst
freebsd-ports-graphics-62917a9652150a19d537962c3b7f90c7f39c1b32.zip
Removed older version of netbeans, they are unsupported upstream and their package name conflicts with java/netbeans
Diffstat (limited to 'java')
-rw-r--r--java/Makefile2
-rw-r--r--java/netbeans55/Makefile49
-rw-r--r--java/netbeans55/distinfo2
-rw-r--r--java/netbeans55/files/patch-etc_netbeans.conf14
-rw-r--r--java/netbeans55/files/pkg-deinstall.in9
-rw-r--r--java/netbeans55/files/pkg-install.in9
-rw-r--r--java/netbeans55/pkg-descr7
-rw-r--r--java/netbeans61/Makefile46
-rw-r--r--java/netbeans61/distinfo2
-rw-r--r--java/netbeans61/files/patch-bin_netbeans16
-rw-r--r--java/netbeans61/files/patch-etc_netbeans.conf14
-rw-r--r--java/netbeans61/files/patch-harness_run.xml14
-rw-r--r--java/netbeans61/files/patch-platform8_lib_nbexec56
-rw-r--r--java/netbeans61/files/pkg-deinstall.in9
-rw-r--r--java/netbeans61/files/pkg-install.in9
-rw-r--r--java/netbeans61/pkg-descr7
16 files changed, 0 insertions, 265 deletions
diff --git a/java/Makefile b/java/Makefile
index 96a4c6d87e9..13ee5086046 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -122,8 +122,6 @@
SUBDIR += mx4j
SUBDIR += netbeans
SUBDIR += netbeans-devel
- SUBDIR += netbeans55
- SUBDIR += netbeans61
SUBDIR += netcomponents
SUBDIR += netrexx
SUBDIR += netty
diff --git a/java/netbeans55/Makefile b/java/netbeans55/Makefile
deleted file mode 100644
index c07bdc868bb..00000000000
--- a/java/netbeans55/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-# Created by: Nemo Liu <nemoliu@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= netbeans55
-PORTVERSION= 5.5.1
-PORTREVISION= 1
-CATEGORIES= java devel
-MASTER_SITES= http://dlc.sun.com.edgesuite.net/netbeans/download/5_5_1/fcs/200704122300/
-DISTNAME= netbeans-5_5_1
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A free and open-source IDE for Java
-
-USE_BZIP2= yes
-USE_JAVA= yes
-JAVA_VERSION= 1.6+
-NO_BUILD= yes
-RESTRICTED= Restrictive license
-
-WRKSRC= ${WRKDIR}/netbeans
-
-SUB_FILES= pkg-install pkg-deinstall
-
-#DOWNLOAD_URL?= http://www.netbeans.info/downloads/index.php
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-#.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
-#IGNORE= you must manually fetch the source distribution (${DISTFILES}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
-#.endif
-
-post-patch:
- @${RM} ${WRKSRC}/etc/netbeans.conf.orig
-
-do-configure:
- @${REINPLACE_CMD} 's|%%JAVA_HOME%%|${JAVA_HOME}|' ${WRKSRC}/etc/netbeans.conf
- @${RM} ${WRKSRC}/etc/netbeans.conf.bak
-
-do-install:
- @${MKDIR} ${PREFIX}/netbeans55
- @${CP} -r ${WRKSRC}/* ${PREFIX}/netbeans55
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/netbeans55
- @${LN} -sf ${PREFIX}/netbeans55/bin/netbeans ${PREFIX}/bin/netbeans55
- @(cd ${WRKDIR}; ${FIND} -s netbeans -not -type d) | ${SED} -ne 's,^netbeans,netbeans55,p' >> ${TMPPLIST}
- @(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d) | ${SED} -ne 's,^netbeans,netbeans55,' -ne 's,^,@dirrm ,p' >> ${TMPPLIST}
- @(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d -empty) | ${SED} -ne 's,^netbeans,netbeans55,' -ne 's,^,@exec ${MKDIR} %D/,p' >> ${TMPPLIST}
-
-.include <bsd.port.post.mk>
diff --git a/java/netbeans55/distinfo b/java/netbeans55/distinfo
deleted file mode 100644
index 08941d969a6..00000000000
--- a/java/netbeans55/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (netbeans-5_5_1.tar.bz2) = 1b3feec11bbcec7c8a5842010cb37f6b226a132fa1eed390aca439cb71cd3c84
-SIZE (netbeans-5_5_1.tar.bz2) = 81066957
diff --git a/java/netbeans55/files/patch-etc_netbeans.conf b/java/netbeans55/files/patch-etc_netbeans.conf
deleted file mode 100644
index 402b5a82a20..00000000000
--- a/java/netbeans55/files/patch-etc_netbeans.conf
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- etc/netbeans.conf.orig
-+++ etc/netbeans.conf
-@@ -6,7 +6,7 @@
- netbeans_default_options="-J-Xms32m -J-Xmx128m -J-XX:PermSize=32m -J-XX:MaxPermSize=96m -J-Xverify:none"
-
- # default location of J2SE JDK, can be overridden by using --jdkhome <dir> switch
--#netbeans_jdkhome="/path/to/jdk"
-+netbeans_jdkhome="%%JAVA_HOME%%"
-
- # clusters' paths separated by path.separator (semicolon on Windows, colon on Unices)
- #netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2"
diff --git a/java/netbeans55/files/pkg-deinstall.in b/java/netbeans55/files/pkg-deinstall.in
deleted file mode 100644
index 8e282857c34..00000000000
--- a/java/netbeans55/files/pkg-deinstall.in
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-case "$2" in
- DEINSTALL)
- rm -f %%PREFIX%%/bin/netbeans55
- ;;
-esac
-
-exit 0
diff --git a/java/netbeans55/files/pkg-install.in b/java/netbeans55/files/pkg-install.in
deleted file mode 100644
index 4f49e5cc984..00000000000
--- a/java/netbeans55/files/pkg-install.in
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-case "$2" in
- POST-INSTALL)
- ln -sf %%PREFIX%%/netbeans4/bin/netbeans %%PREFIX%%/bin/netbeans55
- ;;
-esac
-
-exit 0
diff --git a/java/netbeans55/pkg-descr b/java/netbeans55/pkg-descr
deleted file mode 100644
index 3ffa48ebe54..00000000000
--- a/java/netbeans55/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-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/
diff --git a/java/netbeans61/Makefile b/java/netbeans61/Makefile
deleted file mode 100644
index 5c729be0a22..00000000000
--- a/java/netbeans61/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-# Created by: olgeni@FreeBSD.org
-# $FreeBSD$
-
-PORTNAME= netbeans
-PORTVERSION= 6.1
-PORTREVISION= 2
-CATEGORIES= java devel
-MASTER_SITES= http://dlc.sun.com.edgesuite.net/netbeans/6.1/final/zip/
-DISTNAME= netbeans-${PORTVERSION}-200805300101-ml
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A full-featured integrated environment for Java
-
-USE_ZIP= yes
-USE_JAVA= yes
-JAVA_VERSION= 1.6+
-NO_BUILD= yes
-NO_LATEST_LINK= yes
-
-WRKSRC= ${WRKDIR}/netbeans
-
-SUB_FILES= pkg-install pkg-deinstall
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-post-patch:
- @${RM} ${WRKSRC}/etc/netbeans.conf.orig
- @${REINPLACE_CMD} -e "s@%%GREP%%@${GREP}@" \
- -e "s@%%GCONFTOOL%%@${LOCALBASE}/bin/gconftool-2@" \
- ${WRKSRC}/platform8/lib/nbexec
-
-do-configure:
- @${REINPLACE_CMD} 's|%%JAVA_HOME%%|${JAVA_HOME}|' ${WRKSRC}/etc/netbeans.conf
- @${RM} ${WRKSRC}/etc/netbeans.conf.bak
-
-do-install:
- @${MKDIR} ${PREFIX}/netbeans
- @${CP} -r ${WRKSRC}/* ${PREFIX}/netbeans
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/netbeans
- @${LN} -sf ${PREFIX}/netbeans/bin/netbeans ${PREFIX}/bin/netbeans
- @(cd ${WRKDIR}; ${FIND} -s netbeans -not -type d) >> ${TMPPLIST}
- @(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d) | ${SED} -ne 's,^,@dirrm ,p' >> ${TMPPLIST}
- @(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d -empty) | ${SED} -ne 's,^,@exec mkdir -p %D/,p' >> ${TMPPLIST}
-
-.include <bsd.port.post.mk>
diff --git a/java/netbeans61/distinfo b/java/netbeans61/distinfo
deleted file mode 100644
index fac71138142..00000000000
--- a/java/netbeans61/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (netbeans-6.1-200805300101-ml.zip) = 961fcd385efb90d571b5ff1dff4454f2e2336cb066e9120065afab8e79e0be8f
-SIZE (netbeans-6.1-200805300101-ml.zip) = 196079547
diff --git a/java/netbeans61/files/patch-bin_netbeans b/java/netbeans61/files/patch-bin_netbeans
deleted file mode 100644
index a800a2ec93b..00000000000
--- a/java/netbeans61/files/patch-bin_netbeans
+++ /dev/null
@@ -1,16 +0,0 @@
-
-$FreeBSD$
-
---- bin/netbeans.orig
-+++ bin/netbeans
-@@ -132,6 +132,10 @@
- mem=`expr $mem / 1048576`
- cms_options=""
- ;;
-+ FreeBSD*)
-+ mem=`/sbin/sysctl hw.physmem | tr -d [:alpha:][:space:].:`
-+ mem=`expr $mem / 1048576`
-+ ;;
- *)
- ;;
- esac
diff --git a/java/netbeans61/files/patch-etc_netbeans.conf b/java/netbeans61/files/patch-etc_netbeans.conf
deleted file mode 100644
index 0a9da6ba5f2..00000000000
--- a/java/netbeans61/files/patch-etc_netbeans.conf
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- etc/netbeans.conf.orig
-+++ etc/netbeans.conf
-@@ -13,7 +13,7 @@
- # (see http://wiki.netbeans.org/wiki/view/FaqGCPauses)
-
- # Default location of JDK, can be overridden by using --jdkhome <dir>:
--#netbeans_jdkhome="/path/to/jdk"
-+netbeans_jdkhome="%%JAVA_HOME%%"
-
- # Additional module clusters, using ${path.separator} (';' on Windows or ':' on Unix):
- #netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2"
diff --git a/java/netbeans61/files/patch-harness_run.xml b/java/netbeans61/files/patch-harness_run.xml
deleted file mode 100644
index a36933f9b58..00000000000
--- a/java/netbeans61/files/patch-harness_run.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- harness/run.xml.orig
-+++ harness/run.xml
-@@ -151,7 +151,7 @@
- <arg line="${run.args}"/>
- <arg line="${run.args.extra}"/>
- </exec>
-- <exec os="Linux SunOS Solaris Mac OS X" dir="." executable="sh" failonerror="yes">
-+ <exec os="FreeBSD Linux SunOS Solaris Mac OS X" dir="." executable="sh" failonerror="yes">
- <arg value="${run.sh}"/>
- <arg value="--jdkhome"/>
- <arg file="${run.jdkhome}"/>
diff --git a/java/netbeans61/files/patch-platform8_lib_nbexec b/java/netbeans61/files/patch-platform8_lib_nbexec
deleted file mode 100644
index 1a60b4a90ae..00000000000
--- a/java/netbeans61/files/patch-platform8_lib_nbexec
+++ /dev/null
@@ -1,56 +0,0 @@
-
-$FreeBSD$
-
---- platform8/lib/nbexec.orig
-+++ platform8/lib/nbexec
-@@ -270,7 +270,7 @@
- # detect system http proxy setting
-
- detect_gnome_proxy () {
-- gconftool=/usr/bin/gconftool-2
-+ gconftool=%%GCONFTOOL%%
- if [ -x $gconftool ] ; then
- proxy_mode=`$gconftool --get /system/proxy/mode 2>/dev/null`
- if [ "$proxy_mode" = "manual" ] ; then
-@@ -299,18 +299,18 @@
- detect_kde_proxy () {
- kioslaverc="${HOME}/.kde/share/config/kioslaverc"
- if [ -f $kioslaverc ] ; then
-- if /bin/grep -q 'ProxyType=1' "$kioslaverc" ; then
-- http_proxy_tmp=`/bin/grep 'httpProxy=http://' "$kioslaverc"`
-+ if %%GREP%% -q 'ProxyType=1' "$kioslaverc" ; then
-+ http_proxy_tmp=`%%GREP%% 'httpProxy=http://' "$kioslaverc"`
- if [ $? ] ; then
- http_proxy_tmp=`echo $http_proxy_tmp | /bin/sed 's/httpProxy=http:\/\///'`
- return 0
- fi
-- http_non_proxy_hosts=`/bin/grep 'NoProxyFor=' "$kioslaverc"`
-+ http_non_proxy_hosts=`%%GREP%% 'NoProxyFor=' "$kioslaverc"`
- if [ $? ] ; then
- http_non_proxy_hosts=`echo $http_non_proxy_hosts | /bin/sed 's/NoProxyFor=//'`
- fi
- else
-- if /bin/grep -q 'ProxyType=0' "$kioslaverc" ; then
-+ if %%GREP%% -q 'ProxyType=0' "$kioslaverc" ; then
- http_proxy_tmp="DIRECT"
- return 0
- fi
-@@ -331,14 +331,14 @@
- close
- EOF
-
-- if /usr/bin/grep -q "ProxyAuto.*: *1" ${scutil_out} >/dev/null ; then
-+ if %%GREP%% -q "ProxyAuto.*: *1" ${scutil_out} >/dev/null ; then
- rm ${scutil_out}
- return 1
- fi
-
-- if /usr/bin/grep -q "HTTPEnable *: *1" ${scutil_out} ; then
-- http_proxy_host=`/usr/bin/grep HTTPProxy ${scutil_out} | /usr/bin/awk '{print $3}'`
-- http_proxy_port=`/usr/bin/grep HTTPPort ${scutil_out} | /usr/bin/awk '{print $3} '`
-+ if %%GREP%% -q "HTTPEnable *: *1" ${scutil_out} ; then
-+ http_proxy_host=`%%GREP%% HTTPProxy ${scutil_out} | /usr/bin/awk '{print $3}'`
-+ http_proxy_port=`%%GREP%% HTTPPort ${scutil_out} | /usr/bin/awk '{print $3} '`
- http_proxy_tmp=$http_proxy_host:$http_proxy_port
- rm ${scutil_out}
- return 0
diff --git a/java/netbeans61/files/pkg-deinstall.in b/java/netbeans61/files/pkg-deinstall.in
deleted file mode 100644
index 1bfa1036480..00000000000
--- a/java/netbeans61/files/pkg-deinstall.in
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-case "$2" in
- DEINSTALL)
- rm -f %%PREFIX%%/bin/netbeans
- ;;
-esac
-
-exit 0
diff --git a/java/netbeans61/files/pkg-install.in b/java/netbeans61/files/pkg-install.in
deleted file mode 100644
index e21a09d195d..00000000000
--- a/java/netbeans61/files/pkg-install.in
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-case "$2" in
- POST-INSTALL)
- ln -sf %%PREFIX%%/netbeans/bin/netbeans %%PREFIX%%/bin/netbeans
- ;;
-esac
-
-exit 0
diff --git a/java/netbeans61/pkg-descr b/java/netbeans61/pkg-descr
deleted file mode 100644
index 3ffa48ebe54..00000000000
--- a/java/netbeans61/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-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/