diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/netbeans/ChangeLog | 11 | ||||
-rw-r--r-- | dev-util/netbeans/files/digest-netbeans-3.3.1 | 1 | ||||
-rw-r--r-- | dev-util/netbeans/files/netbeans.desktop | 7 | ||||
-rw-r--r-- | dev-util/netbeans/files/netbeans.png | bin | 0 -> 1726 bytes | |||
-rw-r--r-- | dev-util/netbeans/netbeans-3.3.1.ebuild | 62 |
5 files changed, 81 insertions, 0 deletions
diff --git a/dev-util/netbeans/ChangeLog b/dev-util/netbeans/ChangeLog new file mode 100644 index 000000000000..52aa24af674f --- /dev/null +++ b/dev-util/netbeans/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/netbeans +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.1 2002/02/05 18:39:01 karltk Exp $ + +*netbeans-3.3.1 ( 5 Feb 2002 ) + + 5 Feb 2002; Karl Trygve Kalleberg <karltk@gentoo.org> netbeans-3.3.1.ebuild, files/digest-3.3.1 + + NetBeans is an Open Source Java IDE. + + Ebuild contributed by Matthew Kennedy diff --git a/dev-util/netbeans/files/digest-netbeans-3.3.1 b/dev-util/netbeans/files/digest-netbeans-3.3.1 new file mode 100644 index 000000000000..662ad19d84f6 --- /dev/null +++ b/dev-util/netbeans/files/digest-netbeans-3.3.1 @@ -0,0 +1 @@ +MD5 83561da59ec821e75b70b53016d036c3 NetBeansIDE-release331.tar.gz 16101376 diff --git a/dev-util/netbeans/files/netbeans.desktop b/dev-util/netbeans/files/netbeans.desktop new file mode 100644 index 000000000000..c6ab5f619cb0 --- /dev/null +++ b/dev-util/netbeans/files/netbeans.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Netbeans IDE +Comment=IDE for Java +Exec=netbeans +Icon=netbeans.png +Terminal=0 +Type=Application diff --git a/dev-util/netbeans/files/netbeans.png b/dev-util/netbeans/files/netbeans.png Binary files differnew file mode 100644 index 000000000000..2e4933098fc6 --- /dev/null +++ b/dev-util/netbeans/files/netbeans.png diff --git a/dev-util/netbeans/netbeans-3.3.1.ebuild b/dev-util/netbeans/netbeans-3.3.1.ebuild new file mode 100644 index 000000000000..d3727f964eeb --- /dev/null +++ b/dev-util/netbeans/netbeans-3.3.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Tools Team <tools@gentoo.org> +# Author: Matthew Kennedy <mbkennedy@ieee.org> +# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-3.3.1.ebuild,v 1.1 2002/02/05 18:39:01 karltk Exp $ + +A=NetBeansIDE-release331.tar.gz +S=${WORKDIR}/netbeans +DESCRIPTION="Netbeans ${PV} IDE for Java" +SRC_URI="http://www.netbeans.org/download/release33/night/build200202011224/${A}" +HOMEPAGE="http://www.netbeans.org" + +RDEPEND=">=virtual/jdk-1.3" + +src_unpack() { + unpack ${A} + + # fix jdkhome references + cd ${S}/bin + # rmid_wrapper.sh + cp rmid_wrapper.sh rmid_wrapper.sh.orig + sed -e 's:^jdkhome="":jdkhome="`java-config --jdk-home`":' \ + rmid_wrapper.sh.orig >rmid_wrapper.sh + rm -f rmid_wrapper.sh.orig + # runide.sh + cp runide.sh runide.sh.orig + sed -e 's:^jdkhome="":jdkhome="`java-config --jdk-home`":' \ + runide.sh.orig >runide.sh + rm -f runide.sh.orig + +} + +src_install() { + # remove non-x86 Linux binaries + rm -f ${S}/bin/runide*.exe ${S}/bin/rmid_wrapper.exe + 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 + 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 ${D}/opt/${P} + + # This is a binary-only package. It will only live in /opt -- karltk + # dodir /usr/bin + # dosym /opt/${P}/bin/runide.sh /usr/bin/netbeans + # dosym /opt/${P}/bin/rmid_wrapper.sh /usr/bin/rmid_wrapper + # dosym /opt/${P}/bin/unsupported/nbscript.sh /usr/bin/nbscript + + # install icon and desktop entry for gnome + if [ "`use gnome`" ] ; then + insinto /usr/share/pixmaps + doins ${FILESDIR}/netbeans.png + insinto /usr/share/gnome/apps/Development + doins ${FILESDIR}/netbeans.desktop + fi +} + |