summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2003-08-05 00:32:28 +0000
committerBrandon Low <lostlogic@gentoo.org>2003-08-05 00:32:28 +0000
commit35d33080976fc657bd63d8cd6ee2574da18b2ee3 (patch)
tree28d4f778f99cd62f0a56457507dd2e8ce5c17e32 /dev-util/netbeans
parentBump (diff)
downloadhistorical-35d33080976fc657bd63d8cd6ee2574da18b2ee3.tar.gz
historical-35d33080976fc657bd63d8cd6ee2574da18b2ee3.tar.bz2
historical-35d33080976fc657bd63d8cd6ee2574da18b2ee3.zip
Bump
Diffstat (limited to 'dev-util/netbeans')
-rw-r--r--dev-util/netbeans/Manifest4
-rw-r--r--dev-util/netbeans/files/digest-netbeans-3.5.11
-rw-r--r--dev-util/netbeans/netbeans-3.5.1.ebuild98
3 files changed, 101 insertions, 2 deletions
diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest
index 6ac34c4ab17d..963a1542a1bc 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -1,9 +1,9 @@
MD5 367eeb577c423abcac49ada636644942 netbeans-3.4.ebuild 3371
MD5 1e213ec8022fef751f185b96b3b983de netbeans-3.4.1.ebuild 3237
MD5 98ee70371891df75282e3cd8b8d50053 netbeans-3.5.ebuild 3192
-MD5 635af9f5b8db6fb3d349febde50c5b0c netbeans-3.5.1.ebuild 3197
+MD5 53d32523d18fb4f090e197dea12b56c4 netbeans-3.5.1.ebuild 3199
MD5 261c9b24dd0c354adbd1e7b41e7b2040 netbeans-3.3.2.ebuild 2355
-MD5 a88e34ba83971d96a31d49b2e2bcc511 ChangeLog 2642
+MD5 8bb7d66c2811e2d6416a885200caa5ce ChangeLog 2754
MD5 9c6f59bb154bdcd7242f4544b8feae6b files/netbeans-KDE.desktop 139
MD5 21a78956bac04c98135ba5707b98da66 files/netbeans.png 2163
MD5 d83c7003fb3386b304ff7cb5fe7d5e87 files/digest-netbeans-3.4 76
diff --git a/dev-util/netbeans/files/digest-netbeans-3.5.1 b/dev-util/netbeans/files/digest-netbeans-3.5.1
new file mode 100644
index 000000000000..a7bce360b824
--- /dev/null
+++ b/dev-util/netbeans/files/digest-netbeans-3.5.1
@@ -0,0 +1 @@
+MD5 25d4bdc431dcd5a229082f716a35768c NetBeansIDE-release351.tar.bz2 24379869
diff --git a/dev-util/netbeans/netbeans-3.5.1.ebuild b/dev-util/netbeans/netbeans-3.5.1.ebuild
new file mode 100644
index 000000000000..cdd0be6c2e41
--- /dev/null
+++ b/dev-util/netbeans/netbeans-3.5.1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-3.5.1.ebuild,v 1.1 2003/08/05 00:32:25 lostlogic Exp $
+
+IUSE="kde gnome"
+
+MY_BUILD=200307252${PV//.}
+MY_P=NetBeansIDE-release${PV//.}
+S=${WORKDIR}/${PN}
+DESCRIPTION="NetBeans ${PV} IDE for Java"
+SRC_URI="http://www.netbeans.org/download/release${PV//.}/night/build${MY_BUILD}/${MY_P}.tar.bz2"
+HOMEPAGE="http://www.netbeans.org"
+
+SLOT="0"
+LICENSE="GPL-2 Apache-1.1 sun-bcla-j2ee JPython SPL"
+KEYWORDS="~x86 ~sparc ~alpha ~ppc"
+#still need to add JPython, Sun Public and DynamicJava licenses
+#sun-j2ee actually contains Sun Binary Code license
+#will have to be renamed and containing it ebuilds updated at spome point..
+
+DEPEND=">=virtual/jdk-1.3
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+
+ # fix jdkhome references
+ cd ${S}/bin
+ # runide.sh
+ sed -i -e 's:^jdkhome="":jdkhome="`java-config --jdk-home`":' \
+ runide.sh
+}
+
+src_install() {
+ # remove non-x86 Linux binaries
+ rm -f ${S}/bin/runide*.exe ${S}/bin/rmid_wrapper.exe
+ rm -f ${S}/bin/runide_exe_defaults
+ rm -f ${S}/bin/runide*.com
+ rm -f ${S}/bin/runideos2.cmd
+ rm -f ${S}/bin/fastjavac/fastjavac.exe
+ rm -f ${S}/bin/fastjavac/fastjavac.sun
+ rm -f ${S}/bin/fastjavac/fastjavac.sun.intel
+ rm -f ${S}/bin/unsupported/*.bat
+
+ # Remove MacOS X Binaries? This doesn't necessarily make
+ # sense because MacOS X could live happily beside Gentoo.
+ rm -f ${S}/bin/macosx_launcher.dmg
+
+ dodir /opt/${P}
+ dodoc build_info
+ dohtml CHANGES.html CREDITS.html README.html netbeans.css
+ # note: docs/ are docs used internally by the IDE
+ cp -Rdp beans bin \
+ docs lib \
+ modules sources \
+ system tomcat406 \
+ update_tracking ${D}/opt/${P}
+ keepdir /opt/${P}/lib/patches \
+ /opt/${P}/modules \
+ /opt/netbeans-3.5/tomcat406/server/classes \
+ /opt/netbeans-3.5/tomcat406/classes \
+ /opt/netbeans-3.5/modules/ext/locale
+ dodir /usr/bin
+ dosym /opt/${P}/bin/runide.sh /usr/bin/netbeans
+
+ # If either Gnome or KDE are installed, then install the icons.
+ if [ "`use gnome || use kde`" ] ; then
+ echo "Adding icons...."
+ insinto /usr/share/pixmaps
+ doins ${FILESDIR}/netbeans.png
+ fi
+
+ # If Gnome is installed, then copy in the desktop entry.
+ if [ "`use gnome`" ] ; then
+ einfo "Adding Gnome support...."
+ insinto /usr/share/gnome/apps/Development
+ doins ${FILESDIR}/netbeans.desktop
+ echo "Exec=/opt/${P}/bin/runide.sh" >> ${D}/usr/share/gnome/apps/Development/netbeans.desktop
+ echo >> ${D}/usr/share/gnome/apps/Development/netbeans.desktop
+ fi
+
+ # If KDE is installed, the copy in the menu entry to the
+ # "Development" menu.
+ # Unfortunately, the file doesn't contain any internationalized
+ # text at the moment.
+ if [ "`use kde`" ] ; then
+ einfo "Adding KDE support...."
+ DESKTOP_FILE=netbeans-KDE.desktop
+ DESKTOP_DIR=${KDEDIR}/share/applnk/Development
+ DESKTOP=${DESKTOP_DIR}/${DESKTOP_FILE}
+ insinto ${DESKTOP_DIR}
+ doins ${FILESDIR}/${DESKTOP_FILE}
+ echo "Name=NetBeans ${PV}" >> ${D}/${DESKTOP}
+ echo "Exec=/usr/bin/netbeans" >> ${D}/${DESKTOP}
+ echo "Icon=/usr/share/pixmaps/netbeans.png" >> ${D}/${DESKTOP}
+ echo >> ${D}/${DESKTOP}
+ fi
+}