diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-02-13 20:03:11 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-02-13 20:03:11 +0000 |
commit | c50ebd85ef565b62b318313dea9a0f97d053869f (patch) | |
tree | 03babbf98abafc25d44da72f377631daf167272f /dev-java/commons-logging | |
parent | Version bump (diff) | |
download | gentoo-2-c50ebd85ef565b62b318313dea9a0f97d053869f.tar.gz gentoo-2-c50ebd85ef565b62b318313dea9a0f97d053869f.tar.bz2 gentoo-2-c50ebd85ef565b62b318313dea9a0f97d053869f.zip |
Ebuild cleanup and correct LICENSE to Apache-2.0
(Portage version: 2.1.2-r9)
Diffstat (limited to 'dev-java/commons-logging')
-rw-r--r-- | dev-java/commons-logging/ChangeLog | 6 | ||||
-rw-r--r-- | dev-java/commons-logging/commons-logging-1.1-r2.ebuild | 14 |
2 files changed, 11 insertions, 9 deletions
diff --git a/dev-java/commons-logging/ChangeLog b/dev-java/commons-logging/ChangeLog index 003eb672caa6..b444a24a8100 100644 --- a/dev-java/commons-logging/ChangeLog +++ b/dev-java/commons-logging/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/commons-logging # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-logging/ChangeLog,v 1.46 2007/01/10 16:51:17 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-logging/ChangeLog,v 1.47 2007/02/13 20:03:11 betelgeuse Exp $ + + 13 Feb 2007; Petteri Räty <betelgeuse@gentoo.org> + commons-logging-1.1-r2.ebuild: + Ebuild cleanup and correct LICENSE to Apache-2.0 10 Jan 2007; Petteri Räty <betelgeuse@gentoo.org> commons-logging-1.1-r2.ebuild: diff --git a/dev-java/commons-logging/commons-logging-1.1-r2.ebuild b/dev-java/commons-logging/commons-logging-1.1-r2.ebuild index 4acc0fe1c01b..a69f45d2d8f8 100644 --- a/dev-java/commons-logging/commons-logging-1.1-r2.ebuild +++ b/dev-java/commons-logging/commons-logging-1.1-r2.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/commons-logging/commons-logging-1.1-r2.ebuild,v 1.4 2007/01/10 16:51:17 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-logging/commons-logging-1.1-r2.ebuild,v 1.5 2007/02/13 20:03:11 betelgeuse Exp $ inherit java-pkg-2 java-ant-2 @@ -8,7 +8,7 @@ DESCRIPTION="The Jakarta-Commons Logging package is an ultra-thin bridge between HOMEPAGE="http://jakarta.apache.org/commons/logging/" SRC_URI="mirror://apache/jakarta/commons/logging/source/${P}-src.tar.gz" -LICENSE="Apache-1.1" +LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" IUSE="avalon-logkit log4j servletapi avalon-framework doc source" @@ -29,7 +29,7 @@ S="${WORKDIR}/${P}-src/" src_unpack() { unpack ${A} - cd ${S} + cd "${S}" epatch ${FILESDIR}/${P}-gentoo.patch # patch to make the build.xml respect no servletapi # TODO file upstream -nichoj @@ -43,17 +43,15 @@ src_unpack() { use avalon-framework && echo "avalon-framework.jar=$(java-pkg_getjars avalon-framework-4.2)" >> build.properties } -src_compile() { - eant compile $(use_doc) -} +EANT_BUILD_TARGET="compile" src_install() { java-pkg_newjar target/${P}.jar ${PN}.jar java-pkg_newjar target/${PN}-api-${PV}.jar ${PN}-api.jar java-pkg_newjar target/${PN}-adapters-${PV}.jar ${PN}-adapters.jar - dodoc RELEASE-NOTES.txt - dohtml PROPOSAL.html STATUS.html + dodoc RELEASE-NOTES.txt || die + dohtml PROPOSAL.html STATUS.html || die use doc && java-pkg_dojavadoc target/docs/ use source && java-pkg_dosrc src/java/org } |