diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-07-04 22:24:44 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-07-04 22:24:44 +0000 |
commit | 1013ed89e1d4cfe440f76c490f6e194aa3e73c52 (patch) | |
tree | e1c33e7cc49bea171cb0fce09bf725b4ddfb512f /dev-java | |
parent | Remove old revision. (diff) | |
download | gentoo-2-1013ed89e1d4cfe440f76c490f6e194aa3e73c52.tar.gz gentoo-2-1013ed89e1d4cfe440f76c490f6e194aa3e73c52.tar.bz2 gentoo-2-1013ed89e1d4cfe440f76c490f6e194aa3e73c52.zip |
Use JAVA_PKG_IUSE and delete bundled classes in src_unpack.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/radeox/ChangeLog | 6 | ||||
-rw-r--r-- | dev-java/radeox/radeox-1.0_beta2-r1.ebuild | 19 |
2 files changed, 17 insertions, 8 deletions
diff --git a/dev-java/radeox/ChangeLog b/dev-java/radeox/ChangeLog index e8ee446976d6..1f2fb83ade02 100644 --- a/dev-java/radeox/ChangeLog +++ b/dev-java/radeox/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/radeox # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/radeox/ChangeLog,v 1.12 2007/01/12 12:39:24 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/radeox/ChangeLog,v 1.13 2007/07/04 22:24:44 betelgeuse Exp $ + + 04 Jul 2007; Petteri Räty <betelgeuse@gentoo.org> + radeox-1.0_beta2-r1.ebuild: + Use JAVA_PKG_IUSE and delete bundled classes in src_unpack. *radeox-1.0_beta2-r1 (12 Jan 2007) diff --git a/dev-java/radeox/radeox-1.0_beta2-r1.ebuild b/dev-java/radeox/radeox-1.0_beta2-r1.ebuild index 61df4107ad85..2f9b544fa69f 100644 --- a/dev-java/radeox/radeox-1.0_beta2-r1.ebuild +++ b/dev-java/radeox/radeox-1.0_beta2-r1.ebuild @@ -1,23 +1,26 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/radeox/radeox-1.0_beta2-r1.ebuild,v 1.1 2007/01/12 12:39:24 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/radeox/radeox-1.0_beta2-r1.ebuild,v 1.2 2007/07/04 22:24:44 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc source" inherit java-pkg-2 java-ant-2 DESCRIPTION="Radeox Wiki render engine" HOMEPAGE="http://www.radeox.org" -SRC_URI="ftp://snipsnap.org/radeox/${PN}-1.0-BETA-2-src.tgz" +MY_PV="${PV/_beta/-BETA-}" +MY_P="${PN}-${MY_PV}" +SRC_URI="ftp://snipsnap.org/radeox/${MY_P}-src.tgz" LICENSE="LGPL-2.1" SLOT="1" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="doc source" +IUSE="" RDEPEND=">=virtual/jre-1.4 =dev-java/commons-logging-1*" DEPEND=">=virtual/jdk-1.4 - ${RDEPEND} - dev-java/ant-core" + ${RDEPEND}" -S=${WORKDIR}/${PN}-1.0-BETA-2 +S=${WORKDIR}/${MY_P} src_unpack() { unpack ${A} @@ -29,7 +32,9 @@ src_unpack() { rm -rf src/org/radeox/example/ \ src/test/ src/org/radeox/test/ - rm -v lib/*.jar + rm -v lib/*.jar || die + rm -v src/org/radeox/filter/*.class || die + rm -v src/org/radeox/*/*/*.class || die cd lib java-pkg_jar-from commons-logging } |