diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-04-13 09:20:16 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-04-13 09:20:16 +0000 |
commit | a9e7bf2d380e9b17d3c79e819a346130e380c75c (patch) | |
tree | 783cf4887235e8c7d0fe0fbbb84e5140e503974c /dev-java/relaxng-datatype | |
parent | LICENSE corrected to BSD-2 (diff) | |
download | gentoo-2-a9e7bf2d380e9b17d3c79e819a346130e380c75c.tar.gz gentoo-2-a9e7bf2d380e9b17d3c79e819a346130e380c75c.tar.bz2 gentoo-2-a9e7bf2d380e9b17d3c79e819a346130e380c75c.zip |
Stylistic cleanup.
(Portage version: 2.1.2.3)
Diffstat (limited to 'dev-java/relaxng-datatype')
-rw-r--r-- | dev-java/relaxng-datatype/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/relaxng-datatype/relaxng-datatype-1.0-r1.ebuild | 27 |
2 files changed, 16 insertions, 19 deletions
diff --git a/dev-java/relaxng-datatype/ChangeLog b/dev-java/relaxng-datatype/ChangeLog index 2b936c207730..1fc4b76f413f 100644 --- a/dev-java/relaxng-datatype/ChangeLog +++ b/dev-java/relaxng-datatype/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/relaxng-datatype -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/relaxng-datatype/ChangeLog,v 1.10 2007/01/04 04:02:34 tgall Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/relaxng-datatype/ChangeLog,v 1.11 2007/04/13 09:20:16 betelgeuse Exp $ + + 13 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> + relaxng-datatype-1.0-r1.ebuild: + Stylistic cleanup. 03 Jan 2007; Tom Gall <tgall@gentoo.org> relaxng-datatype-1.0.ebuild: diff --git a/dev-java/relaxng-datatype/relaxng-datatype-1.0-r1.ebuild b/dev-java/relaxng-datatype/relaxng-datatype-1.0-r1.ebuild index 6939b672fb90..f3daa46d6ed7 100644 --- a/dev-java/relaxng-datatype/relaxng-datatype-1.0-r1.ebuild +++ b/dev-java/relaxng-datatype/relaxng-datatype-1.0-r1.ebuild @@ -1,6 +1,8 @@ -# 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/relaxng-datatype/relaxng-datatype-1.0-r1.ebuild,v 1.3 2006/12/09 09:23:33 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/relaxng-datatype/relaxng-datatype-1.0-r1.ebuild,v 1.4 2007/04/13 09:20:16 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc source" inherit java-pkg-2 java-ant-2 eutils @@ -16,31 +18,22 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" IUSE="doc source" DEPEND=">=virtual/jdk-1.4 - app-arch/unzip - source? ( app-arch/zip ) - dev-java/ant-core" + app-arch/unzip" RDEPEND=">=virtual/jre-1.4" S="${WORKDIR}/${MY_P}" src_unpack() { unpack ${A} - cd ${S} - rm -f *.jar - epatch ${FILESDIR}/${P}-build_xml.patch -} - -src_compile() { - local antflags="jar" - use doc && antflags="${antflags} javadoc" - - eant ${antflags} || die "Compilation failed" + cd "${S}" + rm -v *.jar || die + epatch "${FILESDIR}/${P}-build_xml.patch" } src_install() { java-pkg_dojar ${MY_PN}.jar - dodoc README.txt + dodoc README.txt || die - use doc && java-pkg_dohtml -r doc/api + use doc && java-pkg_dojavadoc doc/api use source && java-pkg_dosrc src/* } |