diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-04-27 11:39:14 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-04-27 11:39:14 +0000 |
commit | a258f9e045705d9e2dd238732e8e619735e8c590 (patch) | |
tree | 93793f311419f4fad0eacbd9276c0cf25f18eb65 | |
parent | * bug #175895 (diff) | |
download | gentoo-2-a258f9e045705d9e2dd238732e8e619735e8c590.tar.gz gentoo-2-a258f9e045705d9e2dd238732e8e619735e8c590.tar.bz2 gentoo-2-a258f9e045705d9e2dd238732e8e619735e8c590.zip |
Stylistic cleanup.
(Portage version: 2.1.2.4)
-rw-r--r-- | dev-java/commons-httpclient/ChangeLog | 6 | ||||
-rw-r--r-- | dev-java/commons-httpclient/commons-httpclient-2.0.2-r1.ebuild | 21 |
2 files changed, 13 insertions, 14 deletions
diff --git a/dev-java/commons-httpclient/ChangeLog b/dev-java/commons-httpclient/ChangeLog index b79efbc935c2..37f3b7e210c4 100644 --- a/dev-java/commons-httpclient/ChangeLog +++ b/dev-java/commons-httpclient/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/commons-httpclient # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-httpclient/ChangeLog,v 1.38 2007/03/26 20:06:15 welp Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-httpclient/ChangeLog,v 1.39 2007/04/27 11:39:14 betelgeuse Exp $ + + 27 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> + commons-httpclient-2.0.2-r1.ebuild: + Stylistic cleanup. 26 Mar 2007; Peter Weller <welp@gentoo.org> commons-httpclient-2.0.2-r1.ebuild: diff --git a/dev-java/commons-httpclient/commons-httpclient-2.0.2-r1.ebuild b/dev-java/commons-httpclient/commons-httpclient-2.0.2-r1.ebuild index 36e78ad71b65..b1e9ebfe105b 100644 --- a/dev-java/commons-httpclient/commons-httpclient-2.0.2-r1.ebuild +++ b/dev-java/commons-httpclient/commons-httpclient-2.0.2-r1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-httpclient/commons-httpclient-2.0.2-r1.ebuild,v 1.4 2007/03/26 20:06:15 welp Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-httpclient/commons-httpclient-2.0.2-r1.ebuild,v 1.5 2007/04/27 11:39:14 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc source" inherit java-pkg-2 java-ant-2 eutils @@ -11,20 +13,17 @@ SRC_URI="mirror://apache/jakarta/commons/httpclient/source/${P/_/-}-src.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" -IUSE="doc source" +IUSE="" RDEPEND=">=virtual/jre-1.3 dev-java/commons-logging" DEPEND=">=virtual/jdk-1.3 - ${RDEPEND} - sys-apps/sed - >=dev-java/ant-core-1.4 - source? ( app-arch/zip )" + ${RDEPEND}" src_unpack() { unpack ${A} - cd ${S} + cd "${S}" #make jikes happy #if use jikes; then @@ -33,15 +32,11 @@ src_unpack() { # || die "failed to sed" #fi - epatch ${FILESDIR}/gentoo.diff || die "patching failed" + epatch "${FILESDIR}/gentoo.diff" echo "commons-logging.jar=$(java-pkg_getjar commons-logging commons-logging.jar)" >> build.properties } -src_compile() { - local antflags="dist" - use doc && antflags="${antflags} javadoc" - eant ${antflags} || die "compilation failed" -} +EANT_BUILD_TARGET="dist" src_install() { java-pkg_dojar dist/${PN}.jar |