diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-05-16 12:46:34 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-05-16 12:46:34 +0000 |
commit | ca9d2a8623f04e8ed705a9a5e45d813164f321a7 (patch) | |
tree | 2e593d728feabf4eb9e65b0e7f4f62e0bb1d2850 /dev-java/jclasslib | |
parent | Removed inherit line for bug #92745. (diff) | |
download | gentoo-2-ca9d2a8623f04e8ed705a9a5e45d813164f321a7.tar.gz gentoo-2-ca9d2a8623f04e8ed705a9a5e45d813164f321a7.tar.bz2 gentoo-2-ca9d2a8623f04e8ed705a9a5e45d813164f321a7.zip |
new upstream version. marked 2.0 stable on amd64, ppc and x86. introduced support for the source useflag
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'dev-java/jclasslib')
-rw-r--r-- | dev-java/jclasslib/ChangeLog | 12 | ||||
-rw-r--r-- | dev-java/jclasslib/Manifest | 17 | ||||
-rw-r--r-- | dev-java/jclasslib/files/digest-jclasslib-3.0 | 1 | ||||
-rw-r--r-- | dev-java/jclasslib/files/jclasslib-3.0-buildxml.patch | 15 | ||||
-rw-r--r-- | dev-java/jclasslib/jclasslib-2.0.ebuild | 25 | ||||
-rw-r--r-- | dev-java/jclasslib/jclasslib-3.0.ebuild | 43 |
6 files changed, 88 insertions, 25 deletions
diff --git a/dev-java/jclasslib/ChangeLog b/dev-java/jclasslib/ChangeLog index 18a4970580f7..063bcb98b32c 100644 --- a/dev-java/jclasslib/ChangeLog +++ b/dev-java/jclasslib/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-java/jclasslib -# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jclasslib/ChangeLog,v 1.4 2004/10/20 09:11:31 absinthe Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jclasslib/ChangeLog,v 1.5 2005/05/16 12:46:34 luckyduck Exp $ + +*jclasslib-3.0 (16 May 2005) + + 16 May 2005; Jan Brinkmann <luckyduck@gentoo.org> + +files/jclasslib-3.0-buildxml.patch, jclasslib-2.0.ebuild, + +jclasslib-3.0.ebuild: + new upstream version. marked 2.0 stable on amd64, ppc and x86. introduced + support for the source useflag 20 Oct 2004; Dylan Carlson <absinthe@gentoo.org> jclasslib-2.0.ebuild: Keywords ~amd64. diff --git a/dev-java/jclasslib/Manifest b/dev-java/jclasslib/Manifest index ff6d4beba182..7ab0f0ca1127 100644 --- a/dev-java/jclasslib/Manifest +++ b/dev-java/jclasslib/Manifest @@ -1,15 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 891b20c8eced85b7ee4c72a7fdc92fcd jclasslib-2.0.ebuild 1116 -MD5 e65589cbc7e9bc7293f84d0785fb774a ChangeLog 757 +MD5 f7e80cb6df86c3d18f094f965342b506 jclasslib-3.0.ebuild 1321 +MD5 7e7df2c136ffdf58f9485aa2980f0331 jclasslib-2.0.ebuild 1245 +MD5 1484a31b2df6e6a49a0cd436eea60a56 ChangeLog 1035 MD5 4dad079a28768d183022cff420f01281 metadata.xml 220 +MD5 e840661033b69e1883e7ad44b1141e4a files/jclasslib-3.0-buildxml.patch 840 MD5 be1d000b16835290b454e72c2ba1eacf files/build.xml.patch 857 MD5 3cfd3f6d617f048986d0291ea854bcac files/digest-jclasslib-2.0 71 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCTucV/rLF9B432nYRAnukAJ0V9hWtKnMx0x4Hdktp66iNf8mIUQCffE+L -oDVCseIBsbgn9TjACDjgSA8= -=Ah3h ------END PGP SIGNATURE----- +MD5 ac08127cc20110e4cba5c1bcf98d37b4 files/digest-jclasslib-3.0 71 diff --git a/dev-java/jclasslib/files/digest-jclasslib-3.0 b/dev-java/jclasslib/files/digest-jclasslib-3.0 new file mode 100644 index 000000000000..642dc79198fc --- /dev/null +++ b/dev-java/jclasslib/files/digest-jclasslib-3.0 @@ -0,0 +1 @@ +MD5 818c152bcdc1ce9ea3336f4de04216a2 jclasslib_unix_3_0.tar.gz 1774938 diff --git a/dev-java/jclasslib/files/jclasslib-3.0-buildxml.patch b/dev-java/jclasslib/files/jclasslib-3.0-buildxml.patch new file mode 100644 index 000000000000..3ca3d0d0f168 --- /dev/null +++ b/dev-java/jclasslib/files/jclasslib-3.0-buildxml.patch @@ -0,0 +1,15 @@ +--- build.xml.orig 2005-05-16 14:43:46.000000000 +0200 ++++ build.xml 2005-05-16 14:44:27.000000000 +0200 +@@ -59,10 +59,10 @@ + <pathelement location="${lib-compile.dir}/java.jar"/> + </path> + +- <taskdef name="makenbm" classname="org.netbeans.nbbuild.MakeNBM" classpath="${lib-compile.dir}/antnbm.jar"/> ++ <!-- <taskdef name="makenbm" classname="org.netbeans.nbbuild.MakeNBM" classpath="${lib-compile.dir}/antnbm.jar"/> + <taskdef name="install4j" + classname="com.install4j.Install4JTask" +- classpath="/opt/install4j/bin/install4j.jar:/Program Files/install4j/bin/install4j.jar:/Programme/install4j/bin/install4j.jar"/> ++ classpath="/opt/install4j/bin/install4j.jar:/Program Files/install4j/bin/install4j.jar:/Programme/install4j/bin/install4j.jar"/> --> + + <!-- Make all standard directories --> + <target name="init"> diff --git a/dev-java/jclasslib/jclasslib-2.0.ebuild b/dev-java/jclasslib/jclasslib-2.0.ebuild index 30d968dc5c25..65b9bbbf985a 100644 --- a/dev-java/jclasslib/jclasslib-2.0.ebuild +++ b/dev-java/jclasslib/jclasslib-2.0.ebuild @@ -1,20 +1,22 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jclasslib/jclasslib-2.0.ebuild,v 1.5 2005/04/02 18:39:44 axxo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jclasslib/jclasslib-2.0.ebuild,v 1.6 2005/05/16 12:46:34 luckyduck Exp $ inherit java-pkg eutils +MY_PV=${PV/./_} DESCRIPTION="classlib bytecode viewer is a tool that visualizes all aspects of compiled Java class files and the contained bytecode. In addition, it contains a library that enables developers to read, modify and write Java class files and bytecode." - HOMEPAGE="http://www.ej-technologies.com/products/jclasslib/overview.html" -MY_PV=${PV/./_} SRC_URI="mirror://sourceforge/${PN}/${PN}_unix_${MY_PV}.tar.gz" + LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~ppc ~amd64" -IUSE="doc" +KEYWORDS="x86 ppc amd64" +IUSE="doc jikes" + DEPEND=">=virtual/jdk-1.4 - dev-java/ant" + dev-java/ant-core + jikes? ( dev-java/jikes )" RDEPEND=">=virtual/jre-1.4" S=${WORKDIR}/${PN} @@ -27,12 +29,13 @@ src_unpack() { } src_compile() { - ant jar || die "compile failed" - use doc && ant javadoc + local antflags="jar" + use doc && antflags="${antflags} javadoc" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "compilation failed" } src_install() { - dodoc license - java-pkg_dojar build/jclasslib.jar + java-pkg_dojar build/${PN}.jar use doc && java-pkg_dohtml -r doc/* } diff --git a/dev-java/jclasslib/jclasslib-3.0.ebuild b/dev-java/jclasslib/jclasslib-3.0.ebuild new file mode 100644 index 000000000000..f129924ce8f0 --- /dev/null +++ b/dev-java/jclasslib/jclasslib-3.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jclasslib/jclasslib-3.0.ebuild,v 1.1 2005/05/16 12:46:34 luckyduck Exp $ + +inherit java-pkg eutils + +MY_PV=${PV/./_} +DESCRIPTION="classlib bytecode viewer is a tool that visualizes all aspects of compiled Java class files and the contained bytecode. In addition, it contains a library that enables developers to read, modify and write Java class files and bytecode." +HOMEPAGE="http://www.ej-technologies.com/products/jclasslib/overview.html" +SRC_URI="mirror://sourceforge/${PN}/${PN}_unix_${MY_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="doc jikes source" + +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + jikes? ( dev-java/jikes ) + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.4" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd ${S} + rm -f bin/*.jar lib-compile/*.jar .install4j/*.jar + epatch ${FILESDIR}/${P}-buildxml.patch +} + +src_compile() { + local antflags="jar" + use doc && antflags="${antflags} javadoc" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "compilation failed" +} + +src_install() { + java-pkg_dojar build/${PN}.jar + use doc && java-pkg_dohtml -r doc/* + use source && java-pkg_dosrc src/* +} |