diff options
author | olgeni <olgeni@FreeBSD.org> | 2008-06-26 06:07:03 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2008-06-26 06:07:03 +0800 |
commit | 73fa1e29d4ecc0039c6a98942b72ac5de19f2a9b (patch) | |
tree | 8efc6ee16b959b0ddf932b1938c3a1eef40c1fb3 | |
parent | 58f4290559e173829a45876664eda08a21051d7b (diff) | |
download | freebsd-ports-gnome-73fa1e29d4ecc0039c6a98942b72ac5de19f2a9b.tar.gz freebsd-ports-gnome-73fa1e29d4ecc0039c6a98942b72ac5de19f2a9b.tar.zst freebsd-ports-gnome-73fa1e29d4ecc0039c6a98942b72ac5de19f2a9b.zip |
Unbreak and make fetchable again.
Implement memory detection in startup script.
Submitted by: Dr. A. Haakh <bugReporter(at)Haakh.de>
-rw-r--r-- | java/netbeans/Makefile | 6 | ||||
-rw-r--r-- | java/netbeans/distinfo | 6 | ||||
-rw-r--r-- | java/netbeans/files/patch-bin_netbeans | 16 | ||||
-rw-r--r-- | java/netbeans61/Makefile | 6 | ||||
-rw-r--r-- | java/netbeans61/distinfo | 6 | ||||
-rw-r--r-- | java/netbeans61/files/patch-bin_netbeans | 16 |
6 files changed, 42 insertions, 14 deletions
diff --git a/java/netbeans/Makefile b/java/netbeans/Makefile index aa207ab0e231..b5f001c48ec3 100644 --- a/java/netbeans/Makefile +++ b/java/netbeans/Makefile @@ -7,10 +7,10 @@ PORTNAME= netbeans PORTVERSION= 6.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= java devel MASTER_SITES= http://download.netbeans.org/netbeans/6.1/final/zip/ -DISTNAME= netbeans-${PORTVERSION}-200804211638 +DISTNAME= netbeans-${PORTVERSION}-200805300101-ml MAINTAINER= olgeni@FreeBSD.org COMMENT= A full-featured integrated environment for Java @@ -20,8 +20,6 @@ USE_JAVA= yes JAVA_VERSION= 1.5+ NO_BUILD= yes -BROKEN= Unfetchable - WRKSRC= ${WRKDIR}/netbeans SUB_FILES= pkg-install pkg-deinstall diff --git a/java/netbeans/distinfo b/java/netbeans/distinfo index 61cd264abbca..ce595d09f9c4 100644 --- a/java/netbeans/distinfo +++ b/java/netbeans/distinfo @@ -1,3 +1,3 @@ -MD5 (netbeans-6.1-200804211638.zip) = 614d18b34f20ced8d69f4dc1e046e6e3 -SHA256 (netbeans-6.1-200804211638.zip) = 740ebaf809cb95ddd409ae83bc8a247595e8852fcfd780efc6c17f9cb08570e1 -SIZE (netbeans-6.1-200804211638.zip) = 164020872 +MD5 (netbeans-6.1-200805300101-ml.zip) = e6f03cf7584250231507a2bd557029e5 +SHA256 (netbeans-6.1-200805300101-ml.zip) = 961fcd385efb90d571b5ff1dff4454f2e2336cb066e9120065afab8e79e0be8f +SIZE (netbeans-6.1-200805300101-ml.zip) = 196079547 diff --git a/java/netbeans/files/patch-bin_netbeans b/java/netbeans/files/patch-bin_netbeans new file mode 100644 index 000000000000..a800a2ec93b2 --- /dev/null +++ b/java/netbeans/files/patch-bin_netbeans @@ -0,0 +1,16 @@ + +$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/Makefile b/java/netbeans61/Makefile index aa207ab0e231..b5f001c48ec3 100644 --- a/java/netbeans61/Makefile +++ b/java/netbeans61/Makefile @@ -7,10 +7,10 @@ PORTNAME= netbeans PORTVERSION= 6.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= java devel MASTER_SITES= http://download.netbeans.org/netbeans/6.1/final/zip/ -DISTNAME= netbeans-${PORTVERSION}-200804211638 +DISTNAME= netbeans-${PORTVERSION}-200805300101-ml MAINTAINER= olgeni@FreeBSD.org COMMENT= A full-featured integrated environment for Java @@ -20,8 +20,6 @@ USE_JAVA= yes JAVA_VERSION= 1.5+ NO_BUILD= yes -BROKEN= Unfetchable - WRKSRC= ${WRKDIR}/netbeans SUB_FILES= pkg-install pkg-deinstall diff --git a/java/netbeans61/distinfo b/java/netbeans61/distinfo index 61cd264abbca..ce595d09f9c4 100644 --- a/java/netbeans61/distinfo +++ b/java/netbeans61/distinfo @@ -1,3 +1,3 @@ -MD5 (netbeans-6.1-200804211638.zip) = 614d18b34f20ced8d69f4dc1e046e6e3 -SHA256 (netbeans-6.1-200804211638.zip) = 740ebaf809cb95ddd409ae83bc8a247595e8852fcfd780efc6c17f9cb08570e1 -SIZE (netbeans-6.1-200804211638.zip) = 164020872 +MD5 (netbeans-6.1-200805300101-ml.zip) = e6f03cf7584250231507a2bd557029e5 +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 new file mode 100644 index 000000000000..a800a2ec93b2 --- /dev/null +++ b/java/netbeans61/files/patch-bin_netbeans @@ -0,0 +1,16 @@ + +$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 |