From d1f9f09c4c43094067365281314dbe8ba93504ab Mon Sep 17 00:00:00 2001 From: Brandon Low Date: Mon, 26 Apr 2004 22:13:25 +0000 Subject: Blah --- dev-util/netbeans/ChangeLog | 8 ++- dev-util/netbeans/Manifest | 24 ++++--- dev-util/netbeans/files/digest-netbeans-3.6-r1 | 1 + dev-util/netbeans/netbeans-3.6-r1.ebuild | 96 ++++++++++++++++++++++++++ 4 files changed, 117 insertions(+), 12 deletions(-) create mode 100644 dev-util/netbeans/files/digest-netbeans-3.6-r1 create mode 100644 dev-util/netbeans/netbeans-3.6-r1.ebuild diff --git a/dev-util/netbeans/ChangeLog b/dev-util/netbeans/ChangeLog index f03ab4da5e66..eb2b0f558af5 100644 --- a/dev-util/netbeans/ChangeLog +++ b/dev-util/netbeans/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/netbeans # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.17 2004/04/22 17:33:21 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.18 2004/04/26 22:13:25 lostlogic Exp $ + +*netbeans-3.6-r1 (26 Apr 2004) + + 26 Apr 2004; Brandon Low +netbeans-3.6-r1.ebuild: + Fix major bugs in ebuild wherein it was not installing important components of + netbeans *netbeans-3.6 (22 Apr 2004) diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest index 1f5fbb2bb993..fe4f96efa0d4 100644 --- a/dev-util/netbeans/Manifest +++ b/dev-util/netbeans/Manifest @@ -1,17 +1,19 @@ -MD5 77d9b370ffce48b911a14350b091fab5 ChangeLog 3165 -MD5 0bd5ed7678435369f349be79c0db6064 netbeans-3.3.2.ebuild 2355 -MD5 e70243e3617effa4dcb9b0ae9a7125ca netbeans-3.4.1.ebuild 3236 MD5 71c4ba83534772a89753437c27cf9762 netbeans-3.4.ebuild 3370 -MD5 82261238490700340c673adb0e5e1013 netbeans-3.5.1.ebuild 3202 -MD5 20677126509c89cf19b19a9086844848 netbeans-3.5.ebuild 3190 MD5 52e4c67e48f74c1128d905c1a6e1414d netbeans-3.6.ebuild 3154 -MD5 4b71d891d44fc4609b80a45d3c56dc68 files/digest-netbeans-3.3.2 76 +MD5 e70243e3617effa4dcb9b0ae9a7125ca netbeans-3.4.1.ebuild 3236 +MD5 20677126509c89cf19b19a9086844848 netbeans-3.5.ebuild 3190 +MD5 82261238490700340c673adb0e5e1013 netbeans-3.5.1.ebuild 3202 +MD5 5c5e7e8ddff1407fc7400169437a64ab netbeans-3.6-r1.ebuild 3190 +MD5 0bd5ed7678435369f349be79c0db6064 netbeans-3.3.2.ebuild 2355 +MD5 77528505f326728d0de5017abbb4ff86 ChangeLog 3365 +MD5 9c6f59bb154bdcd7242f4544b8feae6b files/netbeans-KDE.desktop 139 +MD5 21a78956bac04c98135ba5707b98da66 files/netbeans.png 2163 +MD5 a31cf39b9b70944a298e8fa97275d122 files/digest-netbeans-3.6-r1 67 MD5 d83c7003fb3386b304ff7cb5fe7d5e87 files/digest-netbeans-3.4 76 -MD5 eba3a44af2a04cab3a7bf00ce982130e files/digest-netbeans-3.4.1 77 MD5 106ea9b2bcfe4c54fffdad4e956cb052 files/digest-netbeans-3.5 76 -MD5 9db67cc7c38cdd884ec192a4c642e144 files/digest-netbeans-3.5.1 77 +MD5 a31cf39b9b70944a298e8fa97275d122 files/digest-netbeans-3.6 67 MD5 76d728d517fd5fd2e653aa2c6ed9998e files/netbeans 784 -MD5 9c6f59bb154bdcd7242f4544b8feae6b files/netbeans-KDE.desktop 139 MD5 e04a4eefe6510679e7cf06d0377e9e18 files/netbeans.desktop 103 -MD5 21a78956bac04c98135ba5707b98da66 files/netbeans.png 2163 -MD5 a31cf39b9b70944a298e8fa97275d122 files/digest-netbeans-3.6 67 +MD5 4b71d891d44fc4609b80a45d3c56dc68 files/digest-netbeans-3.3.2 76 +MD5 eba3a44af2a04cab3a7bf00ce982130e files/digest-netbeans-3.4.1 77 +MD5 9db67cc7c38cdd884ec192a4c642e144 files/digest-netbeans-3.5.1 77 diff --git a/dev-util/netbeans/files/digest-netbeans-3.6-r1 b/dev-util/netbeans/files/digest-netbeans-3.6-r1 new file mode 100644 index 000000000000..60931cf0517c --- /dev/null +++ b/dev-util/netbeans/files/digest-netbeans-3.6-r1 @@ -0,0 +1 @@ +MD5 06c966aa9c7fdcd63e958d30e47d5dd6 netbeans-3_6.tar.bz2 32270184 diff --git a/dev-util/netbeans/netbeans-3.6-r1.ebuild b/dev-util/netbeans/netbeans-3.6-r1.ebuild new file mode 100644 index 000000000000..a233d6bbdfb4 --- /dev/null +++ b/dev-util/netbeans/netbeans-3.6-r1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-3.6-r1.ebuild,v 1.1 2004/04/26 22:13:25 lostlogic Exp $ + +IUSE="kde gnome" + +MY_P=netbeans-${PV/./_} +S=${WORKDIR}/${PN} +DESCRIPTION="NetBeans ${PV} IDE for Java" +SRC_URI="http://www.netbeans.org/download/release${PV//.}/promoted/FCS/${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 ~amd64" +#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 ant beans bin \ + docs jakarta-tomcat-5.0.19 \ + lib modules sources \ + system update_tracking ${D}/opt/${P} + keepdir /opt/${P}/lib/patches \ + /opt/${P}/modules \ + /opt/netbeans-3.6/jakarta-tomcat-5.0.19/server/classes \ + /opt/netbeans-3.6/jakarta-tomcat-5.0.19/classes \ + /opt/netbeans-3.6/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 +} -- cgit v1.2.3-65-gdbad