diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/lucene | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/lucene')
25 files changed, 1415 insertions, 0 deletions
diff --git a/dev-java/lucene/Manifest b/dev-java/lucene/Manifest new file mode 100644 index 000000000000..20b51b1a8ef5 --- /dev/null +++ b/dev-java/lucene/Manifest @@ -0,0 +1,16 @@ +DIST lucene-1.4.3-src.tar.gz 768320 SHA256 62051daecebbae50c4e9d1c4d840f32fc58d85b0a5b370095c98e346c9ba1049 SHA512 426539a4b4a8887485c4301b2127ad4815646d1a81bca877ed2b0e68d886fcaf844449532a080754b79696c0f9e9c5f304be28487e0f9aa11178565a20f29911 WHIRLPOOL dea750d36a33689fa46926271a5c3be62b011e327ce9fa671a480a7ff9ce4d430d678fbf6f82befd81510d574e303f71b627d15b438492a8a34d5f60b5569b95 +DIST lucene-1.9.1-src.tar.gz 6135056 SHA256 a06bd64ce779f3d4e4b539c280f6a882efb2fd8cba4ebbed02a2b6f92658524f SHA512 fb9f29e0d38d6525d7f6f86d339867a08bfe77ba18a023885a3ecb093d217840c274c767b6e1451f7c58135919c6159122756ebde4640a47420526502395a994 WHIRLPOOL c9d83447742d2d0a2a30e73eb6ed2659db9be77d8bba0de716bdcf73af4bbbf0bf789251a8657c72aed217bf2b2deecb0ce044cf38d1b9a835cf66c338e9d548 +DIST lucene-2.1.0-src.tar.gz 8154476 SHA256 b18c6bff8d74ddd6baabf9288aec45c34e90d74f6688657a4af2cbd0847e6ad9 SHA512 9e9970c6f44b568867d0b714852d063758e8958eac76fa21ef7ab3f0e51f62bc2073d24faf8ad14bce560d6539287e65b82a5db0a35834dc0a0787729cf4a7aa WHIRLPOOL a38d6ce7015c5a2511d0a2d1d848d9762818c11ca9821cff47ded077f5934135a140e8b0ac1e4eea5085ff925535669fc56b10d18e86d73e124b7dd2fe1e0f71 +DIST lucene-2.2.0-src.tar.gz 6054069 SHA256 c40372fbe4b586cf715c84194cef83df26bb65cc026aca1c3be22a5e81bd1370 SHA512 afb40d3e71e2f5e45150b4e84635b9022bfe495de2fd6bc18e9792398a62258396f242266babd7209dfa1706e61c54c982d6ee70264b7807b60e6f25321c9cc7 WHIRLPOOL a0ccdf8823bc8eac432f1b0e5048f33b01249c01cc7da4033dbcefdd7b0259eb31020ec996adbafeb37284959f177f90e22131544d5ad9080da686fc4af7bd7e +DIST lucene-2.3.0-src.tar.gz 4591950 SHA256 c020207987cb3bf415bf168b64245da3900de086312b82ce9b11d275146420b6 SHA512 ee3aa3388932f38a06a23d75bc1ad0043238155f3b474c651ed716dc0b8f4158f49cb79002c31197f28e6d2286b7dc22d00e801d63ec153605b7af2b70a0387e WHIRLPOOL 0f259265c152bca2356940085581e8ff46e98ab5415d68d0714683582aea2f7746f939d8e0e30bc0987d0970b6735cf6346eee2be784efad4be442a950a8a88f +DIST lucene-2.3.1-src.tar.gz 4597493 SHA256 84ddee3a667242917c8117d9e273d9e81ef7f4015c69a7758f12b8018054e646 SHA512 95269c89485c4b23566459543365788c4c4c9c4b0bce6273dff63185e1dfabf643c37fd166227ffd89e4a6ea223aba19c79f3fdf7429a0cd69aadf34b863c8f2 WHIRLPOOL a6b211db97749187b3ee0036933fad3a2cf97208a5a9553cafc5c0bb33c3a3fc9a502203f4b855b6a8c4ffa3faa7b1041c879c44dccd48a5da407cf5fc458bfe +DIST lucene-2.3.2-src.tar.gz 4602041 SHA256 d0cc4b8a40900bbb3243d2e9d9987e0ea0e7d359a2992222bc9acf296b208416 SHA512 42bf988b2eed45ea8d8a3523d9fcf4e384e0e9729a25a54e518a34faf960370a8f7d824f537df7155dc2b64ac11e1b30a8e1ea745a0e054c86722f6e8551360d WHIRLPOOL d8db8e2962624f11e35d69f49a4bf000ebec33a6b01d42e71b5e19cc160c0a29167f94d6b96bd9d45154aa7292469d31c502670bfd0c54e78d333c89e6f33c03 +DIST lucene-2.4.0-src.tar.gz 5053702 SHA256 01509848b8cf2e6675a38fc06124c7622cdd573e975ebcc893c36903b416b7c7 SHA512 d01893a92e979d229103c30c02b96a328bdb04984c7af8633cb4c8acc0a9008f999da240489408a8412fcb42eb19ff2ade3bfea823ae735d50baab3228b89af4 WHIRLPOOL 3adf147dfd80dc1c9643152eb16011ee6a9f02f528d95f2ba8911caccd505c8f4cd93e603c556db5a7ded85c2a32cb1dc333a438b713e6fe6132aeee84ba1b04 +DIST lucene-2.4.1-src.tar.gz 5057003 SHA256 47ecc5e105717d356e0468433d1a60f84f620d79ff9f48a78ca4be6c349b6a10 SHA512 cf227eea4aeee904ccf5316ee7f2399864bf28b9c01e044ef27232dd483c3a5f0ecc8836633f44acfa41ffee6bf1c530e756ef45fa77ac1d15e1f83129b7aa5e WHIRLPOOL e452450c1981724b133af16098b29a1bcc6bfdd1ce2785929599278c674fbe9c2863d35fe93ae78a361d790eda29da62b25613a4ee57fe3b49290dfd11ebd3be +DIST lucene-2.9.1-src.tar.gz 12459850 SHA256 7e1d06d3bbc2a71889c84f5f89c8af0b438184097a57e7070790c79a1aeb9102 SHA512 1dae3a33b50f7a8e8a2e578ddc19ff9d33b49bb3cb39d1d5e6706140c8e737a81b2cb587eb51e2dc4899cd3b1b9ce3f4795c4552a99e48e0960fbcbed872c9ed WHIRLPOOL 9357b78e794248032cb9f6097d3969e48dbfe0179afae69e779e58d1ebaae0230f7003a4bb26ec6df951fedc4091c779529582dbdd5496b27cba0613a67254d8 +DIST lucene-2.9.4-src.tar.gz 12494586 SHA256 2a8bd7c6f0632bc406bcec0091d286b3efd4743c2d45fd88b0d0d564281780cd SHA512 75c08520f41ec6ca603fac42471dfec5310c5de2c8b4b762719329acc22d5ac2fbc676d328a9c83966c39b88a4cc0ac5e97960a18ee8459575b4c823ba5fd3d6 WHIRLPOOL 21b02cc87d956d04248f017a8b1b6c37d719428e9431642c6a2bf064f04d6878ee075eb5d4c7c080b20700af71dd66c01359c4de1de4b6934399a4832967b83b +DIST lucene-3.0.0-src.tar.gz 12421467 SHA256 661fc4eec33c2c509c1a53896da469304a51c5cc5ce51313d9f77f385c63346a SHA512 7ae59713e6c7f74487c62461f29dfed43700ee56ce6367a32370e8e47c7e8ab89d1ed01fd6bc09ff2c1fcd8136a7e1383be6c2f41ba5cbcb72101865dbd20a12 WHIRLPOOL 591e50311303307b0be75f98316c7bc39d35df1505d8ce9478c5a2ea5bf9a28c96aeea6bd02bef2865b79094e1a98a9b4ed5afa6b4706fa06cd21d6208aae78b +DIST lucene-3.0.3-src.tar.gz 12446839 SHA256 91365fe5af0279b7b6300f17033580746c90272417665d9572db1c1a9d1ba37e SHA512 b9a09a3efc63450c8d4fab840185b21aab288a7fb02a7f8f63af08ac3f3ebee18a255d9ecfdd3d7301e8c9e93bee90abe2ae10e2b91ed6770c1d7075848b5869 WHIRLPOOL 72f2f5ad089b790dd0eefe7a1b6cf3d1e8a2aa85ea42bb0cfc754498feb00a2ec2a4ad80e1f2228d7a873048c1b8057e32d19d17bfffb044ae23180605a21fcb +DIST lucene-3.4.0-src.tgz 39329123 SHA256 e0471a61085b4aac8db831b5c981262d972a611e4fea491c4e188a9ee730ff2a SHA512 c5cc4394af12e72c47c246f59bd2e352ff9d5b5749bed5b68c3a0925ae85fc595cb316f1a15e9074597e9c347b4193aa9d7c039a06c4bf9a603362ce4c3f0b39 WHIRLPOOL e217842d77c7875e85442551b1748ae18c89dfeb71d3c24809fc625890fe2c8ce57de242d9a61f95474b8d12d20b2405ff2692286957cf686bca292b2cae0aea +DIST lucene-3.5.0-src.tgz 39564076 SHA256 814dbfcd91b76522ae350817c306be8c4a72dfe8c809540be4b20209acfb9a27 SHA512 58846190ed0e8c0747e14cb46bf27255d0e4ee93aa0969cf16140713ce20c8fc3f451353437313f14416c92b7b6825d4ce3416d9c7ce4cb1854f31877c2af275 WHIRLPOOL ca2994a3de615d4f80f30f26f852ed6919830b81de666034997bdc65defdde2e0777f924d08f67ee7ca6467624a036305eb86c31fb0d7e59e0ffb57f3f69404f +DIST lucene-3.6.2-src.tgz 32139784 SHA256 984bf1e82e32ecdc6c4ff7f582b5bd0a4c2bf68acd1d48bf6df74ad86c97ca8c SHA512 e9a08a1b5303c44e4feecc0bb6e7013e4a9420517ae4e98999bd318ec25b5b2ff3b6de8b51db8f68afc0fdc3149829297023a95b103d4f99e7db68deee4c3965 WHIRLPOOL bfec9e7f937c75337b3582b7d5c4de5b954eb4d256f0218cbf36ea67bcb9fae8dc1e298c0e69e8168865ba21b75c271c29dd6b0adf40cae5f725f0b777b66f20 diff --git a/dev-java/lucene/files/disable-contrib.patch b/dev-java/lucene/files/disable-contrib.patch new file mode 100644 index 000000000000..550564fb40aa --- /dev/null +++ b/dev-java/lucene/files/disable-contrib.patch @@ -0,0 +1,45 @@ +diff -u -r lucene-1.9.1-orig/build.xml lucene-1.9.1/build.xml +--- lucene-1.9.1-orig/build.xml 2006-02-27 21:12:42.000000000 +0100 ++++ lucene-1.9.1/build.xml 2008-01-16 13:28:50.000000000 +0100 +@@ -368,41 +368,10 @@ + <packageset dir="src/java"/> + + <packageset dir="src/demo"/> +- +- <packageset dir="contrib/analyzers/src/java"/> +- <packageset dir="contrib/ant/src/java"/> +- <packageset dir="contrib/highlighter/src/java"/> +- <packageset dir="contrib/lucli/src/java"/> +- <packageset dir="contrib/memory/src/java"/> +- <packageset dir="contrib/miscellaneous/src/java"/> +- <packageset dir="contrib/similarity/src/java"/> +- <packageset dir="contrib/regex/src/java"/> +- <packageset dir="contrib/snowball/src/java"/> +- <packageset dir="contrib/spellchecker/src/java"/> +- <packageset dir="contrib/surround/src/java"/> +- <packageset dir="contrib/swing/src/java"/> +- <packageset dir="contrib/wordnet/src/java"/> + + <group title="Core" packages="org.apache.*:org.apache.lucene.analysis:org.apache.lucene.analysis.standard*"/> + + <group title="Demo" packages="org.apache.lucene.demo*"/> +- +- <group title="contrib: Analysis" packages="org.apache.lucene.analysis.*"/> +- <group title="contrib: Ant" packages="org.apache.lucene.ant*"/> +- +- <group title="contrib: Highlighter" packages="org.apache.lucene.search.highlight*"/> +- <group title="contrib: Lucli" packages="lucli*"/> +- <group title="contrib: Memory" packages="org.apache.lucene.index.memory*"/> +- <group title="contrib: Miscellaneous " packages="org.apache.lucene.misc*:org.apache.lucene.queryParser.analyzing*:org.apache.lucene.queryParser.precedence*"/> +- <group title="contrib: MoreLikeThis" packages="org.apache.lucene.search.similar*"/> +- <group title="contrib: RegEx" packages="org.apache.lucene.search.regex*:org.apache.regexp*"/> +- <group title="contrib: Snowball" packages="org.apache.lucene.analysis.snowball*:net.sf.snowball*"/> +- <group title="contrib: SpellChecker" packages="org.apache.lucene.search.spell*"/> +- <group title="contrib: Surround Parser" packages="org.apache.lucene.queryParser.surround*"/> +- <group title="contrib: Swing" packages="org.apache.lucene.swing*"/> +- <group title="contrib: WordNet" packages="org.apache.lucene.wordnet*"/> +- +- + </javadoc> + </sequential> + </macrodef> diff --git a/dev-java/lucene/files/lucene-manifest b/dev-java/lucene/files/lucene-manifest new file mode 100644 index 000000000000..3a742df6b264 --- /dev/null +++ b/dev-java/lucene/files/lucene-manifest @@ -0,0 +1,10 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-Vendor: %vendorName +Bundle-Localization: plugin +Export-Package: org.apache.lucene,org.apache.lucene.analysis,org.apache.lucene.analysis.de,org.apache.lucene.analysis.standard, + org.apache.lucene.document,org.apache.lucene.index,org.apache.lucene.queryParser, org.apache.lucene.search,org.apache.lucene.search.spans, + org.apache.lucene.store,org.apache.lucene.util +Bundle-SymbolicName: org.apache.lucene +Bundle-Version: 2.2.0 diff --git a/dev-java/lucene/lucene-1.4.3-r3.ebuild b/dev-java/lucene/lucene-1.4.3-r3.ebuild new file mode 100644 index 000000000000..d55077424a4c --- /dev/null +++ b/dev-java/lucene/lucene-1.4.3-r3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +JAVA_PKG_IUSE="doc examples source test" +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +SRC_URI="mirror://apache/lucene/java/archive/${P}-src.tar.gz" +LICENSE="Apache-1.1" +SLOT="1" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" +DEPEND=">=virtual/jdk-1.4 + test? ( + =dev-java/junit-3* + dev-java/ant-junit + )" +RDEPEND=">=virtual/jdk-1.4" + +src_unpack() { + unpack ${A} + + cd "${S}/lib" || die + rm -v *.jar || die +} + +src_compile() { + eant jar-core $(use_doc javadocs) +} + +src_test() { + java-ant_rewrite-classpath build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test +} + +src_install() { + dodoc CHANGES.txt README.txt || die + java-pkg_newjar build/lucene-1.5-rc1-dev.jar + + if use doc; then + dohtml -r docs/* + java-pkg_dojavadoc build/docs/api + fi + use examples && java-pkg_doexamples src/demo + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-1.9.1.ebuild b/dev-java/lucene/lucene-1.9.1.ebuild new file mode 100644 index 000000000000..47b9e8ee59aa --- /dev/null +++ b/dev-java/lucene/lucene-1.9.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# This ebuild only builds the core of Lucene +# It does not build any optional component (contributions) + +JAVA_PKG_IUSE="test source doc" + +inherit java-pkg-2 java-ant-2 java-osgi + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +SRC_URI="mirror://apache/lucene/java/archive/${P}-src.tar.gz" +LICENSE="Apache-1.1" +SLOT="1.9" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" + +DEPEND=">=virtual/jdk-1.4 + test? ( dev-java/junit dev-java/ant-junit )" + +RDEPEND=">=virtual/jre-1.4" + +src_unpack() { + unpack ${A} + cd "${S}" + rm -rf contrib # we remove entirely the contrib directory + epatch "${FILESDIR}/disable-contrib.patch" + + if use test; then + mkdir lib + java-ant_rewrite-classpath "common-build.xml" + fi +} + +src_compile() { + eant jar-core $(use_doc javadocs) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test +} + +src_install() { + dodoc CHANGES.txt README.txt + # WTF is with the jar version below + java-osgi_newjar-fromfile "build/lucene-core-1.9.2-dev.jar" \ + "${FILESDIR}/lucene-manifest" "Apache Lucene" + + use doc && java-pkg_dojavadoc build/docs/api + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-2.1.0-r1.ebuild b/dev-java/lucene/lucene-2.1.0-r1.ebuild new file mode 100644 index 000000000000..e9991cc4335d --- /dev/null +++ b/dev-java/lucene/lucene-2.1.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +JAVA_PKG_IUSE="doc source test" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +SRC_URI="mirror://apache/lucene/java/archive/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2.1" +KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~x64-macos" +IUSE="" +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-nodeps + dev-java/javacc + test? ( dev-java/ant-junit =dev-java/junit-3* )" +RDEPEND=">=virtual/jdk-1.4" + +src_compile() { + # regenerate javacc files just because we can + # put javacc.jar on ant's classpath here even when <javacc> task + # doesn't use it - it's to fool the <available> test, first time + # it's useful not to have ignoresystemclasses=true... + ANT_TASKS="ant-nodeps javacc" eant \ + -Djavacc.home="${EPREFIX}"/usr/share/javacc/lib javacc + ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test +} + +src_install() { + dodoc CHANGES.txt README.txt + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar + + if use doc; then + dohtml -r docs/* + java-pkg_dojavadoc build/docs/api + fi + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-2.1.0-r2.ebuild b/dev-java/lucene/lucene-2.1.0-r2.ebuild new file mode 100644 index 000000000000..3f9d63cfb472 --- /dev/null +++ b/dev-java/lucene/lucene-2.1.0-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +JAVA_PKG_IUSE="doc source test" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +SRC_URI="mirror://apache/lucene/java/archive/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2.1" +KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x64-macos" +IUSE="" +DEPEND=">=virtual/jdk-1.5 + dev-java/ant-nodeps + dev-java/javacc + test? ( dev-java/ant-junit =dev-java/junit-3* )" +RDEPEND=">=virtual/jdk-1.5" + +src_compile() { + # regenerate javacc files just because we can + # put javacc.jar on ant's classpath here even when <javacc> task + # doesn't use it - it's to fool the <available> test, first time + # it's useful not to have ignoresystemclasses=true... + ANT_TASKS="ant-nodeps javacc" eant \ + -Djavacc.home="${EPREFIX}"/usr/share/javacc/lib javacc + ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test +} + +src_install() { + dodoc CHANGES.txt README.txt + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar + + if use doc; then + dohtml -r docs/* + java-pkg_dojavadoc build/docs/api + fi + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-2.2.0-r1.ebuild b/dev-java/lucene/lucene-2.2.0-r1.ebuild new file mode 100644 index 000000000000..fe5d6441b60d --- /dev/null +++ b/dev-java/lucene/lucene-2.2.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +JAVA_PKG_IUSE="doc source test" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +SRC_URI="mirror://apache/lucene/java/archive/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2.2" +KEYWORDS="amd64 ~ppc x86 ~x86-fbsd" +IUSE="" +DEPEND=">=virtual/jdk-1.5 + dev-java/ant-nodeps + dev-java/javacc + test? ( dev-java/ant-junit =dev-java/junit-3* )" +RDEPEND=">=virtual/jdk-1.5" + +src_compile() { + # regenerate javacc files just because we can + # put javacc.jar on ant's classpath here even when <javacc> task + # doesn't use it - it's to fool the <available> test, first time + # it's useful not to have ignoresystemclasses=true... + ANT_TASKS="ant-nodeps javacc" eant \ + -Djavacc.home="${EPREFIX}"/usr/share/javacc/lib javacc + ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar + + if use doc; then + dohtml -r docs/* + java-pkg_dojavadoc build/docs/api + fi + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-2.2.0.ebuild b/dev-java/lucene/lucene-2.2.0.ebuild new file mode 100644 index 000000000000..b6c685e1b7d9 --- /dev/null +++ b/dev-java/lucene/lucene-2.2.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +JAVA_PKG_IUSE="doc source test" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +SRC_URI="mirror://apache/lucene/java/archive/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2.2" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="" +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-nodeps + dev-java/javacc + test? ( dev-java/ant-junit =dev-java/junit-3* )" +RDEPEND=">=virtual/jdk-1.4" + +src_compile() { + # regenerate javacc files just because we can + # put javacc.jar on ant's classpath here even when <javacc> task + # doesn't use it - it's to fool the <available> test, first time + # it's useful not to have ignoresystemclasses=true... + ANT_TASKS="ant-nodeps javacc" eant \ + -Djavacc.home="${EPREFIX}"/usr/share/javacc/lib javacc + ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar + + if use doc; then + dohtml -r docs/* + java-pkg_dojavadoc build/docs/api + fi + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-2.3.0.ebuild b/dev-java/lucene/lucene-2.3.0.ebuild new file mode 100644 index 000000000000..e7166069de34 --- /dev/null +++ b/dev-java/lucene/lucene-2.3.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +JAVA_PKG_IUSE="doc source test" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +# when doing version bump, SRC_URI of the previous version should most probably +# be changed to java/archive/ ! +SRC_URI="mirror://apache/lucene/java/archive/${P}-src.tar.gz + mirror://apache/lucene/java/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2.3" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="" +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-nodeps + dev-java/javacc + test? ( dev-java/ant-junit =dev-java/junit-3* )" +RDEPEND=">=virtual/jdk-1.4" + +src_compile() { + # regenerate javacc files just because we can + # put javacc.jar on ant's classpath here even when <javacc> task + # doesn't use it - it's to fool the <available> test, first time + # it's useful not to have ignoresystemclasses=true... + ANT_TASKS="ant-nodeps javacc" eant \ + -Djavacc.home=/usr/share/javacc/lib javacc + ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs-core javadocs-demo) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt || die + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar + + if use doc; then + dohtml -r docs/* || die + # for the core and demo subdirs + java-pkg_dohtml -r build/docs/api + fi + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-2.3.1.ebuild b/dev-java/lucene/lucene-2.3.1.ebuild new file mode 100644 index 000000000000..e7166069de34 --- /dev/null +++ b/dev-java/lucene/lucene-2.3.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +JAVA_PKG_IUSE="doc source test" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +# when doing version bump, SRC_URI of the previous version should most probably +# be changed to java/archive/ ! +SRC_URI="mirror://apache/lucene/java/archive/${P}-src.tar.gz + mirror://apache/lucene/java/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2.3" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="" +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-nodeps + dev-java/javacc + test? ( dev-java/ant-junit =dev-java/junit-3* )" +RDEPEND=">=virtual/jdk-1.4" + +src_compile() { + # regenerate javacc files just because we can + # put javacc.jar on ant's classpath here even when <javacc> task + # doesn't use it - it's to fool the <available> test, first time + # it's useful not to have ignoresystemclasses=true... + ANT_TASKS="ant-nodeps javacc" eant \ + -Djavacc.home=/usr/share/javacc/lib javacc + ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs-core javadocs-demo) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt || die + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar + + if use doc; then + dohtml -r docs/* || die + # for the core and demo subdirs + java-pkg_dohtml -r build/docs/api + fi + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-2.3.2-r1.ebuild b/dev-java/lucene/lucene-2.3.2-r1.ebuild new file mode 100644 index 000000000000..1d907460792c --- /dev/null +++ b/dev-java/lucene/lucene-2.3.2-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +JAVA_PKG_IUSE="doc source test" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +# when doing version bump, SRC_URI of the previous version should most probably +# be changed to java/archive/ ! +SRC_URI="mirror://apache/lucene/java/archive/${P}-src.tar.gz + mirror://apache/lucene/java/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2.3" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-nodeps + dev-java/javacc + test? ( dev-java/ant-junit =dev-java/junit-3* )" +RDEPEND=">=virtual/jdk-1.4" + +src_compile() { + # regenerate javacc files just because we can + # put javacc.jar on ant's classpath here even when <javacc> task + # doesn't use it - it's to fool the <available> test, first time + # it's useful not to have ignoresystemclasses=true... + ANT_TASKS="ant-nodeps javacc" eant \ + -Djavacc.home="${EPREFIX}"/usr/share/javacc/lib javacc + ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs-core javadocs-demo) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt || die + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar + + if use doc; then + dohtml -r docs/* || die + # for the core and demo subdirs + java-pkg_dohtml -r build/docs/api + fi + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-2.3.2-r2.ebuild b/dev-java/lucene/lucene-2.3.2-r2.ebuild new file mode 100644 index 000000000000..a4f9e49de799 --- /dev/null +++ b/dev-java/lucene/lucene-2.3.2-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +JAVA_PKG_IUSE="doc source test" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +# when doing version bump, SRC_URI of the previous version should most probably +# be changed to java/archive/ ! +SRC_URI="mirror://apache/lucene/java/archive/${P}-src.tar.gz + mirror://apache/lucene/java/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2.3" +KEYWORDS="amd64 ~ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" +DEPEND=">=virtual/jdk-1.5 + dev-java/ant-nodeps + dev-java/javacc + test? ( dev-java/ant-junit =dev-java/junit-3* )" +RDEPEND=">=virtual/jdk-1.5" + +src_compile() { + # regenerate javacc files just because we can + # put javacc.jar on ant's classpath here even when <javacc> task + # doesn't use it - it's to fool the <available> test, first time + # it's useful not to have ignoresystemclasses=true... + ANT_TASKS="ant-nodeps javacc" eant \ + -Djavacc.home="${EPREFIX}"/usr/share/javacc/lib javacc + ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs-core javadocs-demo) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt || die + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar + + if use doc; then + dohtml -r docs/* || die + # for the core and demo subdirs + java-pkg_dohtml -r build/docs/api + fi + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-2.3.2.ebuild b/dev-java/lucene/lucene-2.3.2.ebuild new file mode 100644 index 000000000000..c38ef874e8b5 --- /dev/null +++ b/dev-java/lucene/lucene-2.3.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +JAVA_PKG_IUSE="doc source test" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +# when doing version bump, SRC_URI of the previous version should most probably +# be changed to java/archive/ ! +SRC_URI="mirror://apache/lucene/java/archive/${P}-src.tar.gz + mirror://apache/lucene/java/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2.3" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-nodeps + dev-java/javacc + test? ( dev-java/ant-junit =dev-java/junit-3* )" +RDEPEND=">=virtual/jdk-1.4" + +src_compile() { + # regenerate javacc files just because we can + # put javacc.jar on ant's classpath here even when <javacc> task + # doesn't use it - it's to fool the <available> test, first time + # it's useful not to have ignoresystemclasses=true... + ANT_TASKS="ant-nodeps javacc" eant \ + -Djavacc.home=/usr/share/javacc/lib javacc + ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs-core javadocs-demo) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt || die + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar + + if use doc; then + dohtml -r docs/* || die + # for the core and demo subdirs + java-pkg_dohtml -r build/docs/api + fi + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-2.4.0.ebuild b/dev-java/lucene/lucene-2.4.0.ebuild new file mode 100644 index 000000000000..9cc27f745122 --- /dev/null +++ b/dev-java/lucene/lucene-2.4.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +JAVA_PKG_IUSE="doc source test" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +# when doing version bump, SRC_URI of the previous version should most probably +# be changed to java/archive/ ! +SRC_URI="mirror://apache/lucene/java/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2.4" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="" +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-nodeps + dev-java/javacc + test? ( dev-java/ant-junit =dev-java/junit-3* )" +RDEPEND=">=virtual/jdk-1.4" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i -e '/-Xmax/ d' common-build.xml +} + +src_compile() { + # regenerate javacc files just because we can + # put javacc.jar on ant's classpath here even when <javacc> task + # doesn't use it - it's to fool the <available> test, first time + # it's useful not to have ignoresystemclasses=true... + ANT_TASKS="ant-nodeps javacc" eant \ + -Djavacc.home=/usr/share/javacc/lib javacc + ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs-core javadocs-demo) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt || die + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar + + if use doc; then + dohtml -r docs/* || die + # for the core and demo subdirs + java-pkg_dohtml -r build/docs/api + fi + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-2.4.1-r1.ebuild b/dev-java/lucene/lucene-2.4.1-r1.ebuild new file mode 100644 index 000000000000..0346bed97c40 --- /dev/null +++ b/dev-java/lucene/lucene-2.4.1-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +JAVA_PKG_IUSE="doc source test" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +# when doing version bump, SRC_URI of the previous version should most probably +# be changed to java/archive/ ! +SRC_URI="mirror://apache/lucene/java/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2.4" +KEYWORDS="amd64 ~ppc x86 ~x86-fbsd" +IUSE="" +DEPEND=">=virtual/jdk-1.5 + dev-java/ant-nodeps + dev-java/javacc + test? ( dev-java/ant-junit =dev-java/junit-3* )" +RDEPEND=">=virtual/jdk-1.5" + +src_prepare() { + sed -i -e '/-Xmax/ d' common-build.xml +} + +src_compile() { + # regenerate javacc files just because we can + # put javacc.jar on ant's classpath here even when <javacc> task + # doesn't use it - it's to fool the <available> test, first time + # it's useful not to have ignoresystemclasses=true... + ANT_TASKS="ant-nodeps javacc" eant \ + -Djavacc.home="${EPREFIX}"/usr/share/javacc/lib javacc + ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs-core javadocs-demo) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt || die + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar + + if use doc; then + dohtml -r docs/* || die + # for the core and demo subdirs + java-pkg_dohtml -r build/docs/api + fi + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-2.4.1.ebuild b/dev-java/lucene/lucene-2.4.1.ebuild new file mode 100644 index 000000000000..f84a0a4ec8f4 --- /dev/null +++ b/dev-java/lucene/lucene-2.4.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +JAVA_PKG_IUSE="doc source test" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +# when doing version bump, SRC_URI of the previous version should most probably +# be changed to java/archive/ ! +SRC_URI="mirror://apache/lucene/java/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2.4" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-nodeps + dev-java/javacc + test? ( dev-java/ant-junit =dev-java/junit-3* )" +RDEPEND=">=virtual/jdk-1.4" + +src_prepare() { + sed -i -e '/-Xmax/ d' common-build.xml +} + +src_compile() { + # regenerate javacc files just because we can + # put javacc.jar on ant's classpath here even when <javacc> task + # doesn't use it - it's to fool the <available> test, first time + # it's useful not to have ignoresystemclasses=true... + ANT_TASKS="ant-nodeps javacc" eant \ + -Djavacc.home="${EPREFIX}"/usr/share/javacc/lib javacc + ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs-core javadocs-demo) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt || die + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar + + if use doc; then + dohtml -r docs/* || die + # for the core and demo subdirs + java-pkg_dohtml -r build/docs/api + fi + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-2.9.1-r1.ebuild b/dev-java/lucene/lucene-2.9.1-r1.ebuild new file mode 100644 index 000000000000..ac09a09721cb --- /dev/null +++ b/dev-java/lucene/lucene-2.9.1-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" +JAVA_PKG_IUSE="doc source test" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +# when doing version bump, SRC_URI of the previous version should most probably +# be changed to java/archive/ ! +SRC_URI="mirror://apache/lucene/java/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2.9" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-nodeps:0 + dev-java/javacc:0 + test? ( dev-java/ant-junit =dev-java/junit-3* )" +RDEPEND=">=virtual/jdk-1.4" + +java_prepare() { + sed -i -e '/-Xmax/ d' common-build.xml +} + +src_compile() { + # regenerate javacc files just because we can + # put javacc.jar on ant's classpath here even when <javacc> task + # doesn't use it - it's to fool the <available> test, first time + # it's useful not to have ignoresystemclasses=true... + ANT_TASKS="ant-nodeps javacc" eant \ + -Djavacc.home=/usr/share/javacc/lib javacc + ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs-core javadocs-demo) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt || die + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar + + if use doc; then + dohtml -r docs/* || die + # for the core and demo subdirs + java-pkg_dohtml -r build/docs/api + fi + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-2.9.4.ebuild b/dev-java/lucene/lucene-2.9.4.ebuild new file mode 100644 index 000000000000..3ed46b12cf49 --- /dev/null +++ b/dev-java/lucene/lucene-2.9.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" +JAVA_PKG_IUSE="doc source test" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +# when doing version bump, SRC_URI of the previous version should most probably +# be changed to java/archive/ ! +SRC_URI="mirror://apache/lucene/java/${P}-src.tar.gz + mirror://apache/lucene/java/${PV}/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2.9" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" +DEPEND=">=virtual/jdk-1.5 + dev-java/ant-nodeps:0 + dev-java/javacc:0 + dev-java/junit:0 + test? ( dev-java/ant-junit )" +# junit is needed for compilation because tests are compiled for javacc target even when not requested +RDEPEND=">=virtual/jdk-1.5" + +java_prepare() { + sed -i -e '/-Xmax/ d' common-build.xml + find -name "*.jar" -type f | xargs rm -v + java-pkg_jar-from --build-only --into lib junit junit.jar junit-3.8.2.jar +} + +src_compile() { + # regenerate javacc files just because we can + # put javacc.jar on ant's classpath here even when <javacc> task + # doesn't use it - it's to fool the <available> test, first time + # it's useful not to have ignoresystemclasses=true... + ANT_TASKS="ant-nodeps javacc" eant \ + -Djavacc.home="${EPREFIX}"/usr/share/javacc/lib javacc + ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs-core javadocs-demo) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt || die + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar + + if use doc; then + dohtml -r docs/* || die + # for the core and demo subdirs + java-pkg_dohtml -r build/docs/api + fi + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-3.0.0.ebuild b/dev-java/lucene/lucene-3.0.0.ebuild new file mode 100644 index 000000000000..4e8a288ca530 --- /dev/null +++ b/dev-java/lucene/lucene-3.0.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" +JAVA_PKG_IUSE="doc source test" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +# when doing version bump, SRC_URI of the previous version should most probably +# be changed to java/archive/ ! +SRC_URI="mirror://apache/lucene/java/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="3.0" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" +IUSE="" +DEPEND=">=virtual/jdk-1.5 + dev-java/ant-nodeps:0 + dev-java/javacc:0 + test? ( dev-java/ant-junit =dev-java/junit-3* )" +RDEPEND=">=virtual/jdk-1.5" + +java_prepare() { + sed -i -e '/-Xmax/ d' common-build.xml +} + +src_compile() { + # regenerate javacc files just because we can + # put javacc.jar on ant's classpath here even when <javacc> task + # doesn't use it - it's to fool the <available> test, first time + # it's useful not to have ignoresystemclasses=true... + ANT_TASKS="ant-nodeps javacc" eant \ + -Djavacc.home="${EPREFIX}"/usr/share/javacc/lib javacc + ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs-core javadocs-demo) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt || die + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar + + if use doc; then + dohtml -r docs/* || die + # for the core and demo subdirs + java-pkg_dohtml -r build/docs/api + fi + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-3.0.3.ebuild b/dev-java/lucene/lucene-3.0.3.ebuild new file mode 100644 index 000000000000..a0dc5988dbd7 --- /dev/null +++ b/dev-java/lucene/lucene-3.0.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" +JAVA_PKG_IUSE="doc source test" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +# when doing version bump, SRC_URI of the previous version should most probably +# be changed to java/archive/ ! +SRC_URI="mirror://apache/lucene/java/${P}-src.tar.gz + mirror://apache/lucene/java/${PV}/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="3.0" +KEYWORDS="amd64 ppc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" +DEPEND=">=virtual/jdk-1.5 + dev-java/ant-nodeps:0 + dev-java/javacc:0 + dev-java/junit:0 + test? ( dev-java/ant-junit )" +# junit is needed for compilation because tests are compiled for javacc target even when not requested +RDEPEND=">=virtual/jdk-1.5" + +java_prepare() { + find -name "*.jar" -type f | xargs rm -v + sed -i -e '/-Xmax/ d' common-build.xml + java-pkg_jar-from --build-only --into lib junit junit.jar junit-3.8.2.jar +} + +src_compile() { + # regenerate javacc files just because we can + # put javacc.jar on ant's classpath here even when <javacc> task + # doesn't use it - it's to fool the <available> test, first time + # it's useful not to have ignoresystemclasses=true... + ANT_TASKS="ant-nodeps javacc" eant \ + -Djavacc.home="${EPREFIX}"/usr/share/javacc/lib javacc + ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs-core javadocs-demo) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt || die + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar + + if use doc; then + dohtml -r docs/* || die + # for the core and demo subdirs + java-pkg_dohtml -r build/docs/api + fi + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/lucene/lucene-3.4.0.ebuild b/dev-java/lucene/lucene-3.4.0.ebuild new file mode 100644 index 000000000000..82c7bfdca96a --- /dev/null +++ b/dev-java/lucene/lucene-3.4.0.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" +JAVA_PKG_IUSE="doc source test contrib" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml contrib-build.xml" +#JAVA_PKG_DEBUG=1 + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine library +written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +SRC_URI="mirror://apache/lucene/java/${PV}/${P}-src.tgz" +LICENSE="Apache-2.0" +SLOT="3.4" +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND=">=virtual/jdk-1.5 + dev-java/ant-nodeps:0 + dev-java/junit:4 + dev-java/ant-junit:0 + contrib? ( + dev-java/jakarta-regexp:1.4 + dev-java/commons-compress:0 + dev-java/commons-collections:0 + dev-java/commons-digester:0 + dev-java/commons-logging:0 + dev-java/commons-beanutils:1.7 + )" +RDEPEND=">=virtual/jdk-1.5" + +#dev-java/javacc:0 - no longer needed, files are prebuilt + +java_prepare() { + #find -name "*.jar" -type f | xargs rm -v + sed -i \ + -e '/-Xmax/ d' \ + common-build.xml + # FIXME: contrib builds do not work if junit not included + #java-pkg_jar-from --build-only --into lib \ + # junit-4 junit.jar junit-4.7.jar + java-pkg_jar-from --build-only --into lib \ + ant-core ant.jar ant-1.7.1.jar + java-pkg_jar-from --build-only --into lib \ + ant-junit ant-junit.jar ant-junit-1.7.1.jar + + if use contrib ; then + cd contrib/ + java-pkg_jar-from --build-only --into queries/lib \ + jakarta-regexp:1.4 jakarta-regexp.jar jakarta-regexpt-1.4.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-compress commons-compress.jar commons-compress-1.1.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-collections commons-collections.jar commons-collections-3.1.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-digester commons-digester.jar commons-digester-1.7.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-logging commons-logging.jar commons-logging-1.0.4.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-beanutils:1.7 commons-beanutils.jar commons-beanutils-1.7.0.jar + fi +} + +src_compile() { + # FIXME: docs do not build if behind a proxy, -autoproxy does not work + ANT_TASKS="none" eant -Dversion=${PV} \ + -Dfailonjavadocwarning=false \ + jar-core $(use_doc javadocs-core ) + if use contrib ; then + ANT_TASKS="none" eant -Dversion=${PV} \ + -Dfailonjavadocwarning=false \ + build-contrib $(use_doc javadocs-all ) + fi +} + +src_test() { + # FIXME: test does not get run, even when selected + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core ant-junit" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt NOTICE.txt CHANGES.txt \ + JRE_VERSION_MIGRATION.txt|| die + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + if use contrib; then + for i in `find build/contrib -name \*-${PV}.jar` + do + j=${i##*/} + java-pkg_newjar $i ${j%%-${PV}.jar}.jar + done + fi + if use doc; then + dohtml -r docs/* || die + java-pkg_dohtml -r build/docs/api + fi + if use source; then + java-pkg_dosrc src/java/org || die + if use contrib; then + java-pkg_dosrc contrib || die + fi + fi +} diff --git a/dev-java/lucene/lucene-3.5.0.ebuild b/dev-java/lucene/lucene-3.5.0.ebuild new file mode 100644 index 000000000000..824a1ea259d6 --- /dev/null +++ b/dev-java/lucene/lucene-3.5.0.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" +JAVA_PKG_IUSE="doc source test contrib" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml contrib-build.xml" +#JAVA_PKG_DEBUG=1 + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine library +written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +SRC_URI="mirror://apache/lucene/java/${PV}/${P}-src.tgz" +LICENSE="Apache-2.0" +SLOT="3.5" +KEYWORDS="amd64 x86" +IUSE="" +DEPEND=">=virtual/jdk-1.5 + dev-java/ant-nodeps:0 + dev-java/junit:4 + dev-java/ant-junit:0 + contrib? ( + dev-java/jakarta-regexp:1.4 + dev-java/commons-compress:0 + dev-java/commons-collections:0 + dev-java/commons-digester:0 + dev-java/commons-logging:0 + dev-java/commons-beanutils:1.7 + )" +RDEPEND=">=virtual/jdk-1.5" + +#dev-java/javacc:0 - no longer needed, files are prebuilt + +java_prepare() { + #find -name "*.jar" -type f | xargs rm -v + sed -i \ + -e '/-Xmax/ d' \ + common-build.xml + # FIXME: contrib builds do not work if junit not included + #java-pkg_jar-from --build-only --into lib \ + # junit-4 junit.jar junit-4.7.jar + java-pkg_jar-from --build-only --into lib \ + ant-core ant.jar ant-1.7.1.jar + java-pkg_jar-from --build-only --into lib \ + ant-junit ant-junit.jar ant-junit-1.7.1.jar + + if use contrib ; then + cd contrib/ + java-pkg_jar-from --build-only --into queries/lib \ + jakarta-regexp:1.4 jakarta-regexp.jar jakarta-regexpt-1.4.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-compress commons-compress.jar commons-compress-1.1.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-collections commons-collections.jar commons-collections-3.1.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-digester commons-digester.jar commons-digester-1.7.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-logging commons-logging.jar commons-logging-1.0.4.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-beanutils:1.7 commons-beanutils.jar commons-beanutils-1.7.0.jar + fi +} + +src_compile() { + # FIXME: docs do not build if behind a proxy, -autoproxy does not work + ANT_TASKS="none" eant -Dversion=${PV} \ + -Dfailonjavadocwarning=false \ + jar-core $(use_doc javadocs-core ) + if use contrib ; then + ANT_TASKS="none" eant -Dversion=${PV} \ + -Dfailonjavadocwarning=false \ + build-contrib $(use_doc javadocs-all ) + fi +} + +src_test() { + # FIXME: test does not get run, even when selected + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core ant-junit" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt NOTICE.txt CHANGES.txt \ + JRE_VERSION_MIGRATION.txt|| die + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + if use contrib; then + for i in `find build/contrib -name \*-${PV}.jar` + do + j=${i##*/} + java-pkg_newjar $i ${j%%-${PV}.jar}.jar + done + fi + if use doc; then + dohtml -r docs/* || die + java-pkg_dohtml -r build/docs/api + fi + if use source; then + java-pkg_dosrc src/java/org || die + if use contrib; then + java-pkg_dosrc contrib || die + fi + fi +} diff --git a/dev-java/lucene/lucene-3.6.2.ebuild b/dev-java/lucene/lucene-3.6.2.ebuild new file mode 100644 index 000000000000..20f5c6fe1433 --- /dev/null +++ b/dev-java/lucene/lucene-3.6.2.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" +JAVA_PKG_IUSE="doc source test contrib" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml contrib-build.xml" +#JAVA_PKG_DEBUG=1 + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine library +written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +SRC_URI="mirror://apache/lucene/java/${PV}/${P}-src.tgz" +LICENSE="Apache-2.0" +SLOT="${PV:0:3}" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND=">=virtual/jdk-1.5 + contrib? ( + dev-java/commons-beanutils:1.7 + >=dev-java/commons-codec-1.6:0 + dev-java/commons-collections:0 + dev-java/commons-compress:0 + dev-java/commons-digester:0 + dev-java/commons-logging:0 + dev-java/jakarta-regexp:1.4 + )" +DEPEND="${RDEPEND} + dev-java/ant-nodeps:0 + test? ( =dev-java/junit-4.10*:4 + dev-java/hamcrest-core ) + dev-java/ant-junit:0 + >=dev-java/ant-ivy-2.2.0:2" + +#dev-java/javacc:0 - no longer needed, files are prebuilt + +java_prepare() { + #find -name "*.jar" -type f | xargs rm -v + sed -i \ + -e '/-Xmax/ d' \ + -e '/property="ivy.available"/s,resource="${ivy.resource}",file="." type="dir",g' \ + -e '/<ivy:retrieve/d' \ + common-build.xml + mkdir -p {.,queries,benchmark,analyzers/phonetic}/lib + java-pkg_jar-from --build-only --into lib \ + ant-core ant.jar ant-1.7.1.jar + java-pkg_jar-from --build-only --into lib \ + ant-junit ant-junit.jar ant-junit-1.7.1.jar + java-pkg_jar-from --build-only --into lib \ + ant-ivy:2 + java-pkg_jar-from --build-only --into lib \ + junit-4 junit.jar junit-4.10.jar + java-pkg_jar-from --build-only --into lib \ + hamcrest-core + # Always needed anyway + cd "${S}"/test-framework/ + java-pkg_jar-from --build-only --into lib \ + ant-core ant.jar ant-1.7.1.jar + java-pkg_jar-from --build-only --into lib \ + ant-junit ant-junit.jar ant-junit-1.7.1.jar + java-pkg_jar-from --build-only --into lib \ + junit-4 junit.jar junit-4.10.jar + java-pkg_jar-from --build-only --into lib \ + hamcrest-core + + if use contrib ; then + cd "${S}"/contrib/ + # queries + java-pkg_jar-from --build-only --into queries/lib \ + jakarta-regexp:1.4 jakarta-regexp.jar jakarta-regexp-1.4.jar + # benchmark + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-compress commons-compress.jar commons-compress-1.1.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-collections commons-collections.jar commons-collections-3.1.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-digester commons-digester.jar commons-digester-1.7.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-logging commons-logging.jar commons-logging-1.0.4.jar + java-pkg_jar-from --build-only --into benchmark/lib \ + commons-beanutils:1.7 commons-beanutils.jar commons-beanutils-1.7.0.jar + # analyzers/phonetic + java-pkg_jar-from --build-only --into analyzers/phonetic/lib \ + commons-codec commons-codec.jar commons-codec-1.6.jar + fi +} + +src_compile() { + # FIXME: docs do not build if behind a proxy, -autoproxy does not work + einfo "Building main" + ANT_TASKS="none" eant -Dversion=${PV} \ + -Dfailonjavadocwarning=false \ + jar-core $(use_doc javadocs-core ) + if use contrib ; then + einfo "Building contrib" + ANT_TASKS="none" eant -Dversion=${PV} \ + -Dfailonjavadocwarning=false \ + build-contrib $(use_doc javadocs-all ) + fi +} + +src_test() { + # FIXME: test does not get run, even when selected + java-ant_rewrite-classpath common-build.xml + EANT_GENTOO_CLASSPATH="junit ant-core ant-junit" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt NOTICE.txt CHANGES.txt \ + JRE_VERSION_MIGRATION.txt|| die + java-pkg_newjar build/core/${PN}-core-${PV}.jar ${PN}-core.jar + if use contrib; then + for i in `find build/contrib -name \*-${PV}.jar` + do + j=${i##*/} + java-pkg_newjar $i ${j%%-${PV}.jar}.jar + done + fi + if use doc; then + dohtml -r docs/* || die + java-pkg_dohtml -r build/docs/api + fi + if use source; then + java-pkg_dosrc core/src/java/org || die + if use contrib; then + java-pkg_dosrc contrib || die + fi + fi +} diff --git a/dev-java/lucene/metadata.xml b/dev-java/lucene/metadata.xml new file mode 100644 index 000000000000..bd2c9d01b9b3 --- /dev/null +++ b/dev-java/lucene/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +<maintainer> + <email>robbat2@gentoo.org</email> + <description>Maintainer for actual Lucene issues.</description> +</maintainer> +<use> + <flag name='contrib'>Include extra functionality from contrib/</flag> +</use> +</pkgmetadata> |