diff options
author | Ralph Sennhauser <sera@gentoo.org> | 2012-09-27 19:16:46 +0000 |
---|---|---|
committer | Ralph Sennhauser <sera@gentoo.org> | 2012-09-27 19:16:46 +0000 |
commit | b8a2fd427a0adaa76cc365a08f58d6b1c55e92c9 (patch) | |
tree | 3ecc8766876909d64ed1fcd388e9772d959e56fb /dev-java | |
parent | Stable for x86, wrt bug #435824 (diff) | |
download | gentoo-2-b8a2fd427a0adaa76cc365a08f58d6b1c55e92c9.tar.gz gentoo-2-b8a2fd427a0adaa76cc365a08f58d6b1c55e92c9.tar.bz2 gentoo-2-b8a2fd427a0adaa76cc365a08f58d6b1c55e92c9.zip |
Require >=jdk-1.5 for javacc-5.0. #315557
(Portage version: 2.1.11.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/xjavadoc/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/xjavadoc/xjavadoc-1.1-r2.ebuild | 44 |
2 files changed, 51 insertions, 2 deletions
diff --git a/dev-java/xjavadoc/ChangeLog b/dev-java/xjavadoc/ChangeLog index c48735551b50..648fc08048b2 100644 --- a/dev-java/xjavadoc/ChangeLog +++ b/dev-java/xjavadoc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/xjavadoc -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xjavadoc/ChangeLog,v 1.12 2007/08/03 15:46:13 betelgeuse Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xjavadoc/ChangeLog,v 1.13 2012/09/27 19:16:46 sera Exp $ + +*xjavadoc-1.1-r2 (27 Sep 2012) + + 27 Sep 2012; Ralph Sennhauser <sera@gentoo.org> +xjavadoc-1.1-r2.ebuild: + Require >=jdk-1.5 for javacc-5.0. #315557 03 Aug 2007; Petteri Räty <betelgeuse@gentoo.org> xjavadoc-1.1-r1.ebuild: Remove monolithic ant support as split ant is stable now. diff --git a/dev-java/xjavadoc/xjavadoc-1.1-r2.ebuild b/dev-java/xjavadoc/xjavadoc-1.1-r2.ebuild new file mode 100644 index 000000000000..73d841710e7e --- /dev/null +++ b/dev-java/xjavadoc/xjavadoc-1.1-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xjavadoc/xjavadoc-1.1-r2.ebuild,v 1.1 2012/09/27 19:16:46 sera Exp $ + +EAPI="4" + +JAVA_PKG_IUSE="source" +WANT_ANT_TASKS="ant-nodeps" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="A standalone implementation of JavaDoc engine suited for XDoclet" +HOMEPAGE="http://xdoclet.sourceforge.net/xjavadoc/" +SRC_URI="mirror://sourceforge/xdoclet/${P}-src.tar.gz + mirror://gentoo/${P}-supplement.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +COMMON_DEPEND=" + dev-java/commons-collections:0 + dev-java/junit:0" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEPEND}" +DEPEND=">=virtual/jdk-1.5 + dev-java/javacc + ${COMMON_DEPEND}" + +java_prepare() { + # remove the junit tests, would need xdoclet, causing circular dep + epatch "${FILESDIR}"/${P}-nojunit.patch + + cd "${S}"/lib || die + rm -v *.jar || die + java-pkg_jar-from commons-collections,junit + java-pkg_jar-from --build-only javacc +} + +src_install() { + java-pkg_dojar target/${PN}.jar + use source && java-pkg_dosrc src/* +} |