summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-13 09:07:43 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-13 09:07:43 +0000
commit10ccc4fc1fe8647f8e8bcf13b13c4045b9e2ef80 (patch)
tree5b98321968b3bfd3b56946b29df02fb2a9a1cc0c /dev-java/msv
parentMigrate to splitted ant and make the src_test actually run the tests instead ... (diff)
downloadgentoo-2-10ccc4fc1fe8647f8e8bcf13b13c4045b9e2ef80.tar.gz
gentoo-2-10ccc4fc1fe8647f8e8bcf13b13c4045b9e2ef80.tar.bz2
gentoo-2-10ccc4fc1fe8647f8e8bcf13b13c4045b9e2ef80.zip
Ebuild cleanup. Use java-pkg_dojavadoc and fix typo that prevented ChangeLog.txt from installing.
(Portage version: 2.1.2.3)
Diffstat (limited to 'dev-java/msv')
-rw-r--r--dev-java/msv/ChangeLog8
-rw-r--r--dev-java/msv/msv-20050627-r1.ebuild16
2 files changed, 14 insertions, 10 deletions
diff --git a/dev-java/msv/ChangeLog b/dev-java/msv/ChangeLog
index aa4c8300f73e..115982b2e9d6 100644
--- a/dev-java/msv/ChangeLog
+++ b/dev-java/msv/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/msv
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/msv/ChangeLog,v 1.11 2007/01/04 05:00:29 tgall Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/msv/ChangeLog,v 1.12 2007/04/13 09:07:43 betelgeuse Exp $
+
+ 13 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> msv-20050627-r1.ebuild:
+ Ebuild cleanup. Use java-pkg_dojavadoc and fix typo that prevented
+ ChangeLog.txt from installing.
03 Jan 2007; Tom Gall <tgall@gentoo.org> msv-20050627.ebuild:
stable on ppc64
diff --git a/dev-java/msv/msv-20050627-r1.ebuild b/dev-java/msv/msv-20050627-r1.ebuild
index e594db45b4d5..c342aebf4b55 100644
--- a/dev-java/msv/msv-20050627-r1.ebuild
+++ b/dev-java/msv/msv-20050627-r1.ebuild
@@ -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/msv/msv-20050627-r1.ebuild,v 1.4 2006/12/09 09:22:39 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/msv/msv-20050627-r1.ebuild,v 1.5 2007/04/13 09:07:43 betelgeuse Exp $
inherit java-pkg-2 eutils java-ant-2
@@ -27,17 +27,17 @@ DEPEND=">=virtual/jdk-1.4
src_unpack() {
unpack ${A}
- cd ${S}
- rm *.jar
+ cd "${S}"
+ rm -v *.jar || die
mkdir lib && cd lib
local pkg
for pkg in iso-relax relaxng-datatype xerces-2 xml-commons-resolver xsdlib; do
java-pkg_jarfrom ${pkg}
done
- cd ${S}
+ cd "${S}"
- cp ${FILESDIR}/build-${PV}.xml build.xml
+ cp "${FILESDIR}/build-${PV}.xml" build.xml -i || die
}
src_compile() {
@@ -47,8 +47,8 @@ src_compile() {
src_install() {
java-pkg_dojar dist/${PN}.jar
- dodoc README.txt Changelog.txt
+ dodoc README.txt ChangeLog.txt || die
- use doc && java-pkg_dohtml -r dist/doc/api
+ use doc && java-pkg_dojavadoc dist/doc/api
use source && java-pkg_dosrc src/*
}