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 | 96efef6b682e42c7c6c5afc78553dbe7358cc75d (patch) | |
tree | cb3b5905dc5c8056ad38c350ca691449a3144422 /dev-java/ecs/ecs-1.4.2-r1.ebuild | |
parent | Use java-pkg_javadoc. (diff) | |
download | historical-96efef6b682e42c7c6c5afc78553dbe7358cc75d.tar.gz historical-96efef6b682e42c7c6c5afc78553dbe7358cc75d.tar.bz2 historical-96efef6b682e42c7c6c5afc78553dbe7358cc75d.zip |
Ebuild cleanup.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'dev-java/ecs/ecs-1.4.2-r1.ebuild')
-rw-r--r-- | dev-java/ecs/ecs-1.4.2-r1.ebuild | 19 |
1 files changed, 8 insertions, 11 deletions
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/* } |