summaryrefslogtreecommitdiff
path: root/java/netbeans61/files
diff options
context:
space:
mode:
Diffstat (limited to 'java/netbeans61/files')
-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
6 files changed, 0 insertions, 118 deletions
diff --git a/java/netbeans61/files/patch-bin_netbeans b/java/netbeans61/files/patch-bin_netbeans
deleted file mode 100644
index a800a2ec93b2..000000000000
--- 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 0a9da6ba5f2a..000000000000
--- 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 a36933f9b58d..000000000000
--- 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 1a60b4a90ae2..000000000000
--- 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 1bfa10364807..000000000000
--- 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 e21a09d195d0..000000000000
--- 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