diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-27 17:36:54 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-27 17:36:54 +0000 |
commit | 5447f063556a21da58c01c899cf7e0a88fc0c14a (patch) | |
tree | 1210acd9dc8e4b37745900cf5f5a668ab6f32288 /dev-java/ecs/ecs-1.4.1-r1.ebuild | |
parent | Initital commit of the aiccu ebuild (close #64409). (diff) | |
download | gentoo-2-5447f063556a21da58c01c899cf7e0a88fc0c14a.tar.gz gentoo-2-5447f063556a21da58c01c899cf7e0a88fc0c14a.tar.bz2 gentoo-2-5447f063556a21da58c01c899cf7e0a88fc0c14a.zip |
moved from dev-java/regexp to dev-java/jakarta-regexp dependency. see #71336. introduced support for the jikes and source useflag.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/ecs/ecs-1.4.1-r1.ebuild')
-rw-r--r-- | dev-java/ecs/ecs-1.4.1-r1.ebuild | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/dev-java/ecs/ecs-1.4.1-r1.ebuild b/dev-java/ecs/ecs-1.4.1-r1.ebuild index 7000e8af8557..1b0bb9cd742c 100644 --- a/dev-java/ecs/ecs-1.4.1-r1.ebuild +++ b/dev-java/ecs/ecs-1.4.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/ecs/ecs-1.4.1-r1.ebuild,v 1.3 2005/02/06 01:03:43 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ecs/ecs-1.4.1-r1.ebuild,v 1.4 2005/03/27 17:36:54 luckyduck Exp $ inherit java-pkg @@ -8,29 +8,38 @@ DESCRIPTION="Java library to generate markup language text such as HTML and XML. HOMEPAGE="http://jakarta.apache.org/ecs" SRC_URI="http://jakarta.apache.org/builds/jakarta-ecs/release/v${PV}/${PN}-${PV}.tar.gz" LICENSE="Apache-1.1" -DEPEND="virtual/jdk - >=dev-java/ant-1.4 - >=dev-java/regexp-1.2 +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-core-1.4 + jikes? ( dev-java/jikes ) + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.3 + =dev-java/regexp-1.3* >=dev-java/xerces-2.6.2-r1" -RDEPEND="virtual/jre" SLOT="0" KEYWORDS="x86 amd64" -IUSE="doc" +IUSE="doc jikes source" src_unpack() { unpack ${A} cd ${S}/lib rm -f *.jar java-pkg_jar-from xerces-2 xercesImpl.jar xerces.jar - java-pkg_jar-from regexp + java-pkg_jar-from jakarta-regexp-1.3 jakarta-regexp.jar regexp.jar } src_compile() { - ant -f build/build-ecs.xml || die "compilation failed" + local antflags="jar" + use doc && antflags="${antflags} javadocs" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant -f build/build-ecs.xml ${antflags} || die "compilation failed" } src_install() { java-pkg_dojar bin/*.jar - dodoc AUTHORS COPYING ChangeLog INSTALL README - use doc && java-pkg_dohtml -r docs/* + + if use doc; then + dodoc AUTHORS COPYING ChangeLog INSTALL README + java-pkg_dohtml -r docs/* + fi + use source && java-pkg_dosrc src/java/* } |