diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-04-02 15:33:34 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-04-02 15:33:34 +0000 |
commit | 380139495c0275cff7883823bdc7fb9cf42cd2c0 (patch) | |
tree | 446c56f4dc0fa856da4610cea4e38b21f01af0a4 /dev-java/commons-launcher | |
parent | ia64 stable wrt bug 171669 (diff) | |
download | gentoo-2-380139495c0275cff7883823bdc7fb9cf42cd2c0.tar.gz gentoo-2-380139495c0275cff7883823bdc7fb9cf42cd2c0.tar.bz2 gentoo-2-380139495c0275cff7883823bdc7fb9cf42cd2c0.zip |
Ebuild cleanup.
(Portage version: 2.1.2.3)
Diffstat (limited to 'dev-java/commons-launcher')
-rw-r--r-- | dev-java/commons-launcher/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/commons-launcher/commons-launcher-0.9-r1.ebuild | 21 |
2 files changed, 16 insertions, 13 deletions
diff --git a/dev-java/commons-launcher/ChangeLog b/dev-java/commons-launcher/ChangeLog index d618a3b835a2..def4cf275021 100644 --- a/dev-java/commons-launcher/ChangeLog +++ b/dev-java/commons-launcher/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/commons-launcher -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-launcher/ChangeLog,v 1.15 2006/12/09 09:14:37 flameeyes Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-launcher/ChangeLog,v 1.16 2007/04/02 15:33:34 betelgeuse Exp $ + + 02 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> + commons-launcher-0.9-r1.ebuild: + Ebuild cleanup. 09 Dec 2006; Diego Pettenò <flameeyes@gentoo.org> commons-launcher-0.9-r1.ebuild: diff --git a/dev-java/commons-launcher/commons-launcher-0.9-r1.ebuild b/dev-java/commons-launcher/commons-launcher-0.9-r1.ebuild index f95a36f64869..ec9fa10dca8a 100644 --- a/dev-java/commons-launcher/commons-launcher-0.9-r1.ebuild +++ b/dev-java/commons-launcher/commons-launcher-0.9-r1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-launcher/commons-launcher-0.9-r1.ebuild,v 1.4 2006/12/09 09:14:37 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-launcher/commons-launcher-0.9-r1.ebuild,v 1.5 2007/04/02 15:33:34 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc source" inherit java-pkg-2 java-ant-2 @@ -10,23 +12,20 @@ SRC_URI="ftp://ftp.ibiblio.org/pub/mirrors/apache/jakarta/commons/launcher/sourc LICENSE="Apache-1.1" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" -IUSE="doc source" -DEPEND=">=virtual/jdk-1.4 - >=dev-java/ant-core-1.4 - source? ( app-arch/zip )" + +DEPEND=">=virtual/jdk-1.4" RDEPEND=">=virtual/jre-1.4" + S=${WORKDIR}/${PN} src_compile() { java-ant_rewrite-classpath "${S}/build.xml" - local antflags="jar" - use doc && antflags="${antflags} javadoc" - eant -Dgentoo.classpath=$(java-pkg_getjars ant-core) ${antflags} || die "compilation problem" + EANT_GENTOO_CLASSPATH="ant-core" java-pkg-2_src_compile } src_install() { java-pkg_dojar dist/bin/*.jar || die "java-pkg_dojar died" - dohtml *.html - use doc && java-pkg_dohtml -r dist/docs/* + dohtml *.html || die + use doc && java-pkg_dohtml dist/docs/api use source && java-pkg_dosrc src/java/* } |