Ebuild cleanup.
authorPetteri Räty <betelgeuse@gentoo.org>
Tue, 13 Feb 2007 19:17:13 +0000 (19:17 +0000)
committerPetteri Räty <betelgeuse@gentoo.org>
Tue, 13 Feb 2007 19:17:13 +0000 (19:17 +0000)
Package-Manager: portage-2.1.2-r9

dev-java/commons-codec/ChangeLog
dev-java/commons-codec/commons-codec-1.3-r1.ebuild

index dc904dc2aa0b8b1be53268dbde3122b88636546a..be3d50f96c17e2aacec0198e2de2582a9d113b5e 100644 (file)
@@ -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)
 
index 314a888ceb087811fd5da1304c1a2cd79cfcc708..b08afb66159b76fb6b147edc0230dbf52ee4e1c2 100644 (file)
@@ -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/*
 }