summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/qdox/ChangeLog9
-rw-r--r--dev-java/qdox/Manifest14
-rw-r--r--dev-java/qdox/qdox-1.12.ebuild54
3 files changed, 64 insertions, 13 deletions
diff --git a/dev-java/qdox/ChangeLog b/dev-java/qdox/ChangeLog
index 52459344851d..3cd6cf2b75e4 100644
--- a/dev-java/qdox/ChangeLog
+++ b/dev-java/qdox/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/qdox
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/qdox/ChangeLog,v 1.23 2010/01/23 12:47:51 aballier Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/qdox/ChangeLog,v 1.24 2011/05/08 14:57:23 elvanor Exp $
+
+*qdox-1.12 (08 May 2011)
+
+ 08 May 2011; <elvanor@gentoo.org> +qdox-1.12.ebuild:
+ Bump to 1.12. New slot, not sure if needed.
23 Jan 2010; Alexis Ballier <aballier@gentoo.org> qdox-1.6.3.ebuild:
keyword ~x86-fbsd and fix find call to be bsd-compatible
diff --git a/dev-java/qdox/Manifest b/dev-java/qdox/Manifest
index 5871642488c5..a59f2d44f5ed 100644
--- a/dev-java/qdox/Manifest
+++ b/dev-java/qdox/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+DIST qdox-1.12-20100531.205010-5-project.tar.gz 519732 RMD160 fd83c2d7456182cf70c7e2bd10353345aee3149c SHA1 eec169a49a7ed34dd6ce47f82e4804bfc229f418 SHA256 7ec2a48498f996e35c6bfdbff1dbbb061e51ff16862c4f3c3f12235d30857cca
DIST qdox-1.6.3-sources.jar 63731 RMD160 991b73b5689f1cf39e33765080d81b306d358841 SHA1 3c22af34fff32972eea87a7464a1fdf719d4067a SHA256 7ddb3a75c1ab415c631ae39660679630653bbbed84895e5ed4b4775ce5327846
+EBUILD qdox-1.12.ebuild 1773 RMD160 ee621bc1f03b8673e5175d46b8514ad306258f50 SHA1 ed07359ad3a32c103f082c46ed38f8a0a66dfc17 SHA256 10dc2aa2342929154e1f8bd099ede6ea78061f63236724b9621c453228130d90
EBUILD qdox-1.6.3.ebuild 1403 RMD160 e99abc69688ee85f2d86fd7725aad275f3e1776e SHA1 7d5976c3740601ebc556959c6119727679ef84ff SHA256 2c57c5a8509178da33e8d85d82fab3fcfcce0e03861824870899f948765af7c0
-MISC ChangeLog 3265 RMD160 6c9307131338ca9b753d1c9ce14fca6d177eab0f SHA1 c1c4a235f95eb837e68082e61ecd5088cb54c400 SHA256 ff187f101f8d9fc1ff8784c161fcdd9a9bf9acac7ba68e13df4e3d086562d6ab
+MISC ChangeLog 3392 RMD160 db528bc4ed11bf514da0e4533d238fc6de566729 SHA1 c66e6987c24ef0fddfbb6cc6896d6189fd047556 SHA256 bb94b8755917f0686a74870b4e558f9fe89cf31468e13dfd0fda1d6fe21b3fe5
MISC metadata.xml 333 RMD160 1997a6645c248dcc565d6f9b1468319668d3d487 SHA1 5ea29a3834925f08c4147d41752091aa12eb65fd SHA256 f0672cb1531a3ae193d061df876a219c159f3d1943022299e6dd597e1b05fc43
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
-
-iEYEARECAAYFAkta8AEACgkQvFcC4BYPU0oVBACgspd9OCZF+Ud7y4sgPvY+KbfU
-76wAnRAEpecNykPRAVuxviTZXbQ28l6F
-=qXfH
------END PGP SIGNATURE-----
diff --git a/dev-java/qdox/qdox-1.12.ebuild b/dev-java/qdox/qdox-1.12.ebuild
new file mode 100644
index 000000000000..dd3446e8b3de
--- /dev/null
+++ b/dev-java/qdox/qdox-1.12.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/qdox/qdox-1.12.ebuild,v 1.1 2011/05/08 14:57:23 elvanor Exp $
+
+EAPI="3"
+JAVA_PKG_IUSE="doc source"
+inherit java-pkg-2 java-ant-2
+DESCRIPTION="Parser for extracting class/interface/method definitions"
+HOMEPAGE="http://qdox.codehaus.org/"
+SRC_URI="http://snapshots.repository.codehaus.org/com/thoughtworks/qdox/qdox/1.12-SNAPSHOT/qdox-1.12-20100531.205010-5-project.tar.gz "
+LICENSE="Apache-2.0"
+SLOT="1.12"
+KEYWORDS="~x86"
+IUSE=""
+S="${WORKDIR}/${PN}-${PV}-SNAPSHOT"
+
+CDEPEND="dev-java/ant-core
+ dev-java/junit"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ dev-java/byaccj
+ >=dev-java/jflex-1.4.3
+ dev-java/jmock
+ ${CDEPEND}"
+RDEPEND=">=virtual/jre-1.4
+ ${CDEPEND}"
+
+src_compile() {
+ jflex src/grammar/lexer.flex --skel src/grammar/skeleton.inner -d src/java/com/thoughtworks/qdox/parser/impl/
+ byaccj -v -Jnorun -Jnoconstruct -Jclass=Parser -Jsemantic=Value -Jpackage=com.thoughtworks.qdox.parser.impl src/grammar/parser.y
+ mv Parser.java src/java/com/thoughtworks/qdox/parser/impl/
+ # create jar
+ mkdir -p build/classes
+ ejavac -sourcepath . -d build/classes -classpath $(java-pkg_getjars --build-only ant-core,junit,jmock-1.0) \
+ $(find . -name "*.java") || die "Cannot compile sources"
+ mkdir dist
+ cd build/classes
+ jar -cvf "${S}/dist/${PN}.jar" com || die "Cannot create JAR"
+
+ # generate javadoc
+ if use doc ; then
+ cd "${S}"
+ mkdir javadoc
+ javadoc -d javadoc -sourcepath src/java -subpackages com -classpath $(java-pkg_getjars ant-core,junit)
+ fi
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ java-pkg_register-ant-task
+
+ use source && java-pkg_dosrc src/java/com
+ use doc && java-pkg_dojavadoc javadoc
+}