Howdy, I have attached netbeans-3.3.1.tar.gz which containe a .ebuild, 48x48 gnome desktop icon and gnome desktop entry for Netbeans. An icon is supplied in files/ because the .ico (Windows format) icon which comes with Netbeans by default is not supported by gnome (or other linux applications) very well. Netbeans is an open source IDE for java development. dev-util might be a good place to put this package (if accepted) since Anjuta, KDevelop and other developer tools already reside there. The only dependency for this packahe is >=virtual/jdk-1.3. Content of netbeans-3.3.1.tar.gz: dev-util/ dev-util/netbeans/ dev-util/netbeans/files/ dev-util/netbeans/files/netbeans.desktop dev-util/netbeans/files/netbeans.png dev-util/netbeans/netbeans-3.3.1.ebuild
Created attachment 120 [details] netbeans .ebuild, desktop icon and .desktop icon
Please accept my humble apologies and this updated netbeans-3.3.1-r1.ebuild. This -r1.ebuild fixes a problem where JDK_HOME variable was not available to netbeans when run from the gnome menus.
netbeans-3.3.1-r1.ebuild follows (bugs.gentoo.org didn't seem to want to take any more attachments from me?): -------------------- # Author Matthew Kennedy <mbkennedy@ieee.org> 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} 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 }