summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2012-09-27 16:01:26 +0000
committerRalph Sennhauser <sera@gentoo.org>2012-09-27 16:01:26 +0000
commit85fab6b9fc10b6ba5daef1c3b6ff4f1bff827552 (patch)
tree2af2e67169fdb0a9580a5f8185f783c4846700df
parentAdd USE=demo to enable reporting interim results by Michał Górny (bug #3046... (diff)
downloadhistorical-85fab6b9fc10b6ba5daef1c3b6ff4f1bff827552.tar.gz
historical-85fab6b9fc10b6ba5daef1c3b6ff4f1bff827552.tar.bz2
historical-85fab6b9fc10b6ba5daef1c3b6ff4f1bff827552.zip
Require >=jdk-1.5 for javacc-5.0 and drop SLOT 2. #315557
Package-Manager: portage-2.1.11.13/cvs/Linux x86_64
-rw-r--r--dev-java/lucene/ChangeLog10
-rw-r--r--dev-java/lucene/Manifest20
-rw-r--r--dev-java/lucene/lucene-2.2.0-r1.ebuild (renamed from dev-java/lucene/lucene-2.1.0.ebuild)18
-rw-r--r--dev-java/lucene/lucene-2.3.2-r2.ebuild54
-rw-r--r--dev-java/lucene/lucene-2.4.1-r1.ebuild58
5 files changed, 149 insertions, 11 deletions
diff --git a/dev-java/lucene/ChangeLog b/dev-java/lucene/ChangeLog
index 005d4bfe7583..124abb46f143 100644
--- a/dev-java/lucene/ChangeLog
+++ b/dev-java/lucene/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-java/lucene
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.89 2012/06/04 05:22:42 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.90 2012/09/27 16:01:26 sera Exp $
+
+*lucene-2.4.1-r1 (27 Sep 2012)
+*lucene-2.3.2-r2 (27 Sep 2012)
+*lucene-2.2.0-r1 (27 Sep 2012)
+
+ 27 Sep 2012; Ralph Sennhauser <sera@gentoo.org> -lucene-2.1.0.ebuild,
+ +lucene-2.2.0-r1.ebuild, +lucene-2.3.2-r2.ebuild, +lucene-2.4.1-r1.ebuild:
+ Require >=jdk-1.5 for javacc-5.0 and drop SLOT 2. #315557
04 Jun 2012; Michael Weber <xmw@gentoo.org> lucene-3.0.3.ebuild:
ppc stable (bug 356809)
diff --git a/dev-java/lucene/Manifest b/dev-java/lucene/Manifest
index e9ad89b86b65..c1e708240ec8 100644
--- a/dev-java/lucene/Manifest
+++ b/dev-java/lucene/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX disable-contrib.patch 2457 SHA256 ddaa9d857e09ec02f64acdfb94c2eeff2b9ce061833b13822d2ecfac3bd8290f SHA512 08331267f949c93ca5e1e2c368127de6693082fce1e2ffe6c0f81b7f63979383abd06f8a4ba4c496c5984307c11149ab268a1ae7bfb3c840fd449c3bde05ac63 WHIRLPOOL dd9acf978681d41acd159386b4c2117d9c501c384645ea77078094cc7fc5789613e66147408efe6b89029ba8afbed9af3f8043920bf28f852f5864e12536d263
AUX lucene-manifest 505 SHA256 47d26e144e15ac7d675547630f8d4d4399244eaaf1fb84429a7f82e806463218 SHA512 9a4b39d22eb27657a7d4f14bcd15966c87242e0151f646318f13c0f0a543f19dfdbbf3305a34264120fbb43cb076b2c18ae90e41d03d4334a47a545c3dcfb3b7 WHIRLPOOL 7d9a33efee521db7e57c5c1a6ad73d65b0d6678160e98ba58af275dc83466e0f15723935897ed2a1719a0074bb0f68754d5e2a0259c7a61dcb0845429eb5e097
DIST lucene-1.4.3-src.tar.gz 768320 SHA256 62051daecebbae50c4e9d1c4d840f32fc58d85b0a5b370095c98e346c9ba1049 SHA512 426539a4b4a8887485c4301b2127ad4815646d1a81bca877ed2b0e68d886fcaf844449532a080754b79696c0f9e9c5f304be28487e0f9aa11178565a20f29911 WHIRLPOOL dea750d36a33689fa46926271a5c3be62b011e327ce9fa671a480a7ff9ce4d430d678fbf6f82befd81510d574e303f71b627d15b438492a8a34d5f60b5569b95
@@ -19,13 +22,15 @@ EBUILD lucene-1.4.3-r3.ebuild 1184 SHA256 d7d41cfa6b974d0be063d9b8a8da2479f9595c
EBUILD lucene-1.9.1.ebuild 1463 SHA256 3ec26ce608e07173447e59a4eb6b16f09c835cfaf83f152baf695f69dfd5cbad SHA512 ece4d56047aaf615c27a3699c558da1e16e3b9a5b9be4e7a97cb45d51871f260ed1b786087e0c77c9c9f2c1b38ffd8205c218fff54e0f0bdcde03f54c34e22a7 WHIRLPOOL 01c9b2765ee068745bc03ae79430fcff2c789d33b985c0fdd098bd282e806ca62a628444ddc6ebd2cc255fbce7ecd1f940c1217e35039ba64a9ccf30183340f3
EBUILD lucene-2.1.0-r1.ebuild 1634 SHA256 f2ac5066e3994f3e88df48813da846fd8bcfc5b7ad7567aa1d6cbc9b95252306 SHA512 599767ca3ffab6affb9ed792d21c7d8d82e51e7491697679e16e321914370a85ab9957d7d11c90378de1be989e855afc93aa4c2bceda2bd239c40a2cc3364e40 WHIRLPOOL 8ccc67e16d9ae2a12fac36aef72cf5f64c6c56867a954856820eb8040c2a52310ab2c7942d6eb9b1adafb41335d53707335620d6a7bbe8dc35446b0c31773087
EBUILD lucene-2.1.0-r2.ebuild 1654 SHA256 70e41596ae839db575aa2a23d42d12339b3866dde87c99882b393f5f59d1f2dd SHA512 3caf882e7262c38089cb404099fc68f926e89087affa2b050702a86d52b3bd37e52fdcffe91803718c5d4dd48f068511b4f22fdaa5bd6da51503a319d088ce38 WHIRLPOOL ccbf50ef816d74fd05e89c802196dafbcf85929964a8b4c908e500c5024fc782463de0324e0c9a1db6ec64121eddf935e997459a13fa088a51fad77a1b0ae574
-EBUILD lucene-2.1.0.ebuild 1592 SHA256 1f47f45ae148735cba10416530348cc3a2728b4b0b27ef69a9ee7aa4266f7bb8 SHA512 8728c683dfc9a4ef36efcc4dada0dd138fcec3ceb7e36cc344511cf921faac564eba61a67e7f0ec6d6ee76c4ea100d4f321c8b08518ebb9a75c4353c61a14a6e WHIRLPOOL 6a63039641c00c6044045ed9cb430dca2a994e2b92935c2f6caaa2f35120fb31e6ad05b1bb19351a84b73092e2f872ee3b7dd227b16358bde965ddbab4d68631
+EBUILD lucene-2.2.0-r1.ebuild 1625 SHA256 a91bd7fb13ff87fb573bd06ac234c66bbccc99a0f6341ca4faf3ac566c2b28e0 SHA512 ff7fb0d458df4ae092895952d794b6c260a7f7c0de3d4e4052ca336d468c71543c4414878e4b10861f60ef1288df6c6254dd823907fb5e88b1c75aac41d53737 WHIRLPOOL 57d3c74fc24461ddda19b5196d8f792f27a2c1606445610275dc6be50b0118cf562615ed8df4fdf6ca5338f3f3f08ff3129fd8dcf2dec938f799a38ba0db0728
EBUILD lucene-2.2.0.ebuild 1622 SHA256 6b6a62e693abe8c6126c80c1eb1dfb0f94f5b71fbddd920f3f599a0f974551fe SHA512 d022d7dd7ef45fbcf716f0f0fc3802e4a0079c4896bdef15a4a596534e6ad89c6343f85f73c60a73297eea940da9fd50e1f26dc8cbd4c97e1dcef98c3c47f97c WHIRLPOOL ff8e49f733db9317f8c96a6770e2bb162893874315d16e06dcc89eb470ea7d5fc1c066db5012e5b8a1258c58e2bbe83e9dc75e96f16e0b8c518f807550a3453d
EBUILD lucene-2.3.0.ebuild 1773 SHA256 3ddaf596021559d23605da9e16b7fdc41df68e64868cdedf53f7e30009f570a1 SHA512 aa202f94d1236799108db5c0c1324a296618cc61e51a09b9e2be55c19ed077ec005e2c8c6777390d148536750bd85440c9d70e6593aadcd3459a7a3289385a33 WHIRLPOOL 9004f2e2039ad4e5901c096066bc769108ecaab79330368f3700b648f73b9f49db874b983c13354fd6b012fb25ce7afc87121e7d9f853406f3170f3d7240a22f
EBUILD lucene-2.3.1.ebuild 1773 SHA256 1c7630e33ec66ab42186872c490615b4c7fe11798e2345bd1deaa82b7979a24a SHA512 3089838580281fc20237432ab1d700c090b813a6da0f7cdc3bddcd6b9e7a4b3fce300325a66841b962b3f9ed87494979e0c6e293d82c937dfdc111c8ac1d7c05 WHIRLPOOL 9ff19dcf01ce71546f1255c48caec6f58e26b44b783c30de68348fcae9e8a805c9b23506830df360a06eab0b842b1c1bdd8332bc8e18fd83580d53b52d31f239
EBUILD lucene-2.3.2-r1.ebuild 1831 SHA256 59c8d5099d5360d3d584794987e66363133aba3a5efc06a3e34dc6c6e22816a9 SHA512 77c2dafca16cd41a118462f5779167d205179661dbd3d3c06f0e6950293bbf2e5071b084068734453beb4884959c998c88668deb4bc19082c1d822880d57deb2 WHIRLPOOL 6eec1c0a77e530d3465df96140d7ac28e62a04e553301f56e053c3267d8eefabeb358449717907810b684d7af362d37a939a3bd75d1fd5cc95bcf552156725c8
+EBUILD lucene-2.3.2-r2.ebuild 1831 SHA256 f92fe8897f6af044966eed26087f1f80c58a2c9c21b06622b6f6f5797dd5a18f SHA512 b9431b4494a2ea33348c28eb6f6d49ffcc4734344cbae1eac78154431ad0b0006093070a865324d19be55537064d3b2c8a35bc0a42b49a26788cb88e4af72462 WHIRLPOOL d9a0ed22d7f968ad493cd72b24d278c49e1b87fdf96b5126a7e5b117f4a5e13b2c861e46d0a1acd84a8fee455987f8756f91401a6fe89654cfa573b8173f47fc
EBUILD lucene-2.3.2.ebuild 1770 SHA256 0eac69b082945778c7ea55ca639abb08a583676c752da5159a12377f2aa428fc SHA512 d9fc6b981c6b61f1dfd8ccff36a7898c8f69900837580671de74f5db53401f785c8d18531c67815b39df5c66e2e41d38bc470f71578d90e0c4d489f860826b9c WHIRLPOOL 41a210296056ddae586cfe5f8e59e1f16f0cbbd166ac181e718fa7032a709ef3ab91ecbc24b995892cde85383f9240a48dad04dcde227965ae0f5c8047b2ea1c
EBUILD lucene-2.4.0.ebuild 1856 SHA256 6f5130283940faa0c99a51ac6fc61d6f87743e0d27a8d03c61fc0670861859f0 SHA512 8768aed82d0a2abad4c4f06a863a241f490bb186c17cfe4576592e55b3ad89ea05ad6b52d6cc817567e016e87598417554c3513dc1615e6d7ddd143efc1d083b WHIRLPOOL ebeccede86149abee1e964cbc3c8033d064c39a775686f64511a95927dd6ec9e22114f06af2ca8dd97804622a2889f99a64f58b8606b820209241926c996d0df
+EBUILD lucene-2.4.1-r1.ebuild 1855 SHA256 39b6504f7e4be7f55fb8b910578f3a5e3af2bb093f8f7541c2d2050c5e26c16e SHA512 3c30d007cbe6ea66a96741cb1e80dc4c9bb3433932f5b361fc9e69bc2b074d4f8a5736ff165ad10205d81146313632bc4556f2c7a7bb53f09566660457a58903 WHIRLPOOL bb2430a8f3e14a2bc6a5ba75bbceb6b8d18ae9ae4aea0c3b14fc311f99507a7089345bf14e5e9cd9390e3f38debdfbe02451f47093350a11053cd9f4be882524
EBUILD lucene-2.4.1.ebuild 1849 SHA256 13d986a2169c1016e7f292125b4ce64f676ea44c0b4222c89f184ba3b5d49f4d SHA512 5e092ad93bd5ba4178aea079d0a6fb36a10fbe672f45b000103404a10a2ec00788ff1ebd2d413761603404f6db90c74b1ab4e183933c96b2c19a24dee07b7ac3 WHIRLPOOL c686b79018fec447c060d8048a6a874ed664cb57902b32790c0d7337e9058923fd24de00b412ae588c51e379eb4f60a1a45488749d8e0c1a47503517c73bbcd5
EBUILD lucene-2.9.1-r1.ebuild 1846 SHA256 3f8079a2af14cdc78a5a8f9d3d8867d6dd22ce2f9246237e55e36ff59759e5a9 SHA512 de2f67911e32b1bf51663388178ea18c78ae6b9a458d7a37f655a3acbcf78ac42406c227516c1a590c22ab00b877072bc09b178f64e418e0f9646bd5360334bb WHIRLPOOL a0be9c00b5f243e6a78854c0a40136d096b817f2090ce66dcd76b54a8ed7b3689704b7f214363d19dc28c5b5d3d2473defed23889abe7c709f62ab1bfec18e2b
EBUILD lucene-2.9.4.ebuild 2073 SHA256 8d9ece6712a5bdd3a66176eb20a3cc476e22fbe9e108387faa0ebcfc2bc1c177 SHA512 b82e843fe20c940e24cbf839e3a144dc7db5d86bfd596e7a869a8510bb91f32627ead92bcbed4d988aa2711c5e615155012a27f9be0417936ba2da8dc7fadbe0 WHIRLPOOL 9a10914e0b39a0b6b7c877fc08e918488376c4c4938d3ef92df7a5ad59ff29ca183434f1db9ea6c49d732e0960334bd1b1fd2587494ef23ea0c5114fac1c4373
@@ -33,5 +38,16 @@ EBUILD lucene-3.0.0.ebuild 1855 SHA256 a9e467a8bbf1e9b2b7fe1143fcaa5e9f747056d71
EBUILD lucene-3.0.3.ebuild 2086 SHA256 5566348f038bc8f5bea548b2e7032afcb595eef73e4c64bd63c806c27311ad7a SHA512 fb107dfcd5bd262381d990f02d00db2d09c7e1e22b6cd4c069e18af8aa09ab8031013aba058a939584cf9a8e106de5b829d8e4bddfbe9e5fceb5903ad3f2167e WHIRLPOOL 46af46501b2f3a5088d98fd3515161c3e0779a6cd13eb856c36afeefdfc89e8e67593b2177e1f66681c15d8412fe1560b1bf91e0424f48254cd2322aada0ac7b
EBUILD lucene-3.4.0.ebuild 3390 SHA256 47592e12860fab19064a0eac5c4f95e9f16b2940a201d21aac1ac13b7900cfa3 SHA512 aa6579937f4b9caf1dd880e42998fdfe791c337f871607510070c43db2880ead6e0cd69e6713b233edc634329bcbffeb07489be1bdc6da7ba8b311781cd4c57e WHIRLPOOL b7049a3155d513eb6f01e3818d01425dc4326ee4236fa1f0dd7ef9266365c6c546168b082ae4b1dc0abc37587b387b9d6ef7351a2f8ac254dd57d2d9a2eb15a7
EBUILD lucene-3.5.0.ebuild 3390 SHA256 201cc57998bac14d138b31a088e2bb07fae5e33dae80ee2fba91444348b35f52 SHA512 917ac46cb4841f6fd4790eb20c2a501107959fb5e0bc16579d2bb9deb6377c86ee8987fdb67d6efc8a79d6737356bd19b80227de1e981980e61b734ad2fa5a0d WHIRLPOOL b6c69a505abec67dfbdbd186ecd03dc75ca0bab57db815cfecede082e96bce9aa8deac5a072b72afe2f3c8d270513cc1e602de67b697b29a20051313e5f8c4a4
-MISC ChangeLog 12560 SHA256 4d9c21ebf5270546b8558dbbf8d1246f411f4bddc8489ff3b28a27a6c7af55ec SHA512 25f4fd9f88b8fbe7b914dfe75764e1af2c99a0d29361f7cca56aecb5f7067713fd5272129c2872e164fd5ccc8ec7e2f6c312715ee32cc2b98e5281187aa4b304 WHIRLPOOL 5694ede6ce4c5f03eaf4aeefe6edb525ca7dee23ca06049a5df1f0cd4105700e1f817f285f45f17849852ff60316b3af7460dbd583a5f25e6f254be16138e76e
+MISC ChangeLog 12865 SHA256 6d45f4bbd89dab3381f149cc7b613f3e8551fd8d162ff9ff9e2d951fa1481c9e SHA512 c87867ed05368642699f1e1335c058c9899b78dbbee5607f9bc2af7505c97ba703ad9d82dcb28085df5111ffd18a1166959cdd61a9ab14374732f90a93c8f7b9 WHIRLPOOL 7378dde46196ef2d9ec40412b166a5de32090ffe49d3f19c044c90d7532993c071c2013a84885c45031d2e0d59164f575e4e3c11ad57b4daa28b0cd1339aebc2
MISC metadata.xml 371 SHA256 30d6aa8ff474df00e447a1d5cbf29421d0da4aa6fb9029093a234580e97d333e SHA512 b3ee6d811b0d13a8947b46c387a5179ad918f04047f00eab46b60f1f8a957e1c052dab85e0d978c9715bdbf4f9132f6a090ea68234e2d1f92c55f8f3bb3786e4 WHIRLPOOL 3cb811b3cc81a16aad122a3ff5e13f46f5a8cc5dd1dc2a11ba0905a434f9dca909daf33312701a076088bdbbc140962a11f8a25fa3c7f9f49d695d5afb87a2a2
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJQZHhqAAoJEIUJ+svaV163jqMH/j7SxCXGV7AGYUB6xXwsXmUt
+shMNYXhObs/RjXRUTerCTjkgknPxwH4QGjFb3JX8fieeiLIuVveR1DfcK9jjbMnR
+fLJnb6tNV3EpV1+AZd3dZPm3Qh97fl3GVMNJOHoDo7weeR0LefkQyjZ3AbdUmwbP
+e9AqWl9aKbJ29yDpHPEv9Ex//2NV3squ8ribnIo0J9w/PItikxvAQodMJumMVLsN
+aqA1TWEU4puvXdW/MfJPiVzo8rn6O6V4VnBNz4MSRbv2JSRBdHULsCH8HqEz9T5w
+55PFPO5OJ1xgH8L/5B0S6UftBAPAC952kTWwGngHp3ovG0G7BtoZKnHM5DGy3q8=
+=aEoq
+-----END PGP SIGNATURE-----
diff --git a/dev-java/lucene/lucene-2.1.0.ebuild b/dev-java/lucene/lucene-2.2.0-r1.ebuild
index 8970995e7b07..b32954314c1e 100644
--- a/dev-java/lucene/lucene-2.1.0.ebuild
+++ b/dev-java/lucene/lucene-2.2.0-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-2.1.0.ebuild,v 1.9 2011/12/19 11:35:15 sera Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-2.2.0-r1.ebuild,v 1.1 2012/09/27 16:01:26 sera Exp $
+
+EAPI=3
JAVA_PKG_IUSE="doc source test"
JAVA_PKG_BSFIX_ALL="no"
@@ -12,14 +14,14 @@ DESCRIPTION="High-performance, full-featured text search engine written entirely
HOMEPAGE="http://lucene.apache.org"
SRC_URI="mirror://apache/lucene/java/archive/${P}-src.tar.gz"
LICENSE="Apache-2.0"
-SLOT="2"
-KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+SLOT="2.2"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE=""
-DEPEND=">=virtual/jdk-1.4
+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.4"
+RDEPEND=">=virtual/jdk-1.5"
src_compile() {
# regenerate javacc files just because we can
@@ -27,13 +29,13 @@ src_compile() {
# 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
+ -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
+ EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core
}
src_install() {
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..2a56aa2004fa
--- /dev/null
+++ b/dev-java/lucene/lucene-2.3.2-r2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-2.3.2-r2.ebuild,v 1.1 2012/09/27 16:01:26 sera Exp $
+
+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.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.4.1-r1.ebuild b/dev-java/lucene/lucene-2.4.1-r1.ebuild
new file mode 100644
index 000000000000..8c8aef88b3b5
--- /dev/null
+++ b/dev-java/lucene/lucene-2.4.1-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-2.4.1-r1.ebuild,v 1.1 2012/09/27 16:01:26 sera Exp $
+
+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
+}