diff options
Diffstat (limited to 'dev-java/xp/xp-0.5-r1.ebuild')
-rw-r--r-- | dev-java/xp/xp-0.5-r1.ebuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/dev-java/xp/xp-0.5-r1.ebuild b/dev-java/xp/xp-0.5-r1.ebuild index 837735167d29..6a5f94f26448 100644 --- a/dev-java/xp/xp-0.5-r1.ebuild +++ b/dev-java/xp/xp-0.5-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/xp/xp-0.5-r1.ebuild,v 1.1 2007/01/28 21:10:19 wltjr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/xp/xp-0.5-r1.ebuild,v 1.2 2007/01/28 21:30:44 betelgeuse Exp $ inherit java-pkg-2 java-ant-2 @@ -11,7 +11,7 @@ LICENSE="JamesClark" SLOT="0" KEYWORDS="~x86 ~amd64 ~ppc" -IUSE="doc" +IUSE="doc source" DEPEND=">=virtual/jdk-1.4 dev-java/ant-core @@ -22,16 +22,18 @@ S=${WORKDIR} src_unpack() { unpack ${A} - rm -f xp.jar - cp ${FILESDIR}/build.xml . + rm -v xp.jar + cp "${FILESDIR}/build.xml" . } src_compile() { - eant jar + eant jar #precompiled javadocs } src_install() { java-pkg_dojar xp.jar - dodoc docs/copying.txt + dodoc docs/copying.txt || die + #has index.html and javadocs here use doc && java-pkg_dohtml -r docs/* + use source && java-pkg_dosrc com } |