From 85f79a76a6246199886131e388dcb7eefdcebb29 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petteri=20R=C3=A4ty?= Date: Tue, 13 Feb 2007 19:17:13 +0000 Subject: [PATCH] Ebuild cleanup. Package-Manager: portage-2.1.2-r9 --- dev-java/commons-codec/ChangeLog | 8 ++++++-- .../commons-codec/commons-codec-1.3-r1.ebuild | 17 ++++++----------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/dev-java/commons-codec/ChangeLog b/dev-java/commons-codec/ChangeLog index dc904dc2aa0b..be3d50f96c17 100644 --- a/dev-java/commons-codec/ChangeLog +++ b/dev-java/commons-codec/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/commons-codec -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-codec/ChangeLog,v 1.18 2006/07/22 22:29:27 nelchael Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-codec/ChangeLog,v 1.19 2007/02/13 19:17:13 betelgeuse Exp $ + + 13 Feb 2007; Petteri Räty + commons-codec-1.3-r1.ebuild: + Ebuild cleanup. *commons-codec-1.3-r1 (22 Jul 2006) diff --git a/dev-java/commons-codec/commons-codec-1.3-r1.ebuild b/dev-java/commons-codec/commons-codec-1.3-r1.ebuild index 314a888ceb08..b08afb66159b 100644 --- a/dev-java/commons-codec/commons-codec-1.3-r1.ebuild +++ b/dev-java/commons-codec/commons-codec-1.3-r1.ebuild @@ -1,6 +1,6 @@ -# 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-codec/commons-codec-1.3-r1.ebuild,v 1.1 2006/07/22 22:29:27 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-codec/commons-codec-1.3-r1.ebuild,v 1.2 2007/02/13 19:17:13 betelgeuse Exp $ inherit java-pkg-2 java-ant-2 @@ -19,14 +19,13 @@ RDEPEND=">=virtual/jre-1.3 DEPEND=">=virtual/jdk-1.3 ${RDEPEND} - dev-java/ant-core source? ( app-arch/zip )" S="${WORKDIR}" src_unpack() { unpack ${A} - cd ${S} + cd "${S}" sed -i "s_../LICENSE_LICENSE.txt_" build.xml || die "sed failed" echo "conf.home=./src/conf" >> build.properties echo "source.home=./src/java" >> build.properties @@ -36,16 +35,12 @@ src_unpack() { echo "final.name=commons-codec" >> build.properties } -src_compile() { - local antflags="compile" - use doc && antflags="${antflags} javadoc" - eant ${antflags} jar || die "compile problem" -} +EANT_BUILD_TARGET="compile" src_install() { java-pkg_dojar output/dist/${PN}.jar - dodoc RELEASE-NOTES.txt - use doc && java-pkg_dohtml -r output/dist/docs/ + dodoc RELEASE-NOTES.txt || die + use doc && java-pkg_dojavadoc output/dist/docs use source && java-pkg_dosrc src/java/* } -- 2.26.2