diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2005-08-03 19:07:58 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2005-08-03 19:07:58 +0000 |
commit | c2d69b83f9fcb8eb8b71d235efa266f453c3c426 (patch) | |
tree | 1e57222a89166d74edd4aa8492f204e3165bf922 /dev-java | |
parent | dosrc: only accept java files (diff) | |
download | gentoo-2-c2d69b83f9fcb8eb8b71d235efa266f453c3c426.tar.gz gentoo-2-c2d69b83f9fcb8eb8b71d235efa266f453c3c426.tar.bz2 gentoo-2-c2d69b83f9fcb8eb8b71d235efa266f453c3c426.zip |
Properly fixed previous entry
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/junit/junit-3.8.1-r1.ebuild | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/dev-java/junit/junit-3.8.1-r1.ebuild b/dev-java/junit/junit-3.8.1-r1.ebuild index e92623f4e7c4..701ac82b42ef 100644 --- a/dev-java/junit/junit-3.8.1-r1.ebuild +++ b/dev-java/junit/junit-3.8.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-3.8.1-r1.ebuild,v 1.8 2005/08/02 20:55:58 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-3.8.1-r1.ebuild,v 1.9 2005/08/03 19:07:58 axxo Exp $ inherit java-pkg @@ -34,18 +34,11 @@ src_compile() { } src_install() { + use source && java-pkg_dosrc junit cd ${MY_P} java-pkg_dojar junit.jar dodir /usr/share/ant-core/lib dosym /usr/share/junit/lib/junit.jar /usr/share/ant-core/lib/ java-pkg_dohtml -r README.html cpl-v10.html || die "failed to install docs" use doc && java-pkg_dohtml -r doc javadoc - - if use source; then - #we need to clean so that we don't install useless class files to the - #src zip file. - cd ${S} - ant clean || die "failed to clean the source tree" - java-pkg_dosrc junit - fi } |