summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-07-12 12:01:29 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-07-12 12:01:29 +0000
commitb09011eca6d891540ac16fd4944cfa1a9639c711 (patch)
treea97b43bab8d84920f9804307a06cb9aa4408a5c0 /dev-java/commons-io
parentstable amd64 (diff)
downloadgentoo-2-b09011eca6d891540ac16fd4944cfa1a9639c711.tar.gz
gentoo-2-b09011eca6d891540ac16fd4944cfa1a9639c711.tar.bz2
gentoo-2-b09011eca6d891540ac16fd4944cfa1a9639c711.zip
style fixes
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/commons-io')
-rw-r--r--dev-java/commons-io/commons-io-1.0.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/dev-java/commons-io/commons-io-1.0.ebuild b/dev-java/commons-io/commons-io-1.0.ebuild
index 3db368331dbb..41602ea7560b 100644
--- a/dev-java/commons-io/commons-io-1.0.ebuild
+++ b/dev-java/commons-io/commons-io-1.0.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-io/commons-io-1.0.ebuild,v 1.2 2005/05/04 16:59:57 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-io/commons-io-1.0.ebuild,v 1.3 2005/07/12 12:01:29 axxo Exp $
inherit java-pkg eutils
DESCRIPTION="Commons-IO contains utility classes , stream implementations, file filters , and endian classes."
HOMEPAGE="http://jakarta.apache.org/commons/io"
-SRC_URI="mirror://apache/jakarta/commons/io/source/${PN}-${PV}-src.tar.gz"
+SRC_URI="mirror://apache/jakarta/commons/io/source/${P}-src.tar.gz"
LICENSE="Apache-1.1"
SLOT="1"
@@ -24,10 +24,10 @@ src_unpack() {
unpack ${A}
cd ${S}
- epatch ${FILESDIR}/${PN}-${PV}-gentoo.diff
+ epatch ${FILESDIR}/${P}-gentoo.diff
mkdir -p target/lib
cd target/lib
- java-pkg_jar-from junit
+ use junit && java-pkg_jar-from junit
}
src_compile() {
@@ -39,8 +39,7 @@ src_compile() {
}
src_install() {
- mv target/${PN}-${PV}.jar target/${PN}.jar
- java-pkg_dojar target/${PN}.jar
+ java-pkg_newjar target/${P}.jar ${PN}.jar
dodoc RELEASE-NOTES.txt
dohtml PROPOSAL.html STATUS.html usersguide.html