public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Netbeans 3.3.1 => 3.3.2
@ 2002-06-18 21:10 Christophe Vanfleteren
  0 siblings, 0 replies; only message in thread
From: Christophe Vanfleteren @ 2002-06-18 21:10 UTC (permalink / raw
  To: tools

[-- Attachment #1: Type: text/plain, Size: 169 bytes --]

Hello,

Netbeans recently bumped versions.
I've adjusted the ebuild to dld the latest version and attached it with this 
email.

HTH,

Christophe Vanfleteren


[-- Attachment #2: netbeans-3.3.2.ebuild --]
[-- Type: text/plain, Size: 2013 bytes --]

# 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>
# /space/gentoo/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-3.3.1.ebuild,v 1.2 2002/04/28 04:35:05 seemant Exp

MY_P=NetBeansIDE-release332
S=${WORKDIR}/${PN}
DESCRIPTION="Netbeans ${PV} IDE for Java"
HOMEPAGE="http://www.netbeans.org"
SRC_URI="http://www.netbeans.org/download/release332/night/build200206050332/${MY_P}.tar.gz"
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
}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-18 21:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-18 21:10 [gentoo-dev] Netbeans 3.3.1 => 3.3.2 Christophe Vanfleteren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox