summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-02-13 19:17:13 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-02-13 19:17:13 +0000
commit3dc1f87b48e823700b6fde816525c8f36895f668 (patch)
treec57bb6746a3d5d3398713c808ea5c69da0e64b16 /dev-java/commons-codec
parentRemoved unused ebuilds. (diff)
downloadgentoo-2-3dc1f87b48e823700b6fde816525c8f36895f668.tar.gz
gentoo-2-3dc1f87b48e823700b6fde816525c8f36895f668.tar.bz2
gentoo-2-3dc1f87b48e823700b6fde816525c8f36895f668.zip
Ebuild cleanup.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'dev-java/commons-codec')
-rw-r--r--dev-java/commons-codec/ChangeLog8
-rw-r--r--dev-java/commons-codec/commons-codec-1.3-r1.ebuild17
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 <betelgeuse@gentoo.org>
+ 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/*
}