diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2002-09-15 21:52:57 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2002-09-15 21:52:57 +0000 |
commit | 26bcb425569b67382cf2fa7da472edb6789d4aee (patch) | |
tree | 056ec1d759338525a82936b1552357f91e9b0da0 /dev-util/netbeans | |
parent | new version (diff) | |
download | historical-26bcb425569b67382cf2fa7da472edb6789d4aee.tar.gz historical-26bcb425569b67382cf2fa7da472edb6789d4aee.tar.bz2 historical-26bcb425569b67382cf2fa7da472edb6789d4aee.zip |
resolves bug 7119
Diffstat (limited to 'dev-util/netbeans')
-rw-r--r-- | dev-util/netbeans/ChangeLog | 11 | ||||
-rw-r--r-- | dev-util/netbeans/files/digest-netbeans-3.4 | 1 | ||||
-rw-r--r-- | dev-util/netbeans/files/netbeans-KDE.desktop | 9 | ||||
-rw-r--r-- | dev-util/netbeans/files/netbeans.png | bin | 1726 -> 2163 bytes | |||
-rw-r--r-- | dev-util/netbeans/netbeans-3.4.ebuild | 98 |
5 files changed, 118 insertions, 1 deletions
diff --git a/dev-util/netbeans/ChangeLog b/dev-util/netbeans/ChangeLog index 2a6fbe2e7586..6041dbcdb734 100644 --- a/dev-util/netbeans/ChangeLog +++ b/dev-util/netbeans/ChangeLog @@ -1,6 +1,15 @@ # 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.3 2002/06/29 06:08:55 george Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.4 2002/09/15 21:52:57 mkennedy Exp $ + +*netbeans-3.4.ebuild (14 Sep 2002) + + 14 Sep 2002; Matthew Kennedy <mkennedy@gentoo.org> + netbeans-3.4.ebuild, files/digest-netbeans-3.4 : + + New major release. Resolves bug 7199 and 7017. Updated ebuild + contributed by Douglas Pollock <desudation@yahoo.ca>. Added support + for KDE menus. Updated desktop icon to new dark blue logo. *netbeans-3.3.2.ebuild ( 28 Jun 2002 ) diff --git a/dev-util/netbeans/files/digest-netbeans-3.4 b/dev-util/netbeans/files/digest-netbeans-3.4 new file mode 100644 index 000000000000..5b45ba39e161 --- /dev/null +++ b/dev-util/netbeans/files/digest-netbeans-3.4 @@ -0,0 +1 @@ +MD5 60e03aee1eddc7d7ecc657f998c58740 NetBeansIDE-release34.tar.bz2 21508533 diff --git a/dev-util/netbeans/files/netbeans-KDE.desktop b/dev-util/netbeans/files/netbeans-KDE.desktop new file mode 100644 index 000000000000..c45044cf41c9 --- /dev/null +++ b/dev-util/netbeans/files/netbeans-KDE.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +GenericName=Java IDE +X-KDE-StartupNotify=true +MimeType=application/x-java +Terminal=false +Type=Application + + diff --git a/dev-util/netbeans/files/netbeans.png b/dev-util/netbeans/files/netbeans.png Binary files differindex 2e4933098fc6..b4dcb7fe477d 100644 --- a/dev-util/netbeans/files/netbeans.png +++ b/dev-util/netbeans/files/netbeans.png diff --git a/dev-util/netbeans/netbeans-3.4.ebuild b/dev-util/netbeans/netbeans-3.4.ebuild new file mode 100644 index 000000000000..a91771595059 --- /dev/null +++ b/dev-util/netbeans/netbeans-3.4.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-3.4.ebuild,v 1.1 2002/09/15 21:52:57 mkennedy Exp $ + +MY_BUILD=200208222340 +MY_P=NetBeansIDE-release34 +S=${WORKDIR}/${PN} +DESCRIPTION="NetBeans ${PV} IDE for Java" +SRC_URI="http://www.netbeans.org/download/release34/night/build${MY_BUILD}/${MY_P}.tar.bz2" +HOMEPAGE="http://www.netbeans.org" + +SLOT="0" +LICENSE="GPL-2 Apache-1.1 sun-bcla JPython SPL" +KEYWORDS="x86 sparc sparc64" +#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" +RDEPEND="${DEPEND}" + +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_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 ${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 + + # 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=/opt/${P}/bin/runide.sh" >> ${D}/${DESKTOP} + echo "Icon=/usr/share/pixmaps/netbeans.png" >> ${D}/${DESKTOP} + echo >> ${D}/${DESKTOP} + fi +} |