summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-01-28 21:10:38 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-01-28 21:10:38 +0000
commit3e3f3eed5b8a273e99dbe158eee86ff4f0c3a60c (patch)
tree3b1af568d43f29950971093bf97118a2e32937ba /dev-java
parentMigrated to gen 2, warnings about package using enum keyword. (diff)
downloadhistorical-3e3f3eed5b8a273e99dbe158eee86ff4f0c3a60c.tar.gz
historical-3e3f3eed5b8a273e99dbe158eee86ff4f0c3a60c.tar.bz2
historical-3e3f3eed5b8a273e99dbe158eee86ff4f0c3a60c.zip
Cleanup the migration to for example actually install javadocs.
Package-Manager: portage-2.1.2-r4
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/tagunit/ChangeLog6
-rw-r--r--dev-java/tagunit/tagunit-1.0.1-r1.ebuild18
2 files changed, 12 insertions, 12 deletions
diff --git a/dev-java/tagunit/ChangeLog b/dev-java/tagunit/ChangeLog
index 8ddee44ab8b8..aa3ecacc6a58 100644
--- a/dev-java/tagunit/ChangeLog
+++ b/dev-java/tagunit/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/tagunit
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/tagunit/ChangeLog,v 1.10 2007/01/28 20:52:04 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/tagunit/ChangeLog,v 1.11 2007/01/28 21:10:38 betelgeuse Exp $
+
+ 28 Jan 2007; Petteri Räty <betelgeuse@gentoo.org>
+ tagunit-1.0.1-r1.ebuild:
+ Cleanup the migration to for example actually install javadocs.
*tagunit-1.0.1-r1 (28 Jan 2007)
diff --git a/dev-java/tagunit/tagunit-1.0.1-r1.ebuild b/dev-java/tagunit/tagunit-1.0.1-r1.ebuild
index 4b9d2be68cfa..b9845d7e3899 100644
--- a/dev-java/tagunit/tagunit-1.0.1-r1.ebuild
+++ b/dev-java/tagunit/tagunit-1.0.1-r1.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/tagunit/tagunit-1.0.1-r1.ebuild,v 1.1 2007/01/28 20:52:04 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/tagunit/tagunit-1.0.1-r1.ebuild,v 1.2 2007/01/28 21:10:38 betelgeuse Exp $
inherit java-ant-2 java-pkg-2
@@ -26,24 +26,20 @@ S="${WORKDIR}/${P}-src/tagunit-core"
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
java-ant_rewrite-classpath
-}
-
-src_compile() {
echo ${PV} > ../version.txt
mkdir ../lib
-
- local antflags="build"
- antflags="${antflags} -Dgentoo.classpath=$(java-pkg_getjars ant-core,servletapi-2.4)"
- eant ${antflags} $(use_doc javadoc)
}
+EANT_BUILD_TARGET="build"
+EANT_GENTOO_CLASSPATH="ant-core,servletapi-2.4"
+
src_install() {
java-pkg_dojar lib/${PN}.jar
cd ${S}/..
- dodoc changes.txt readme.txt
- use doc && java-pkg_dohtml -r doc/api/*
+ dodoc changes.txt readme.txt || die
+ use doc && java-pkg_dojavadoc tagunit-core/doc/api
use source && java-pkg_dosrc tagunit-core/src/*
}