1 |
elvanor 11/05/08 14:57:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: qdox-1.12.ebuild |
5 |
Log: |
6 |
Version bump to 1.12. |
7 |
|
8 |
(Portage version: 2.1.9.42/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.24 dev-java/qdox/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/qdox/ChangeLog?rev=1.24&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/qdox/ChangeLog?rev=1.24&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/qdox/ChangeLog?r1=1.23&r2=1.24 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/qdox/ChangeLog,v |
20 |
retrieving revision 1.23 |
21 |
retrieving revision 1.24 |
22 |
diff -u -r1.23 -r1.24 |
23 |
--- ChangeLog 23 Jan 2010 12:47:51 -0000 1.23 |
24 |
+++ ChangeLog 8 May 2011 14:57:23 -0000 1.24 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-java/qdox |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/qdox/ChangeLog,v 1.23 2010/01/23 12:47:51 aballier Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/qdox/ChangeLog,v 1.24 2011/05/08 14:57:23 elvanor Exp $ |
31 |
+ |
32 |
+*qdox-1.12 (08 May 2011) |
33 |
+ |
34 |
+ 08 May 2011; <elvanor@g.o> +qdox-1.12.ebuild: |
35 |
+ Bump to 1.12. New slot, not sure if needed. |
36 |
|
37 |
23 Jan 2010; Alexis Ballier <aballier@g.o> qdox-1.6.3.ebuild: |
38 |
keyword ~x86-fbsd and fix find call to be bsd-compatible |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-java/qdox/qdox-1.12.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/qdox/qdox-1.12.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/qdox/qdox-1.12.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: qdox-1.12.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/qdox/qdox-1.12.ebuild,v 1.1 2011/05/08 14:57:23 elvanor Exp $ |
52 |
|
53 |
EAPI="3" |
54 |
JAVA_PKG_IUSE="doc source" |
55 |
inherit java-pkg-2 java-ant-2 |
56 |
DESCRIPTION="Parser for extracting class/interface/method definitions" |
57 |
HOMEPAGE="http://qdox.codehaus.org/" |
58 |
SRC_URI="http://snapshots.repository.codehaus.org/com/thoughtworks/qdox/qdox/1.12-SNAPSHOT/qdox-1.12-20100531.205010-5-project.tar.gz " |
59 |
LICENSE="Apache-2.0" |
60 |
SLOT="1.12" |
61 |
KEYWORDS="~x86" |
62 |
IUSE="" |
63 |
S="${WORKDIR}/${PN}-${PV}-SNAPSHOT" |
64 |
|
65 |
CDEPEND="dev-java/ant-core |
66 |
dev-java/junit" |
67 |
DEPEND=">=virtual/jdk-1.4 |
68 |
app-arch/unzip |
69 |
dev-java/byaccj |
70 |
>=dev-java/jflex-1.4.3 |
71 |
dev-java/jmock |
72 |
${CDEPEND}" |
73 |
RDEPEND=">=virtual/jre-1.4 |
74 |
${CDEPEND}" |
75 |
|
76 |
src_compile() { |
77 |
jflex src/grammar/lexer.flex --skel src/grammar/skeleton.inner -d src/java/com/thoughtworks/qdox/parser/impl/ |
78 |
byaccj -v -Jnorun -Jnoconstruct -Jclass=Parser -Jsemantic=Value -Jpackage=com.thoughtworks.qdox.parser.impl src/grammar/parser.y |
79 |
mv Parser.java src/java/com/thoughtworks/qdox/parser/impl/ |
80 |
# create jar |
81 |
mkdir -p build/classes |
82 |
ejavac -sourcepath . -d build/classes -classpath $(java-pkg_getjars --build-only ant-core,junit,jmock-1.0) \ |
83 |
$(find . -name "*.java") || die "Cannot compile sources" |
84 |
mkdir dist |
85 |
cd build/classes |
86 |
jar -cvf "${S}/dist/${PN}.jar" com || die "Cannot create JAR" |
87 |
|
88 |
# generate javadoc |
89 |
if use doc ; then |
90 |
cd "${S}" |
91 |
mkdir javadoc |
92 |
javadoc -d javadoc -sourcepath src/java -subpackages com -classpath $(java-pkg_getjars ant-core,junit) |
93 |
fi |
94 |
} |
95 |
|
96 |
src_install() { |
97 |
java-pkg_dojar dist/${PN}.jar |
98 |
java-pkg_register-ant-task |
99 |
|
100 |
use source && java-pkg_dosrc src/java/com |
101 |
use doc && java-pkg_dojavadoc javadoc |
102 |
} |