summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-03-08 13:36:29 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-03-08 13:36:29 +0000
commit850be356da3877a629ad64a3b6d0d1e9a3e49836 (patch)
tree416c091e66cf0615ac018122073a2585e95abf49 /dev-java/jvyaml
parentDepending on baselayout-1.12.5 now, as >udev-103 breaks older baselayouts for... (diff)
downloadgentoo-2-850be356da3877a629ad64a3b6d0d1e9a3e49836.tar.gz
gentoo-2-850be356da3877a629ad64a3b6d0d1e9a3e49836.tar.bz2
gentoo-2-850be356da3877a629ad64a3b6d0d1e9a3e49836.zip
Ebuild cleanup.
(Portage version: 2.1.2.1-r1)
Diffstat (limited to 'dev-java/jvyaml')
-rw-r--r--dev-java/jvyaml/ChangeLog5
-rw-r--r--dev-java/jvyaml/jvyaml-0.2.1-r1.ebuild22
2 files changed, 14 insertions, 13 deletions
diff --git a/dev-java/jvyaml/ChangeLog b/dev-java/jvyaml/ChangeLog
index 83a1745c4f8a..897b4c1d718c 100644
--- a/dev-java/jvyaml/ChangeLog
+++ b/dev-java/jvyaml/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/jvyaml
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jvyaml/ChangeLog,v 1.6 2007/03/08 05:54:25 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jvyaml/ChangeLog,v 1.7 2007/03/08 13:36:29 betelgeuse Exp $
+
+ 08 Mar 2007; Petteri Räty <betelgeuse@gentoo.org> jvyaml-0.2.1-r1.ebuild:
+ Ebuild cleanup.
*jvyaml-0.2.1-r1 (08 Mar 2007)
diff --git a/dev-java/jvyaml/jvyaml-0.2.1-r1.ebuild b/dev-java/jvyaml/jvyaml-0.2.1-r1.ebuild
index 09deaf74efdc..e48ef0d76c48 100644
--- a/dev-java/jvyaml/jvyaml-0.2.1-r1.ebuild
+++ b/dev-java/jvyaml/jvyaml-0.2.1-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/jvyaml/jvyaml-0.2.1-r1.ebuild,v 1.1 2007/03/08 05:54:25 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jvyaml/jvyaml-0.2.1-r1.ebuild,v 1.2 2007/03/08 13:36:29 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2 eutils
@@ -10,36 +12,32 @@ SRC_URI="https://${PN}.dev.java.net/files/documents/5215/41455/${PN}-src-${PV}.t
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="source test"
+
DEPEND=">=virtual/jdk-1.4
test? (
dev-java/ant
dev-java/junit
)
- !test? (
- dev-java/ant-core
- )
- source? ( app-arch/zip )"
+ dev-java/ant-core"
RDEPEND=">=virtual/jre-1.4"
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
# https://jvyaml.dev.java.net/issues/show_bug.cgi?id=6
- epatch ${FILESDIR}/${PN}-0.2-tests.patch
+ epatch "${FILESDIR}/${PN}-0.2-tests.patch"
# https://jvyaml.dev.java.net/issues/show_bug.cgi?id=5
- epatch ${FILESDIR}/${P}-tests.patch
+ epatch "${FILESDIR}/${P}-tests.patch"
cd lib
- rm *.jar
+ rm -v *.jar || die
use test && java-pkg_jar-from --build-only junit
}
src_install() {
java-pkg_dojar lib/${PN}.jar
- dodoc README
- dodoc CREDITS
+ dodoc README CREDITS || die
use source && java-pkg_dosrc src/*
}