diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-03-17 20:53:05 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-03-17 20:53:05 +0000 |
commit | 97c0cb8b269f3fd55d3066beedb4550398b9f2ff (patch) | |
tree | cbd13d8e304a3eb7985cc445231527f9dff47fae /dev-java | |
parent | Use java-pkg_javadoc. (diff) | |
download | gentoo-2-97c0cb8b269f3fd55d3066beedb4550398b9f2ff.tar.gz gentoo-2-97c0cb8b269f3fd55d3066beedb4550398b9f2ff.tar.bz2 gentoo-2-97c0cb8b269f3fd55d3066beedb4550398b9f2ff.zip |
Ebuild cleanup.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/ecs/ChangeLog | 5 | ||||
-rw-r--r-- | dev-java/ecs/ecs-1.4.2-r1.ebuild | 19 |
2 files changed, 12 insertions, 12 deletions
diff --git a/dev-java/ecs/ChangeLog b/dev-java/ecs/ChangeLog index dbad9578727b..521c94ef819e 100644 --- a/dev-java/ecs/ChangeLog +++ b/dev-java/ecs/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-java/ecs # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ecs/ChangeLog,v 1.16 2007/03/17 20:44:22 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ecs/ChangeLog,v 1.17 2007/03/17 20:53:05 betelgeuse Exp $ + + 17 Mar 2007; Petteri Räty <betelgeuse@gentoo.org> ecs-1.4.2-r1.ebuild: + Ebuild cleanup. *ecs-1.4.2-r1 (17 Mar 2007) diff --git a/dev-java/ecs/ecs-1.4.2-r1.ebuild b/dev-java/ecs/ecs-1.4.2-r1.ebuild index 16b4e544e036..bbf1b26fe6f5 100644 --- a/dev-java/ecs/ecs-1.4.2-r1.ebuild +++ b/dev-java/ecs/ecs-1.4.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ecs/ecs-1.4.2-r1.ebuild,v 1.1 2007/03/17 20:44:22 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ecs/ecs-1.4.2-r1.ebuild,v 1.2 2007/03/17 20:53:05 betelgeuse Exp $ inherit java-pkg-2 java-ant-2 @@ -26,9 +26,9 @@ src_unpack() { unpack ${A} cd "${S}" - rm -f lib/*.jar - rm -f build/*.jar - rm -f ecs*.jar + rm -v lib/*.jar || die + rm -v build/*.jar || die + rm -v ecs*.jar || die java-ant_bsfix_one build/build-ecs.xml @@ -37,16 +37,13 @@ src_unpack() { java-pkg_jar-from jakarta-regexp-1.3 jakarta-regexp.jar regexp.jar } -src_compile() { - local antflags="jar" - use doc && antflags="${antflags} javadocs" - eant -f build/build-ecs.xml ${antflags} -} +EANT_BUILD_XML="build/build-ecs.xml" +EANT_DOC_TARGET="javadocs" src_install() { - java-pkg_newjar bin/${P}.jar ${PN}.jar + java-pkg_newjar bin/${P}.jar - dodoc AUTHORS ChangeLog README + dodoc AUTHORS ChangeLog README || die use doc && java-pkg_dojavadoc docs/* use source && java-pkg_dosrc src/java/* } |