diff options
Diffstat (limited to 'dev-util/netbeans')
-rw-r--r-- | dev-util/netbeans/Manifest | 29 | ||||
-rw-r--r-- | dev-util/netbeans/metadata.xml | 11 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20180212.ebuild | 235 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20180213.ebuild | 235 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20180214.ebuild | 235 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20180215.ebuild | 235 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20180219.ebuild | 235 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20180220.ebuild | 235 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20180221.ebuild | 235 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20180222.ebuild | 235 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20180223.ebuild | 235 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20180226.ebuild | 235 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20180227.ebuild | 235 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20180314.ebuild | 235 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20180332.ebuild | 235 |
15 files changed, 0 insertions, 3095 deletions
diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest deleted file mode 100644 index 292fa50b1..000000000 --- a/dev-util/netbeans/Manifest +++ /dev/null @@ -1,29 +0,0 @@ -DIST netbeans-9999-r21-build.xml.patch.bz2 2682 BLAKE2B e292625a28eca0a30ad0414ae18311a9ea21807940bca464915fb84ac8e2c952b0b40ca97351fd91748dda3520a879246cc6cbfb0f27a4960793a27ac6987cc5 SHA512 4a8791f31d540f25157d6feee9182180cc525047a88e8975931ce589e5823c086f04ed200d900d593aaef97379953de58ea68f8a6ba6705d5652202a4156671a -DIST netbeans-l10n-9999-20160920.tar.bz2 12724225 BLAKE2B 2bb5d812cd250f1acd31868887b2c8b03b0560d779a8666d0a28215008368b4e41ee9f297469b55470f51234cc8b977df4201f554b7316eeecb556427d13d265 SHA512 777160e22f648cd4c6343b51212c1a1ab5de31e84a36b8581dc3742aec7933122edc5215292ddb43df69960b6baaa8670b1b204c4728772627347b2bdcfa6254 -DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175491e1a8563fd91306684cd29cba720a35d219ab003641a8997240751908419c9d870f505c71cb4e041386833fcac35153292eb0afc84a14173a SHA512 7b9268466a3da860e4b0a7651dee19070c3856b9d3511afaaff686e67eef7331d44a55d0b95ca36e8501a36bfc31edf292f7a6e429a47410b3d6c3ba3bb56fc2 -DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b -DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65 -DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67 -DIST netbeans-trunk-nightly-201802190002-src.zip 221062529 BLAKE2B e08d2bd33caef2842b3629ec469beca250da56d604258d88e77282f73288396c1b5c09201a785ca65eb721d21509d5c558683a162c76e62e6c9180a2616996b2 SHA512 0bed938ced4d8af90a2fbbf73786e99a7ad454115b08804c911031893c895e69a31965953e585fbaeb49cbe7b7aaf210dfde9fd6062f9f167a9caad184f42e7b -DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f84598a236cb24574c519f6197b5b69b12e5509c7368fd4cc1ebdfb50d535212e975ad21cc589dc56ba41465b3901d2036560a48d9f797ad40fc482 SHA512 7a7fac8a4c99a26897eab628aa4df929de387c410570a002d74e2cad8442af0a8e66f3709874e6257ed926d4b3dedd24ff42939204076469a18a4b74490987f5 -DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf -DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401 -DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326 -DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0 -DIST netbeans-trunk-nightly-201802270002-src.zip 221062529 BLAKE2B 0cb17ba4babf4776da17fa34a9124291eca990cdb5ef0daebb7f0c1b27757764a277c2b7bc19ab719ef470327d52c3984096fafbf4ec0a6e3f8abe0aff909c58 SHA512 a2bd3d4a2c6fa234879177a462c8c46b7f2c15ef23c5e6bff7424d71628dc932d89796c1a9f85dc3deb419b5f797c5d3be6b66d1936561a7217cd00d60c9e59f -DIST netbeans-trunk-nightly-201803140002-src.zip 221062529 BLAKE2B da03fd275b4050e26d497eb46cc899b3b9dd4a93fe6ae12c5b33f8c637c3a6977ba55deda88b436b1077ff7ba8177c435c440ca4572ce482c744083c69118b0f SHA512 8cfdbb3bf35ef37ff762531ed6f3add6d5d950b09c46f626331c59e3a3a3335e4542c81de4d0f445d8b2062ef04a32b76844612327e3f82af08e2e9579b9516e -DIST netbeans-trunk-nightly-201803280002-src.zip 221062529 BLAKE2B 0f2dc63f757f452d6425959270b7ee6411783f1ffff604461c3c22fc2da519a6343289d3f767b22f17efa68bbfd0502dc475ff528025b06727c43232bcac7c3c SHA512 b31d0c84291124d0e18fe10b24ccecfdf50e9b31c03e72f14d365316e1a9e3674affde19eafebd4a39473a41b45dcc7b87cb5f7ff289707797096872d22867e9 -EBUILD netbeans-9999_p20180212.ebuild 6186 BLAKE2B df1dd3231555a360836376f1b12d3a4cb9b89cdd57b2cdcf834dea6a0b71329adb77181ff6d6e37a4c25812fbbf50b970844a68471dae8e8fd5a252c9980ad70 SHA512 93431e64a4b8fbf54e7b23b34700e17925ef004dc10053cf0fc3e9f856615d8253c4d1e459fac79d8e998b5a9ee797a2f36b492b8f0f49f6da80243e89ce07bf -EBUILD netbeans-9999_p20180213.ebuild 6186 BLAKE2B dd664b2e7bc89c4d56c611ca504e7f00305ce1db3cf845d39a23930604719ae2dd13ad2e0c472d9c10ce59cc1a3ad9bfe708dd5c10d7185c11796bc664079fbd SHA512 d87790b7401658c06f45dfe747442691ddeae4aa5f7beebd0a3a9b2d6563981f83b7b5895b0bd9c947b8825f580944e9dbefd3535b706a187b3ca683a3bd3bc8 -EBUILD netbeans-9999_p20180214.ebuild 6186 BLAKE2B 312f52a1db8d1439e59ac22bfd611c50865d54632dce9ac4c081a34072823db0025df925f682de95048038622fe30e69cdbf42d3db064a4ce58070dd777a1787 SHA512 8557ba78446b32b4b26f289215b8999ab7655392fa47485856c09f7c338ca345b42b66707412b83946ba015bd256543b83d13f2c6f3497c6553065464bb40dc5 -EBUILD netbeans-9999_p20180215.ebuild 6186 BLAKE2B a7c4d3b33b50b244f70f79755a8843c1b13de882df02b06cd94e7bd0e983b61e38a682dd8c8011ed70e43ce5207e64543489d0cd866c14f661ac2aff36d68b18 SHA512 46341688f3f85f646f792fcbb4eabc9b253c0aea02e5f5ae3883208cbf765c25cf7430f83747b3c3608a76d7d8e0ba16d2c2e3b16cbdc9221e0cde0f7e40d0ea -EBUILD netbeans-9999_p20180219.ebuild 6186 BLAKE2B 12f0d37fc3172acb68fb965d0a06e607d3840f1712e4bb70093444b25aa09a5335435226d006e159c58bb448608cc543c6c88fb114264e933207b1751f9cee8e SHA512 1b2f1d82cd4b822eb6527703a407e66d6f8ecf509abf608c195aa68544f4953eb20d636b2bd69f5303fa12d1c2474b65710ad9a58bf032ee522c1099bfc9e1e4 -EBUILD netbeans-9999_p20180220.ebuild 6186 BLAKE2B 1250c15d1fc9026b80e87f5dc38950b503ae4c85087f57d5a4b74298a3da08b69a79eb6195bbce2cfcbe77d7ba1aa099c46993e32d1263c6180ffe65f85741e0 SHA512 4bcb02b5bbe909db8a156672ca18d2f9e49d096cf1a29901c8e2a1f4b51c9d6cca76d4aaebee1a986a0e5f5ccbae8b16578b4bad433bfa64e50624ca265e8624 -EBUILD netbeans-9999_p20180221.ebuild 6186 BLAKE2B 71026493ad46a86604f2b68373197e54fa9db8a63222cfac346582bf7d2881f857d637f94af643cdc9777e27b43f3565fa672a7edb0cb396b5fc44957c9777ef SHA512 e9eff42ac17139f58b1edcdf7e883a64038d08b83c9f548a974ceb68e7ee0c4a9f6101b084936865cded8fcb6479af158a052b499e2d15f3e6c0cb75cbf37d97 -EBUILD netbeans-9999_p20180222.ebuild 6186 BLAKE2B 51f4ef1207b985a8bd904230acbcb305352e2153076266d78edcf737d45532f205a1c8800cab1776504c15c89ffd29aedc9fedf2051fca80f20c0159609577fc SHA512 1a054e257b3058b2770fe448d693552ea3fabcb6b8440a1ff4b126c67a935b690f5e147036f7fa98ee24e681d5e9e233666b7d3aeef9c586f905d0af39a519b6 -EBUILD netbeans-9999_p20180223.ebuild 6186 BLAKE2B 734440263c410e74778f1d0fdc6ef1c309a2b29a5adc853a326567a2d62a5b12917e4f94b22fb72346678e98d8b4499cb8a1de8892728b56c746d3a74f89712e SHA512 9ed352417d8467ae7e1503ea63b53948a412128e7433241c199e69ebc88b8dd9f5235eb31a6e95a7f49b69a11768be12ccddde995da9159cda845443e16951cc -EBUILD netbeans-9999_p20180226.ebuild 6186 BLAKE2B 231de4ac6771fc377fafe7720f8511ba3c1333b54e4e256eb2cf53cda46ea1ad3ac6054eae4b2a50f42cad9629543de066543fc00319c5bd0eba9c2bd69753c3 SHA512 d21bcf02f42365495fd239f0b390290e3ffbf097260c13eb5ae021c3221d9bea8c600817caffe6eefc34d5f1010156f6af684400ed87ab2a60ea1c53cc13366f -EBUILD netbeans-9999_p20180227.ebuild 6186 BLAKE2B b9bed1d81e97fa8372e9b85ec14b49689340e57ac1ce2ecdc779925020f0e161938c71edfa8710cfe4b6b2c591ffe659f7dd7dd2e8378e7f82cf875c841647e4 SHA512 9e5a0a70db6686ed11c3b3d32d5f26d4881af884eecab5c3a190ecc80413fa578999efce7f509987637fc3893e77712e35b13063daee4d980326aa641b22a153 -EBUILD netbeans-9999_p20180314.ebuild 6186 BLAKE2B 7d3a7842c7f83797c90347315635f7bb9f66400617e4e27b27ee06da426ef2609fb3f18d3ec4c6cecf00df911d9defa812b04f0bcc439b00755588c35c7081cd SHA512 90900fb3a03b4854a3bfb7b05c32dbed611d95c3dfad8306a2ba23b53c77eded8cbf7eaca8cd790b7497c9972ca141020ba3439a0b1a8e3c6e859314596e5d8a -EBUILD netbeans-9999_p20180332.ebuild 6186 BLAKE2B b29c98133ad077ad993698c309db0f2c21525442b2cc373dfc02ce8985ce61d7dbeb2252533eb7f697c036ebe1abb727fbe574bd889b7d5a0b39f7cc6da9aafa SHA512 793e362e437f7716387d70e792235c167a93604ab408c7af27ee1d22f2e2327e81729e57e59f1223fd88ff4b9b89e1c1d29cfd092c3f856f52c8d5d20026157f -MISC metadata.xml 329 BLAKE2B 88f7b4966ca5fc8e18720ef5488809039344b15344c78cc4f016ab3fa95f76283805ef5d1c85b5c0b419462a0611ed6ceeecb0eee65b5b1b068a605c89efdf6b SHA512 d5d878b3903238db8e1c807862c68fff34e86b972daac3e38a3b283c802ba8a5e6345723740f5ecf7b0313daa5430708a21eca4d4a1415069cf836aaf5429640 diff --git a/dev-util/netbeans/metadata.xml b/dev-util/netbeans/metadata.xml deleted file mode 100644 index 6dfe73b3a..000000000 --- a/dev-util/netbeans/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> - <email>fordfrog@gentoo.org</email> - <name>Miroslav Šulc</name> -</maintainer> -<use> - <flag name="doc">Installs JavaDocs for Netbeans source code</flag> -</use> -</pkgmetadata> diff --git a/dev-util/netbeans/netbeans-9999_p20180212.ebuild b/dev-util/netbeans/netbeans-9999_p20180212.ebuild deleted file mode 100644 index 733c73e9c..000000000 --- a/dev-util/netbeans/netbeans-9999_p20180212.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="https://netbeans.org/" -SLOT="9999" -SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-12_00-02-34/zip/netbeans-trunk-nightly-201802120002-src.zip" -PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2" -L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20160920.tar.bz2" -ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" -SRC_URI="l10n_af? ( ${ALL_URLS} ) - l10n_ar? ( ${ALL_URLS} ) - l10n_bg? ( ${ALL_URLS} ) - l10n_ca? ( ${ALL_URLS} ) - l10n_cs? ( ${ALL_URLS} ) - l10n_de? ( ${ALL_URLS} ) - l10n_el? ( ${ALL_URLS} ) - l10n_es? ( ${ALL_URLS} ) - l10n_fil? ( ${ALL_URLS} ) - l10n_fr? ( ${ALL_URLS} ) - l10n_gl? ( ${ALL_URLS} ) - l10n_hi? ( ${ALL_URLS} ) - l10n_id? ( ${ALL_URLS} ) - l10n_it? ( ${ALL_URLS} ) - l10n_ja? ( ${ALL_URLS} ) - l10n_ko? ( ${ALL_URLS} ) - l10n_lt? ( ${ALL_URLS} ) - l10n_nl? ( ${ALL_URLS} ) - l10n_pl? ( ${ALL_URLS} ) - l10n_pt-BR? ( ${ALL_URLS} ) - l10n_pt-PT? ( ${ALL_URLS} ) - l10n_ro? ( ${ALL_URLS} ) - l10n_ru? ( ${ALL_URLS} ) - l10n_si? ( ${ALL_URLS} ) - l10n_sq? ( ${ALL_URLS} ) - l10n_sr? ( ${ALL_URLS} ) - l10n_sv? ( ${ALL_URLS} ) - l10n_ta? ( ${ALL_URLS} ) - l10n_tr? ( ${ALL_URLS} ) - l10n_vi? ( ${ALL_URLS} ) - l10n_zh-CN? ( ${ALL_URLS} ) - l10n_zh-TW? ( ${ALL_URLS} ) -" -LICENSE="|| ( CDDL GPL-2-with-linking-exception )" -KEYWORDS="~amd64 ~x86" -IUSE_NETBEANS_MODULES=" - +netbeans_modules_apisupport - netbeans_modules_cnd - netbeans_modules_dlight - netbeans_modules_enterprise - netbeans_modules_ergonomics - netbeans_modules_extide - netbeans_modules_groovy - +netbeans_modules_java - netbeans_modules_javacard - +netbeans_modules_javafx - netbeans_modules_mobility - netbeans_modules_php - +netbeans_modules_profiler - netbeans_modules_webcommon - +netbeans_modules_websvccommon" -IUSE_L10N=" - l10n_af - l10n_ar - l10n_bg - l10n_ca - l10n_cs - l10n_de - l10n_el - l10n_es - l10n_fil - l10n_fr - l10n_gl - l10n_hi - l10n_id - l10n_it - l10n_ja - l10n_ko - l10n_lt - l10n_nl - l10n_pl - l10n_pt-BR - l10n_pt-PT - l10n_ro - l10n_ru - l10n_si - l10n_sq - l10n_sr - l10n_sv - l10n_ta - l10n_tr - l10n_vi - l10n_zh-CN - l10n_zh-TW" -IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}" -S="${WORKDIR}" - -CDEPEND="virtual/jdk:1.8" -DEPEND="${CDEPEND} - dev-java/javahelp:0" -RDEPEND="${CDEPEND} - ~dev-java/netbeans-harness-${PV} - ~dev-java/netbeans-ide-${PV} - ~dev-java/netbeans-nb-${PV} - ~dev-java/netbeans-platform-${PV} - netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) - netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) - netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) - netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) - netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) - netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} ) - netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) - netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) - netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) - netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) - netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) - netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) - netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) - netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} ) - netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) - doc? ( ~dev-java/netbeans-javadoc-${PV} )" - -JAVA_PKG_BSFIX="off" -NBLOCALES="" - -pkg_setup() { - for lingua in ${IUSE_L10N} ; do - if use ${lingua} ; then - local lang=${lingua/l10n_/} - lang=${lang/-/_} - - case ${lang} in - ar) lang="ar_EG,ar_SA" ;; - es) lang="es,es_CO" ;; - fil) lang="fil_PH" ;; - gl) lang="gl_ES" ;; - hi) lang="hi_IN" ;; - id) lang="in_ID" ;; - nl) lang="nl_BE,nl_NL" ;; - ta) lang="ta_IN" ;; - esac - - if [ -z "${NBLOCALES}" ] ; then - NBLOCALES="${lang}" - else - NBLOCALES="${NBLOCALES},${lang}" - fi - fi - done - - java-pkg-2_pkg_setup -} - -src_unpack() { - if [ -n "${NBLOCALES}" ] ; then - unpack $(basename ${SOURCE_URL}) - unpack $(basename ${L10N_URL}) - - einfo "Deleting bundled jars..." - find -name "*.jar" -type f -delete - - unpack netbeans-9999-r21-build.xml.patch.bz2 - fi -} - -src_prepare() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Deleting bundled class files..." - find -name "*.class" -type f | xargs rm -vf - - epatch netbeans-9999-r21-build.xml.patch - - einfo "Symlinking external libraries..." - java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar - fi - - java-pkg-2_src_prepare - default -} - -src_compile() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Compiling support for locales: ${NBLOCALES}" - eant -f nbbuild/build.xml bootstrap || die - eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ - -Dpermit.jdk7.builds=true -f l10n/build.xml build || die - fi -} - -src_install() { - if [ -n "${NBLOCALES}" ] ; then - pushd "${S}"/nbbuild/netbeans >/dev/null || die - - for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do - if [ -d "${cluster}" ] ; then - insinto /usr/share/netbeans-${cluster}-${SLOT} - doins -r ${cluster}/* - fi - done - - if [ -d nb ] ; then - insinto /usr/share/netbeans-nb-${SLOT}/nb - doins -r nb/* - fi - - popd >/dev/null || die - - make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development - - for lingua in ${IUSE_L10N}; do - if use ${lingua} ; then - local locales=${lingua/l10n_/} - locales=${locales/-/:} - - case ${locales} in - ar) lang="ar:EG ar:SA" ;; - es) lang="es es:CO" ;; - fil) lang="fil:PH" ;; - gl) lang="gl:ES" ;; - hi) lang="hi:IN" ;; - id) lang="in:ID" ;; - nl) lang="nl:BE nl:NL" ;; - ta) lang="ta:IN" ;; - esac - - for locale in ${locales}; do - make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development - done - fi - done - fi -} diff --git a/dev-util/netbeans/netbeans-9999_p20180213.ebuild b/dev-util/netbeans/netbeans-9999_p20180213.ebuild deleted file mode 100644 index d5756ecb7..000000000 --- a/dev-util/netbeans/netbeans-9999_p20180213.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="https://netbeans.org/" -SLOT="9999" -SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-13_00-02-34/zip/netbeans-trunk-nightly-201802130002-src.zip" -PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2" -L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20160920.tar.bz2" -ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" -SRC_URI="l10n_af? ( ${ALL_URLS} ) - l10n_ar? ( ${ALL_URLS} ) - l10n_bg? ( ${ALL_URLS} ) - l10n_ca? ( ${ALL_URLS} ) - l10n_cs? ( ${ALL_URLS} ) - l10n_de? ( ${ALL_URLS} ) - l10n_el? ( ${ALL_URLS} ) - l10n_es? ( ${ALL_URLS} ) - l10n_fil? ( ${ALL_URLS} ) - l10n_fr? ( ${ALL_URLS} ) - l10n_gl? ( ${ALL_URLS} ) - l10n_hi? ( ${ALL_URLS} ) - l10n_id? ( ${ALL_URLS} ) - l10n_it? ( ${ALL_URLS} ) - l10n_ja? ( ${ALL_URLS} ) - l10n_ko? ( ${ALL_URLS} ) - l10n_lt? ( ${ALL_URLS} ) - l10n_nl? ( ${ALL_URLS} ) - l10n_pl? ( ${ALL_URLS} ) - l10n_pt-BR? ( ${ALL_URLS} ) - l10n_pt-PT? ( ${ALL_URLS} ) - l10n_ro? ( ${ALL_URLS} ) - l10n_ru? ( ${ALL_URLS} ) - l10n_si? ( ${ALL_URLS} ) - l10n_sq? ( ${ALL_URLS} ) - l10n_sr? ( ${ALL_URLS} ) - l10n_sv? ( ${ALL_URLS} ) - l10n_ta? ( ${ALL_URLS} ) - l10n_tr? ( ${ALL_URLS} ) - l10n_vi? ( ${ALL_URLS} ) - l10n_zh-CN? ( ${ALL_URLS} ) - l10n_zh-TW? ( ${ALL_URLS} ) -" -LICENSE="|| ( CDDL GPL-2-with-linking-exception )" -KEYWORDS="~amd64 ~x86" -IUSE_NETBEANS_MODULES=" - +netbeans_modules_apisupport - netbeans_modules_cnd - netbeans_modules_dlight - netbeans_modules_enterprise - netbeans_modules_ergonomics - netbeans_modules_extide - netbeans_modules_groovy - +netbeans_modules_java - netbeans_modules_javacard - +netbeans_modules_javafx - netbeans_modules_mobility - netbeans_modules_php - +netbeans_modules_profiler - netbeans_modules_webcommon - +netbeans_modules_websvccommon" -IUSE_L10N=" - l10n_af - l10n_ar - l10n_bg - l10n_ca - l10n_cs - l10n_de - l10n_el - l10n_es - l10n_fil - l10n_fr - l10n_gl - l10n_hi - l10n_id - l10n_it - l10n_ja - l10n_ko - l10n_lt - l10n_nl - l10n_pl - l10n_pt-BR - l10n_pt-PT - l10n_ro - l10n_ru - l10n_si - l10n_sq - l10n_sr - l10n_sv - l10n_ta - l10n_tr - l10n_vi - l10n_zh-CN - l10n_zh-TW" -IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}" -S="${WORKDIR}" - -CDEPEND="virtual/jdk:1.8" -DEPEND="${CDEPEND} - dev-java/javahelp:0" -RDEPEND="${CDEPEND} - ~dev-java/netbeans-harness-${PV} - ~dev-java/netbeans-ide-${PV} - ~dev-java/netbeans-nb-${PV} - ~dev-java/netbeans-platform-${PV} - netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) - netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) - netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) - netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) - netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) - netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} ) - netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) - netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) - netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) - netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) - netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) - netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) - netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) - netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} ) - netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) - doc? ( ~dev-java/netbeans-javadoc-${PV} )" - -JAVA_PKG_BSFIX="off" -NBLOCALES="" - -pkg_setup() { - for lingua in ${IUSE_L10N} ; do - if use ${lingua} ; then - local lang=${lingua/l10n_/} - lang=${lang/-/_} - - case ${lang} in - ar) lang="ar_EG,ar_SA" ;; - es) lang="es,es_CO" ;; - fil) lang="fil_PH" ;; - gl) lang="gl_ES" ;; - hi) lang="hi_IN" ;; - id) lang="in_ID" ;; - nl) lang="nl_BE,nl_NL" ;; - ta) lang="ta_IN" ;; - esac - - if [ -z "${NBLOCALES}" ] ; then - NBLOCALES="${lang}" - else - NBLOCALES="${NBLOCALES},${lang}" - fi - fi - done - - java-pkg-2_pkg_setup -} - -src_unpack() { - if [ -n "${NBLOCALES}" ] ; then - unpack $(basename ${SOURCE_URL}) - unpack $(basename ${L10N_URL}) - - einfo "Deleting bundled jars..." - find -name "*.jar" -type f -delete - - unpack netbeans-9999-r21-build.xml.patch.bz2 - fi -} - -src_prepare() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Deleting bundled class files..." - find -name "*.class" -type f | xargs rm -vf - - epatch netbeans-9999-r21-build.xml.patch - - einfo "Symlinking external libraries..." - java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar - fi - - java-pkg-2_src_prepare - default -} - -src_compile() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Compiling support for locales: ${NBLOCALES}" - eant -f nbbuild/build.xml bootstrap || die - eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ - -Dpermit.jdk7.builds=true -f l10n/build.xml build || die - fi -} - -src_install() { - if [ -n "${NBLOCALES}" ] ; then - pushd "${S}"/nbbuild/netbeans >/dev/null || die - - for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do - if [ -d "${cluster}" ] ; then - insinto /usr/share/netbeans-${cluster}-${SLOT} - doins -r ${cluster}/* - fi - done - - if [ -d nb ] ; then - insinto /usr/share/netbeans-nb-${SLOT}/nb - doins -r nb/* - fi - - popd >/dev/null || die - - make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development - - for lingua in ${IUSE_L10N}; do - if use ${lingua} ; then - local locales=${lingua/l10n_/} - locales=${locales/-/:} - - case ${locales} in - ar) lang="ar:EG ar:SA" ;; - es) lang="es es:CO" ;; - fil) lang="fil:PH" ;; - gl) lang="gl:ES" ;; - hi) lang="hi:IN" ;; - id) lang="in:ID" ;; - nl) lang="nl:BE nl:NL" ;; - ta) lang="ta:IN" ;; - esac - - for locale in ${locales}; do - make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development - done - fi - done - fi -} diff --git a/dev-util/netbeans/netbeans-9999_p20180214.ebuild b/dev-util/netbeans/netbeans-9999_p20180214.ebuild deleted file mode 100644 index dd3dfbf4b..000000000 --- a/dev-util/netbeans/netbeans-9999_p20180214.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="https://netbeans.org/" -SLOT="9999" -SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-14_00-02-33/zip/netbeans-trunk-nightly-201802140002-src.zip" -PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2" -L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20160920.tar.bz2" -ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" -SRC_URI="l10n_af? ( ${ALL_URLS} ) - l10n_ar? ( ${ALL_URLS} ) - l10n_bg? ( ${ALL_URLS} ) - l10n_ca? ( ${ALL_URLS} ) - l10n_cs? ( ${ALL_URLS} ) - l10n_de? ( ${ALL_URLS} ) - l10n_el? ( ${ALL_URLS} ) - l10n_es? ( ${ALL_URLS} ) - l10n_fil? ( ${ALL_URLS} ) - l10n_fr? ( ${ALL_URLS} ) - l10n_gl? ( ${ALL_URLS} ) - l10n_hi? ( ${ALL_URLS} ) - l10n_id? ( ${ALL_URLS} ) - l10n_it? ( ${ALL_URLS} ) - l10n_ja? ( ${ALL_URLS} ) - l10n_ko? ( ${ALL_URLS} ) - l10n_lt? ( ${ALL_URLS} ) - l10n_nl? ( ${ALL_URLS} ) - l10n_pl? ( ${ALL_URLS} ) - l10n_pt-BR? ( ${ALL_URLS} ) - l10n_pt-PT? ( ${ALL_URLS} ) - l10n_ro? ( ${ALL_URLS} ) - l10n_ru? ( ${ALL_URLS} ) - l10n_si? ( ${ALL_URLS} ) - l10n_sq? ( ${ALL_URLS} ) - l10n_sr? ( ${ALL_URLS} ) - l10n_sv? ( ${ALL_URLS} ) - l10n_ta? ( ${ALL_URLS} ) - l10n_tr? ( ${ALL_URLS} ) - l10n_vi? ( ${ALL_URLS} ) - l10n_zh-CN? ( ${ALL_URLS} ) - l10n_zh-TW? ( ${ALL_URLS} ) -" -LICENSE="|| ( CDDL GPL-2-with-linking-exception )" -KEYWORDS="~amd64 ~x86" -IUSE_NETBEANS_MODULES=" - +netbeans_modules_apisupport - netbeans_modules_cnd - netbeans_modules_dlight - netbeans_modules_enterprise - netbeans_modules_ergonomics - netbeans_modules_extide - netbeans_modules_groovy - +netbeans_modules_java - netbeans_modules_javacard - +netbeans_modules_javafx - netbeans_modules_mobility - netbeans_modules_php - +netbeans_modules_profiler - netbeans_modules_webcommon - +netbeans_modules_websvccommon" -IUSE_L10N=" - l10n_af - l10n_ar - l10n_bg - l10n_ca - l10n_cs - l10n_de - l10n_el - l10n_es - l10n_fil - l10n_fr - l10n_gl - l10n_hi - l10n_id - l10n_it - l10n_ja - l10n_ko - l10n_lt - l10n_nl - l10n_pl - l10n_pt-BR - l10n_pt-PT - l10n_ro - l10n_ru - l10n_si - l10n_sq - l10n_sr - l10n_sv - l10n_ta - l10n_tr - l10n_vi - l10n_zh-CN - l10n_zh-TW" -IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}" -S="${WORKDIR}" - -CDEPEND="virtual/jdk:1.8" -DEPEND="${CDEPEND} - dev-java/javahelp:0" -RDEPEND="${CDEPEND} - ~dev-java/netbeans-harness-${PV} - ~dev-java/netbeans-ide-${PV} - ~dev-java/netbeans-nb-${PV} - ~dev-java/netbeans-platform-${PV} - netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) - netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) - netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) - netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) - netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) - netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} ) - netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) - netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) - netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) - netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) - netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) - netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) - netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) - netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} ) - netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) - doc? ( ~dev-java/netbeans-javadoc-${PV} )" - -JAVA_PKG_BSFIX="off" -NBLOCALES="" - -pkg_setup() { - for lingua in ${IUSE_L10N} ; do - if use ${lingua} ; then - local lang=${lingua/l10n_/} - lang=${lang/-/_} - - case ${lang} in - ar) lang="ar_EG,ar_SA" ;; - es) lang="es,es_CO" ;; - fil) lang="fil_PH" ;; - gl) lang="gl_ES" ;; - hi) lang="hi_IN" ;; - id) lang="in_ID" ;; - nl) lang="nl_BE,nl_NL" ;; - ta) lang="ta_IN" ;; - esac - - if [ -z "${NBLOCALES}" ] ; then - NBLOCALES="${lang}" - else - NBLOCALES="${NBLOCALES},${lang}" - fi - fi - done - - java-pkg-2_pkg_setup -} - -src_unpack() { - if [ -n "${NBLOCALES}" ] ; then - unpack $(basename ${SOURCE_URL}) - unpack $(basename ${L10N_URL}) - - einfo "Deleting bundled jars..." - find -name "*.jar" -type f -delete - - unpack netbeans-9999-r21-build.xml.patch.bz2 - fi -} - -src_prepare() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Deleting bundled class files..." - find -name "*.class" -type f | xargs rm -vf - - epatch netbeans-9999-r21-build.xml.patch - - einfo "Symlinking external libraries..." - java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar - fi - - java-pkg-2_src_prepare - default -} - -src_compile() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Compiling support for locales: ${NBLOCALES}" - eant -f nbbuild/build.xml bootstrap || die - eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ - -Dpermit.jdk7.builds=true -f l10n/build.xml build || die - fi -} - -src_install() { - if [ -n "${NBLOCALES}" ] ; then - pushd "${S}"/nbbuild/netbeans >/dev/null || die - - for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do - if [ -d "${cluster}" ] ; then - insinto /usr/share/netbeans-${cluster}-${SLOT} - doins -r ${cluster}/* - fi - done - - if [ -d nb ] ; then - insinto /usr/share/netbeans-nb-${SLOT}/nb - doins -r nb/* - fi - - popd >/dev/null || die - - make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development - - for lingua in ${IUSE_L10N}; do - if use ${lingua} ; then - local locales=${lingua/l10n_/} - locales=${locales/-/:} - - case ${locales} in - ar) lang="ar:EG ar:SA" ;; - es) lang="es es:CO" ;; - fil) lang="fil:PH" ;; - gl) lang="gl:ES" ;; - hi) lang="hi:IN" ;; - id) lang="in:ID" ;; - nl) lang="nl:BE nl:NL" ;; - ta) lang="ta:IN" ;; - esac - - for locale in ${locales}; do - make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development - done - fi - done - fi -} diff --git a/dev-util/netbeans/netbeans-9999_p20180215.ebuild b/dev-util/netbeans/netbeans-9999_p20180215.ebuild deleted file mode 100644 index 75d19d4cc..000000000 --- a/dev-util/netbeans/netbeans-9999_p20180215.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="https://netbeans.org/" -SLOT="9999" -SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-15_00-02-34/zip/netbeans-trunk-nightly-201802150002-src.zip" -PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2" -L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20160920.tar.bz2" -ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" -SRC_URI="l10n_af? ( ${ALL_URLS} ) - l10n_ar? ( ${ALL_URLS} ) - l10n_bg? ( ${ALL_URLS} ) - l10n_ca? ( ${ALL_URLS} ) - l10n_cs? ( ${ALL_URLS} ) - l10n_de? ( ${ALL_URLS} ) - l10n_el? ( ${ALL_URLS} ) - l10n_es? ( ${ALL_URLS} ) - l10n_fil? ( ${ALL_URLS} ) - l10n_fr? ( ${ALL_URLS} ) - l10n_gl? ( ${ALL_URLS} ) - l10n_hi? ( ${ALL_URLS} ) - l10n_id? ( ${ALL_URLS} ) - l10n_it? ( ${ALL_URLS} ) - l10n_ja? ( ${ALL_URLS} ) - l10n_ko? ( ${ALL_URLS} ) - l10n_lt? ( ${ALL_URLS} ) - l10n_nl? ( ${ALL_URLS} ) - l10n_pl? ( ${ALL_URLS} ) - l10n_pt-BR? ( ${ALL_URLS} ) - l10n_pt-PT? ( ${ALL_URLS} ) - l10n_ro? ( ${ALL_URLS} ) - l10n_ru? ( ${ALL_URLS} ) - l10n_si? ( ${ALL_URLS} ) - l10n_sq? ( ${ALL_URLS} ) - l10n_sr? ( ${ALL_URLS} ) - l10n_sv? ( ${ALL_URLS} ) - l10n_ta? ( ${ALL_URLS} ) - l10n_tr? ( ${ALL_URLS} ) - l10n_vi? ( ${ALL_URLS} ) - l10n_zh-CN? ( ${ALL_URLS} ) - l10n_zh-TW? ( ${ALL_URLS} ) -" -LICENSE="|| ( CDDL GPL-2-with-linking-exception )" -KEYWORDS="~amd64 ~x86" -IUSE_NETBEANS_MODULES=" - +netbeans_modules_apisupport - netbeans_modules_cnd - netbeans_modules_dlight - netbeans_modules_enterprise - netbeans_modules_ergonomics - netbeans_modules_extide - netbeans_modules_groovy - +netbeans_modules_java - netbeans_modules_javacard - +netbeans_modules_javafx - netbeans_modules_mobility - netbeans_modules_php - +netbeans_modules_profiler - netbeans_modules_webcommon - +netbeans_modules_websvccommon" -IUSE_L10N=" - l10n_af - l10n_ar - l10n_bg - l10n_ca - l10n_cs - l10n_de - l10n_el - l10n_es - l10n_fil - l10n_fr - l10n_gl - l10n_hi - l10n_id - l10n_it - l10n_ja - l10n_ko - l10n_lt - l10n_nl - l10n_pl - l10n_pt-BR - l10n_pt-PT - l10n_ro - l10n_ru - l10n_si - l10n_sq - l10n_sr - l10n_sv - l10n_ta - l10n_tr - l10n_vi - l10n_zh-CN - l10n_zh-TW" -IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}" -S="${WORKDIR}" - -CDEPEND="virtual/jdk:1.8" -DEPEND="${CDEPEND} - dev-java/javahelp:0" -RDEPEND="${CDEPEND} - ~dev-java/netbeans-harness-${PV} - ~dev-java/netbeans-ide-${PV} - ~dev-java/netbeans-nb-${PV} - ~dev-java/netbeans-platform-${PV} - netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) - netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) - netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) - netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) - netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) - netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} ) - netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) - netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) - netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) - netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) - netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) - netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) - netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) - netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} ) - netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) - doc? ( ~dev-java/netbeans-javadoc-${PV} )" - -JAVA_PKG_BSFIX="off" -NBLOCALES="" - -pkg_setup() { - for lingua in ${IUSE_L10N} ; do - if use ${lingua} ; then - local lang=${lingua/l10n_/} - lang=${lang/-/_} - - case ${lang} in - ar) lang="ar_EG,ar_SA" ;; - es) lang="es,es_CO" ;; - fil) lang="fil_PH" ;; - gl) lang="gl_ES" ;; - hi) lang="hi_IN" ;; - id) lang="in_ID" ;; - nl) lang="nl_BE,nl_NL" ;; - ta) lang="ta_IN" ;; - esac - - if [ -z "${NBLOCALES}" ] ; then - NBLOCALES="${lang}" - else - NBLOCALES="${NBLOCALES},${lang}" - fi - fi - done - - java-pkg-2_pkg_setup -} - -src_unpack() { - if [ -n "${NBLOCALES}" ] ; then - unpack $(basename ${SOURCE_URL}) - unpack $(basename ${L10N_URL}) - - einfo "Deleting bundled jars..." - find -name "*.jar" -type f -delete - - unpack netbeans-9999-r21-build.xml.patch.bz2 - fi -} - -src_prepare() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Deleting bundled class files..." - find -name "*.class" -type f | xargs rm -vf - - epatch netbeans-9999-r21-build.xml.patch - - einfo "Symlinking external libraries..." - java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar - fi - - java-pkg-2_src_prepare - default -} - -src_compile() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Compiling support for locales: ${NBLOCALES}" - eant -f nbbuild/build.xml bootstrap || die - eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ - -Dpermit.jdk7.builds=true -f l10n/build.xml build || die - fi -} - -src_install() { - if [ -n "${NBLOCALES}" ] ; then - pushd "${S}"/nbbuild/netbeans >/dev/null || die - - for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do - if [ -d "${cluster}" ] ; then - insinto /usr/share/netbeans-${cluster}-${SLOT} - doins -r ${cluster}/* - fi - done - - if [ -d nb ] ; then - insinto /usr/share/netbeans-nb-${SLOT}/nb - doins -r nb/* - fi - - popd >/dev/null || die - - make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development - - for lingua in ${IUSE_L10N}; do - if use ${lingua} ; then - local locales=${lingua/l10n_/} - locales=${locales/-/:} - - case ${locales} in - ar) lang="ar:EG ar:SA" ;; - es) lang="es es:CO" ;; - fil) lang="fil:PH" ;; - gl) lang="gl:ES" ;; - hi) lang="hi:IN" ;; - id) lang="in:ID" ;; - nl) lang="nl:BE nl:NL" ;; - ta) lang="ta:IN" ;; - esac - - for locale in ${locales}; do - make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development - done - fi - done - fi -} diff --git a/dev-util/netbeans/netbeans-9999_p20180219.ebuild b/dev-util/netbeans/netbeans-9999_p20180219.ebuild deleted file mode 100644 index 55e98ca99..000000000 --- a/dev-util/netbeans/netbeans-9999_p20180219.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="https://netbeans.org/" -SLOT="9999" -SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-19_00-02-33/zip/netbeans-trunk-nightly-201802190002-src.zip" -PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2" -L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20160920.tar.bz2" -ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" -SRC_URI="l10n_af? ( ${ALL_URLS} ) - l10n_ar? ( ${ALL_URLS} ) - l10n_bg? ( ${ALL_URLS} ) - l10n_ca? ( ${ALL_URLS} ) - l10n_cs? ( ${ALL_URLS} ) - l10n_de? ( ${ALL_URLS} ) - l10n_el? ( ${ALL_URLS} ) - l10n_es? ( ${ALL_URLS} ) - l10n_fil? ( ${ALL_URLS} ) - l10n_fr? ( ${ALL_URLS} ) - l10n_gl? ( ${ALL_URLS} ) - l10n_hi? ( ${ALL_URLS} ) - l10n_id? ( ${ALL_URLS} ) - l10n_it? ( ${ALL_URLS} ) - l10n_ja? ( ${ALL_URLS} ) - l10n_ko? ( ${ALL_URLS} ) - l10n_lt? ( ${ALL_URLS} ) - l10n_nl? ( ${ALL_URLS} ) - l10n_pl? ( ${ALL_URLS} ) - l10n_pt-BR? ( ${ALL_URLS} ) - l10n_pt-PT? ( ${ALL_URLS} ) - l10n_ro? ( ${ALL_URLS} ) - l10n_ru? ( ${ALL_URLS} ) - l10n_si? ( ${ALL_URLS} ) - l10n_sq? ( ${ALL_URLS} ) - l10n_sr? ( ${ALL_URLS} ) - l10n_sv? ( ${ALL_URLS} ) - l10n_ta? ( ${ALL_URLS} ) - l10n_tr? ( ${ALL_URLS} ) - l10n_vi? ( ${ALL_URLS} ) - l10n_zh-CN? ( ${ALL_URLS} ) - l10n_zh-TW? ( ${ALL_URLS} ) -" -LICENSE="|| ( CDDL GPL-2-with-linking-exception )" -KEYWORDS="~amd64 ~x86" -IUSE_NETBEANS_MODULES=" - +netbeans_modules_apisupport - netbeans_modules_cnd - netbeans_modules_dlight - netbeans_modules_enterprise - netbeans_modules_ergonomics - netbeans_modules_extide - netbeans_modules_groovy - +netbeans_modules_java - netbeans_modules_javacard - +netbeans_modules_javafx - netbeans_modules_mobility - netbeans_modules_php - +netbeans_modules_profiler - netbeans_modules_webcommon - +netbeans_modules_websvccommon" -IUSE_L10N=" - l10n_af - l10n_ar - l10n_bg - l10n_ca - l10n_cs - l10n_de - l10n_el - l10n_es - l10n_fil - l10n_fr - l10n_gl - l10n_hi - l10n_id - l10n_it - l10n_ja - l10n_ko - l10n_lt - l10n_nl - l10n_pl - l10n_pt-BR - l10n_pt-PT - l10n_ro - l10n_ru - l10n_si - l10n_sq - l10n_sr - l10n_sv - l10n_ta - l10n_tr - l10n_vi - l10n_zh-CN - l10n_zh-TW" -IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}" -S="${WORKDIR}" - -CDEPEND="virtual/jdk:1.8" -DEPEND="${CDEPEND} - dev-java/javahelp:0" -RDEPEND="${CDEPEND} - ~dev-java/netbeans-harness-${PV} - ~dev-java/netbeans-ide-${PV} - ~dev-java/netbeans-nb-${PV} - ~dev-java/netbeans-platform-${PV} - netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) - netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) - netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) - netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) - netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) - netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} ) - netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) - netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) - netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) - netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) - netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) - netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) - netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) - netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} ) - netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) - doc? ( ~dev-java/netbeans-javadoc-${PV} )" - -JAVA_PKG_BSFIX="off" -NBLOCALES="" - -pkg_setup() { - for lingua in ${IUSE_L10N} ; do - if use ${lingua} ; then - local lang=${lingua/l10n_/} - lang=${lang/-/_} - - case ${lang} in - ar) lang="ar_EG,ar_SA" ;; - es) lang="es,es_CO" ;; - fil) lang="fil_PH" ;; - gl) lang="gl_ES" ;; - hi) lang="hi_IN" ;; - id) lang="in_ID" ;; - nl) lang="nl_BE,nl_NL" ;; - ta) lang="ta_IN" ;; - esac - - if [ -z "${NBLOCALES}" ] ; then - NBLOCALES="${lang}" - else - NBLOCALES="${NBLOCALES},${lang}" - fi - fi - done - - java-pkg-2_pkg_setup -} - -src_unpack() { - if [ -n "${NBLOCALES}" ] ; then - unpack $(basename ${SOURCE_URL}) - unpack $(basename ${L10N_URL}) - - einfo "Deleting bundled jars..." - find -name "*.jar" -type f -delete - - unpack netbeans-9999-r21-build.xml.patch.bz2 - fi -} - -src_prepare() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Deleting bundled class files..." - find -name "*.class" -type f | xargs rm -vf - - epatch netbeans-9999-r21-build.xml.patch - - einfo "Symlinking external libraries..." - java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar - fi - - java-pkg-2_src_prepare - default -} - -src_compile() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Compiling support for locales: ${NBLOCALES}" - eant -f nbbuild/build.xml bootstrap || die - eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ - -Dpermit.jdk7.builds=true -f l10n/build.xml build || die - fi -} - -src_install() { - if [ -n "${NBLOCALES}" ] ; then - pushd "${S}"/nbbuild/netbeans >/dev/null || die - - for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do - if [ -d "${cluster}" ] ; then - insinto /usr/share/netbeans-${cluster}-${SLOT} - doins -r ${cluster}/* - fi - done - - if [ -d nb ] ; then - insinto /usr/share/netbeans-nb-${SLOT}/nb - doins -r nb/* - fi - - popd >/dev/null || die - - make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development - - for lingua in ${IUSE_L10N}; do - if use ${lingua} ; then - local locales=${lingua/l10n_/} - locales=${locales/-/:} - - case ${locales} in - ar) lang="ar:EG ar:SA" ;; - es) lang="es es:CO" ;; - fil) lang="fil:PH" ;; - gl) lang="gl:ES" ;; - hi) lang="hi:IN" ;; - id) lang="in:ID" ;; - nl) lang="nl:BE nl:NL" ;; - ta) lang="ta:IN" ;; - esac - - for locale in ${locales}; do - make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development - done - fi - done - fi -} diff --git a/dev-util/netbeans/netbeans-9999_p20180220.ebuild b/dev-util/netbeans/netbeans-9999_p20180220.ebuild deleted file mode 100644 index 14c3d9568..000000000 --- a/dev-util/netbeans/netbeans-9999_p20180220.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="https://netbeans.org/" -SLOT="9999" -SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-20_00-02-34/zip/netbeans-trunk-nightly-201802200002-src.zip" -PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2" -L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20160920.tar.bz2" -ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" -SRC_URI="l10n_af? ( ${ALL_URLS} ) - l10n_ar? ( ${ALL_URLS} ) - l10n_bg? ( ${ALL_URLS} ) - l10n_ca? ( ${ALL_URLS} ) - l10n_cs? ( ${ALL_URLS} ) - l10n_de? ( ${ALL_URLS} ) - l10n_el? ( ${ALL_URLS} ) - l10n_es? ( ${ALL_URLS} ) - l10n_fil? ( ${ALL_URLS} ) - l10n_fr? ( ${ALL_URLS} ) - l10n_gl? ( ${ALL_URLS} ) - l10n_hi? ( ${ALL_URLS} ) - l10n_id? ( ${ALL_URLS} ) - l10n_it? ( ${ALL_URLS} ) - l10n_ja? ( ${ALL_URLS} ) - l10n_ko? ( ${ALL_URLS} ) - l10n_lt? ( ${ALL_URLS} ) - l10n_nl? ( ${ALL_URLS} ) - l10n_pl? ( ${ALL_URLS} ) - l10n_pt-BR? ( ${ALL_URLS} ) - l10n_pt-PT? ( ${ALL_URLS} ) - l10n_ro? ( ${ALL_URLS} ) - l10n_ru? ( ${ALL_URLS} ) - l10n_si? ( ${ALL_URLS} ) - l10n_sq? ( ${ALL_URLS} ) - l10n_sr? ( ${ALL_URLS} ) - l10n_sv? ( ${ALL_URLS} ) - l10n_ta? ( ${ALL_URLS} ) - l10n_tr? ( ${ALL_URLS} ) - l10n_vi? ( ${ALL_URLS} ) - l10n_zh-CN? ( ${ALL_URLS} ) - l10n_zh-TW? ( ${ALL_URLS} ) -" -LICENSE="|| ( CDDL GPL-2-with-linking-exception )" -KEYWORDS="~amd64 ~x86" -IUSE_NETBEANS_MODULES=" - +netbeans_modules_apisupport - netbeans_modules_cnd - netbeans_modules_dlight - netbeans_modules_enterprise - netbeans_modules_ergonomics - netbeans_modules_extide - netbeans_modules_groovy - +netbeans_modules_java - netbeans_modules_javacard - +netbeans_modules_javafx - netbeans_modules_mobility - netbeans_modules_php - +netbeans_modules_profiler - netbeans_modules_webcommon - +netbeans_modules_websvccommon" -IUSE_L10N=" - l10n_af - l10n_ar - l10n_bg - l10n_ca - l10n_cs - l10n_de - l10n_el - l10n_es - l10n_fil - l10n_fr - l10n_gl - l10n_hi - l10n_id - l10n_it - l10n_ja - l10n_ko - l10n_lt - l10n_nl - l10n_pl - l10n_pt-BR - l10n_pt-PT - l10n_ro - l10n_ru - l10n_si - l10n_sq - l10n_sr - l10n_sv - l10n_ta - l10n_tr - l10n_vi - l10n_zh-CN - l10n_zh-TW" -IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}" -S="${WORKDIR}" - -CDEPEND="virtual/jdk:1.8" -DEPEND="${CDEPEND} - dev-java/javahelp:0" -RDEPEND="${CDEPEND} - ~dev-java/netbeans-harness-${PV} - ~dev-java/netbeans-ide-${PV} - ~dev-java/netbeans-nb-${PV} - ~dev-java/netbeans-platform-${PV} - netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) - netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) - netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) - netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) - netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) - netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} ) - netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) - netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) - netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) - netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) - netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) - netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) - netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) - netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} ) - netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) - doc? ( ~dev-java/netbeans-javadoc-${PV} )" - -JAVA_PKG_BSFIX="off" -NBLOCALES="" - -pkg_setup() { - for lingua in ${IUSE_L10N} ; do - if use ${lingua} ; then - local lang=${lingua/l10n_/} - lang=${lang/-/_} - - case ${lang} in - ar) lang="ar_EG,ar_SA" ;; - es) lang="es,es_CO" ;; - fil) lang="fil_PH" ;; - gl) lang="gl_ES" ;; - hi) lang="hi_IN" ;; - id) lang="in_ID" ;; - nl) lang="nl_BE,nl_NL" ;; - ta) lang="ta_IN" ;; - esac - - if [ -z "${NBLOCALES}" ] ; then - NBLOCALES="${lang}" - else - NBLOCALES="${NBLOCALES},${lang}" - fi - fi - done - - java-pkg-2_pkg_setup -} - -src_unpack() { - if [ -n "${NBLOCALES}" ] ; then - unpack $(basename ${SOURCE_URL}) - unpack $(basename ${L10N_URL}) - - einfo "Deleting bundled jars..." - find -name "*.jar" -type f -delete - - unpack netbeans-9999-r21-build.xml.patch.bz2 - fi -} - -src_prepare() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Deleting bundled class files..." - find -name "*.class" -type f | xargs rm -vf - - epatch netbeans-9999-r21-build.xml.patch - - einfo "Symlinking external libraries..." - java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar - fi - - java-pkg-2_src_prepare - default -} - -src_compile() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Compiling support for locales: ${NBLOCALES}" - eant -f nbbuild/build.xml bootstrap || die - eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ - -Dpermit.jdk7.builds=true -f l10n/build.xml build || die - fi -} - -src_install() { - if [ -n "${NBLOCALES}" ] ; then - pushd "${S}"/nbbuild/netbeans >/dev/null || die - - for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do - if [ -d "${cluster}" ] ; then - insinto /usr/share/netbeans-${cluster}-${SLOT} - doins -r ${cluster}/* - fi - done - - if [ -d nb ] ; then - insinto /usr/share/netbeans-nb-${SLOT}/nb - doins -r nb/* - fi - - popd >/dev/null || die - - make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development - - for lingua in ${IUSE_L10N}; do - if use ${lingua} ; then - local locales=${lingua/l10n_/} - locales=${locales/-/:} - - case ${locales} in - ar) lang="ar:EG ar:SA" ;; - es) lang="es es:CO" ;; - fil) lang="fil:PH" ;; - gl) lang="gl:ES" ;; - hi) lang="hi:IN" ;; - id) lang="in:ID" ;; - nl) lang="nl:BE nl:NL" ;; - ta) lang="ta:IN" ;; - esac - - for locale in ${locales}; do - make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development - done - fi - done - fi -} diff --git a/dev-util/netbeans/netbeans-9999_p20180221.ebuild b/dev-util/netbeans/netbeans-9999_p20180221.ebuild deleted file mode 100644 index 13d98eeb8..000000000 --- a/dev-util/netbeans/netbeans-9999_p20180221.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="https://netbeans.org/" -SLOT="9999" -SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-21_00-02-34/zip/netbeans-trunk-nightly-201802210002-src.zip" -PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2" -L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20160920.tar.bz2" -ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" -SRC_URI="l10n_af? ( ${ALL_URLS} ) - l10n_ar? ( ${ALL_URLS} ) - l10n_bg? ( ${ALL_URLS} ) - l10n_ca? ( ${ALL_URLS} ) - l10n_cs? ( ${ALL_URLS} ) - l10n_de? ( ${ALL_URLS} ) - l10n_el? ( ${ALL_URLS} ) - l10n_es? ( ${ALL_URLS} ) - l10n_fil? ( ${ALL_URLS} ) - l10n_fr? ( ${ALL_URLS} ) - l10n_gl? ( ${ALL_URLS} ) - l10n_hi? ( ${ALL_URLS} ) - l10n_id? ( ${ALL_URLS} ) - l10n_it? ( ${ALL_URLS} ) - l10n_ja? ( ${ALL_URLS} ) - l10n_ko? ( ${ALL_URLS} ) - l10n_lt? ( ${ALL_URLS} ) - l10n_nl? ( ${ALL_URLS} ) - l10n_pl? ( ${ALL_URLS} ) - l10n_pt-BR? ( ${ALL_URLS} ) - l10n_pt-PT? ( ${ALL_URLS} ) - l10n_ro? ( ${ALL_URLS} ) - l10n_ru? ( ${ALL_URLS} ) - l10n_si? ( ${ALL_URLS} ) - l10n_sq? ( ${ALL_URLS} ) - l10n_sr? ( ${ALL_URLS} ) - l10n_sv? ( ${ALL_URLS} ) - l10n_ta? ( ${ALL_URLS} ) - l10n_tr? ( ${ALL_URLS} ) - l10n_vi? ( ${ALL_URLS} ) - l10n_zh-CN? ( ${ALL_URLS} ) - l10n_zh-TW? ( ${ALL_URLS} ) -" -LICENSE="|| ( CDDL GPL-2-with-linking-exception )" -KEYWORDS="~amd64 ~x86" -IUSE_NETBEANS_MODULES=" - +netbeans_modules_apisupport - netbeans_modules_cnd - netbeans_modules_dlight - netbeans_modules_enterprise - netbeans_modules_ergonomics - netbeans_modules_extide - netbeans_modules_groovy - +netbeans_modules_java - netbeans_modules_javacard - +netbeans_modules_javafx - netbeans_modules_mobility - netbeans_modules_php - +netbeans_modules_profiler - netbeans_modules_webcommon - +netbeans_modules_websvccommon" -IUSE_L10N=" - l10n_af - l10n_ar - l10n_bg - l10n_ca - l10n_cs - l10n_de - l10n_el - l10n_es - l10n_fil - l10n_fr - l10n_gl - l10n_hi - l10n_id - l10n_it - l10n_ja - l10n_ko - l10n_lt - l10n_nl - l10n_pl - l10n_pt-BR - l10n_pt-PT - l10n_ro - l10n_ru - l10n_si - l10n_sq - l10n_sr - l10n_sv - l10n_ta - l10n_tr - l10n_vi - l10n_zh-CN - l10n_zh-TW" -IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}" -S="${WORKDIR}" - -CDEPEND="virtual/jdk:1.8" -DEPEND="${CDEPEND} - dev-java/javahelp:0" -RDEPEND="${CDEPEND} - ~dev-java/netbeans-harness-${PV} - ~dev-java/netbeans-ide-${PV} - ~dev-java/netbeans-nb-${PV} - ~dev-java/netbeans-platform-${PV} - netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) - netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) - netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) - netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) - netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) - netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} ) - netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) - netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) - netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) - netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) - netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) - netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) - netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) - netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} ) - netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) - doc? ( ~dev-java/netbeans-javadoc-${PV} )" - -JAVA_PKG_BSFIX="off" -NBLOCALES="" - -pkg_setup() { - for lingua in ${IUSE_L10N} ; do - if use ${lingua} ; then - local lang=${lingua/l10n_/} - lang=${lang/-/_} - - case ${lang} in - ar) lang="ar_EG,ar_SA" ;; - es) lang="es,es_CO" ;; - fil) lang="fil_PH" ;; - gl) lang="gl_ES" ;; - hi) lang="hi_IN" ;; - id) lang="in_ID" ;; - nl) lang="nl_BE,nl_NL" ;; - ta) lang="ta_IN" ;; - esac - - if [ -z "${NBLOCALES}" ] ; then - NBLOCALES="${lang}" - else - NBLOCALES="${NBLOCALES},${lang}" - fi - fi - done - - java-pkg-2_pkg_setup -} - -src_unpack() { - if [ -n "${NBLOCALES}" ] ; then - unpack $(basename ${SOURCE_URL}) - unpack $(basename ${L10N_URL}) - - einfo "Deleting bundled jars..." - find -name "*.jar" -type f -delete - - unpack netbeans-9999-r21-build.xml.patch.bz2 - fi -} - -src_prepare() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Deleting bundled class files..." - find -name "*.class" -type f | xargs rm -vf - - epatch netbeans-9999-r21-build.xml.patch - - einfo "Symlinking external libraries..." - java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar - fi - - java-pkg-2_src_prepare - default -} - -src_compile() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Compiling support for locales: ${NBLOCALES}" - eant -f nbbuild/build.xml bootstrap || die - eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ - -Dpermit.jdk7.builds=true -f l10n/build.xml build || die - fi -} - -src_install() { - if [ -n "${NBLOCALES}" ] ; then - pushd "${S}"/nbbuild/netbeans >/dev/null || die - - for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do - if [ -d "${cluster}" ] ; then - insinto /usr/share/netbeans-${cluster}-${SLOT} - doins -r ${cluster}/* - fi - done - - if [ -d nb ] ; then - insinto /usr/share/netbeans-nb-${SLOT}/nb - doins -r nb/* - fi - - popd >/dev/null || die - - make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development - - for lingua in ${IUSE_L10N}; do - if use ${lingua} ; then - local locales=${lingua/l10n_/} - locales=${locales/-/:} - - case ${locales} in - ar) lang="ar:EG ar:SA" ;; - es) lang="es es:CO" ;; - fil) lang="fil:PH" ;; - gl) lang="gl:ES" ;; - hi) lang="hi:IN" ;; - id) lang="in:ID" ;; - nl) lang="nl:BE nl:NL" ;; - ta) lang="ta:IN" ;; - esac - - for locale in ${locales}; do - make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development - done - fi - done - fi -} diff --git a/dev-util/netbeans/netbeans-9999_p20180222.ebuild b/dev-util/netbeans/netbeans-9999_p20180222.ebuild deleted file mode 100644 index 7b0908f7d..000000000 --- a/dev-util/netbeans/netbeans-9999_p20180222.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="https://netbeans.org/" -SLOT="9999" -SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-22_00-02-34/zip/netbeans-trunk-nightly-201802220002-src.zip" -PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2" -L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20160920.tar.bz2" -ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" -SRC_URI="l10n_af? ( ${ALL_URLS} ) - l10n_ar? ( ${ALL_URLS} ) - l10n_bg? ( ${ALL_URLS} ) - l10n_ca? ( ${ALL_URLS} ) - l10n_cs? ( ${ALL_URLS} ) - l10n_de? ( ${ALL_URLS} ) - l10n_el? ( ${ALL_URLS} ) - l10n_es? ( ${ALL_URLS} ) - l10n_fil? ( ${ALL_URLS} ) - l10n_fr? ( ${ALL_URLS} ) - l10n_gl? ( ${ALL_URLS} ) - l10n_hi? ( ${ALL_URLS} ) - l10n_id? ( ${ALL_URLS} ) - l10n_it? ( ${ALL_URLS} ) - l10n_ja? ( ${ALL_URLS} ) - l10n_ko? ( ${ALL_URLS} ) - l10n_lt? ( ${ALL_URLS} ) - l10n_nl? ( ${ALL_URLS} ) - l10n_pl? ( ${ALL_URLS} ) - l10n_pt-BR? ( ${ALL_URLS} ) - l10n_pt-PT? ( ${ALL_URLS} ) - l10n_ro? ( ${ALL_URLS} ) - l10n_ru? ( ${ALL_URLS} ) - l10n_si? ( ${ALL_URLS} ) - l10n_sq? ( ${ALL_URLS} ) - l10n_sr? ( ${ALL_URLS} ) - l10n_sv? ( ${ALL_URLS} ) - l10n_ta? ( ${ALL_URLS} ) - l10n_tr? ( ${ALL_URLS} ) - l10n_vi? ( ${ALL_URLS} ) - l10n_zh-CN? ( ${ALL_URLS} ) - l10n_zh-TW? ( ${ALL_URLS} ) -" -LICENSE="|| ( CDDL GPL-2-with-linking-exception )" -KEYWORDS="~amd64 ~x86" -IUSE_NETBEANS_MODULES=" - +netbeans_modules_apisupport - netbeans_modules_cnd - netbeans_modules_dlight - netbeans_modules_enterprise - netbeans_modules_ergonomics - netbeans_modules_extide - netbeans_modules_groovy - +netbeans_modules_java - netbeans_modules_javacard - +netbeans_modules_javafx - netbeans_modules_mobility - netbeans_modules_php - +netbeans_modules_profiler - netbeans_modules_webcommon - +netbeans_modules_websvccommon" -IUSE_L10N=" - l10n_af - l10n_ar - l10n_bg - l10n_ca - l10n_cs - l10n_de - l10n_el - l10n_es - l10n_fil - l10n_fr - l10n_gl - l10n_hi - l10n_id - l10n_it - l10n_ja - l10n_ko - l10n_lt - l10n_nl - l10n_pl - l10n_pt-BR - l10n_pt-PT - l10n_ro - l10n_ru - l10n_si - l10n_sq - l10n_sr - l10n_sv - l10n_ta - l10n_tr - l10n_vi - l10n_zh-CN - l10n_zh-TW" -IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}" -S="${WORKDIR}" - -CDEPEND="virtual/jdk:1.8" -DEPEND="${CDEPEND} - dev-java/javahelp:0" -RDEPEND="${CDEPEND} - ~dev-java/netbeans-harness-${PV} - ~dev-java/netbeans-ide-${PV} - ~dev-java/netbeans-nb-${PV} - ~dev-java/netbeans-platform-${PV} - netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) - netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) - netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) - netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) - netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) - netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} ) - netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) - netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) - netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) - netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) - netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) - netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) - netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) - netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} ) - netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) - doc? ( ~dev-java/netbeans-javadoc-${PV} )" - -JAVA_PKG_BSFIX="off" -NBLOCALES="" - -pkg_setup() { - for lingua in ${IUSE_L10N} ; do - if use ${lingua} ; then - local lang=${lingua/l10n_/} - lang=${lang/-/_} - - case ${lang} in - ar) lang="ar_EG,ar_SA" ;; - es) lang="es,es_CO" ;; - fil) lang="fil_PH" ;; - gl) lang="gl_ES" ;; - hi) lang="hi_IN" ;; - id) lang="in_ID" ;; - nl) lang="nl_BE,nl_NL" ;; - ta) lang="ta_IN" ;; - esac - - if [ -z "${NBLOCALES}" ] ; then - NBLOCALES="${lang}" - else - NBLOCALES="${NBLOCALES},${lang}" - fi - fi - done - - java-pkg-2_pkg_setup -} - -src_unpack() { - if [ -n "${NBLOCALES}" ] ; then - unpack $(basename ${SOURCE_URL}) - unpack $(basename ${L10N_URL}) - - einfo "Deleting bundled jars..." - find -name "*.jar" -type f -delete - - unpack netbeans-9999-r21-build.xml.patch.bz2 - fi -} - -src_prepare() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Deleting bundled class files..." - find -name "*.class" -type f | xargs rm -vf - - epatch netbeans-9999-r21-build.xml.patch - - einfo "Symlinking external libraries..." - java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar - fi - - java-pkg-2_src_prepare - default -} - -src_compile() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Compiling support for locales: ${NBLOCALES}" - eant -f nbbuild/build.xml bootstrap || die - eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ - -Dpermit.jdk7.builds=true -f l10n/build.xml build || die - fi -} - -src_install() { - if [ -n "${NBLOCALES}" ] ; then - pushd "${S}"/nbbuild/netbeans >/dev/null || die - - for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do - if [ -d "${cluster}" ] ; then - insinto /usr/share/netbeans-${cluster}-${SLOT} - doins -r ${cluster}/* - fi - done - - if [ -d nb ] ; then - insinto /usr/share/netbeans-nb-${SLOT}/nb - doins -r nb/* - fi - - popd >/dev/null || die - - make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development - - for lingua in ${IUSE_L10N}; do - if use ${lingua} ; then - local locales=${lingua/l10n_/} - locales=${locales/-/:} - - case ${locales} in - ar) lang="ar:EG ar:SA" ;; - es) lang="es es:CO" ;; - fil) lang="fil:PH" ;; - gl) lang="gl:ES" ;; - hi) lang="hi:IN" ;; - id) lang="in:ID" ;; - nl) lang="nl:BE nl:NL" ;; - ta) lang="ta:IN" ;; - esac - - for locale in ${locales}; do - make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development - done - fi - done - fi -} diff --git a/dev-util/netbeans/netbeans-9999_p20180223.ebuild b/dev-util/netbeans/netbeans-9999_p20180223.ebuild deleted file mode 100644 index 243be8b51..000000000 --- a/dev-util/netbeans/netbeans-9999_p20180223.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="https://netbeans.org/" -SLOT="9999" -SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-23_00-02-34/zip/netbeans-trunk-nightly-201802230002-src.zip" -PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2" -L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20160920.tar.bz2" -ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" -SRC_URI="l10n_af? ( ${ALL_URLS} ) - l10n_ar? ( ${ALL_URLS} ) - l10n_bg? ( ${ALL_URLS} ) - l10n_ca? ( ${ALL_URLS} ) - l10n_cs? ( ${ALL_URLS} ) - l10n_de? ( ${ALL_URLS} ) - l10n_el? ( ${ALL_URLS} ) - l10n_es? ( ${ALL_URLS} ) - l10n_fil? ( ${ALL_URLS} ) - l10n_fr? ( ${ALL_URLS} ) - l10n_gl? ( ${ALL_URLS} ) - l10n_hi? ( ${ALL_URLS} ) - l10n_id? ( ${ALL_URLS} ) - l10n_it? ( ${ALL_URLS} ) - l10n_ja? ( ${ALL_URLS} ) - l10n_ko? ( ${ALL_URLS} ) - l10n_lt? ( ${ALL_URLS} ) - l10n_nl? ( ${ALL_URLS} ) - l10n_pl? ( ${ALL_URLS} ) - l10n_pt-BR? ( ${ALL_URLS} ) - l10n_pt-PT? ( ${ALL_URLS} ) - l10n_ro? ( ${ALL_URLS} ) - l10n_ru? ( ${ALL_URLS} ) - l10n_si? ( ${ALL_URLS} ) - l10n_sq? ( ${ALL_URLS} ) - l10n_sr? ( ${ALL_URLS} ) - l10n_sv? ( ${ALL_URLS} ) - l10n_ta? ( ${ALL_URLS} ) - l10n_tr? ( ${ALL_URLS} ) - l10n_vi? ( ${ALL_URLS} ) - l10n_zh-CN? ( ${ALL_URLS} ) - l10n_zh-TW? ( ${ALL_URLS} ) -" -LICENSE="|| ( CDDL GPL-2-with-linking-exception )" -KEYWORDS="~amd64 ~x86" -IUSE_NETBEANS_MODULES=" - +netbeans_modules_apisupport - netbeans_modules_cnd - netbeans_modules_dlight - netbeans_modules_enterprise - netbeans_modules_ergonomics - netbeans_modules_extide - netbeans_modules_groovy - +netbeans_modules_java - netbeans_modules_javacard - +netbeans_modules_javafx - netbeans_modules_mobility - netbeans_modules_php - +netbeans_modules_profiler - netbeans_modules_webcommon - +netbeans_modules_websvccommon" -IUSE_L10N=" - l10n_af - l10n_ar - l10n_bg - l10n_ca - l10n_cs - l10n_de - l10n_el - l10n_es - l10n_fil - l10n_fr - l10n_gl - l10n_hi - l10n_id - l10n_it - l10n_ja - l10n_ko - l10n_lt - l10n_nl - l10n_pl - l10n_pt-BR - l10n_pt-PT - l10n_ro - l10n_ru - l10n_si - l10n_sq - l10n_sr - l10n_sv - l10n_ta - l10n_tr - l10n_vi - l10n_zh-CN - l10n_zh-TW" -IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}" -S="${WORKDIR}" - -CDEPEND="virtual/jdk:1.8" -DEPEND="${CDEPEND} - dev-java/javahelp:0" -RDEPEND="${CDEPEND} - ~dev-java/netbeans-harness-${PV} - ~dev-java/netbeans-ide-${PV} - ~dev-java/netbeans-nb-${PV} - ~dev-java/netbeans-platform-${PV} - netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) - netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) - netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) - netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) - netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) - netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} ) - netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) - netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) - netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) - netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) - netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) - netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) - netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) - netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} ) - netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) - doc? ( ~dev-java/netbeans-javadoc-${PV} )" - -JAVA_PKG_BSFIX="off" -NBLOCALES="" - -pkg_setup() { - for lingua in ${IUSE_L10N} ; do - if use ${lingua} ; then - local lang=${lingua/l10n_/} - lang=${lang/-/_} - - case ${lang} in - ar) lang="ar_EG,ar_SA" ;; - es) lang="es,es_CO" ;; - fil) lang="fil_PH" ;; - gl) lang="gl_ES" ;; - hi) lang="hi_IN" ;; - id) lang="in_ID" ;; - nl) lang="nl_BE,nl_NL" ;; - ta) lang="ta_IN" ;; - esac - - if [ -z "${NBLOCALES}" ] ; then - NBLOCALES="${lang}" - else - NBLOCALES="${NBLOCALES},${lang}" - fi - fi - done - - java-pkg-2_pkg_setup -} - -src_unpack() { - if [ -n "${NBLOCALES}" ] ; then - unpack $(basename ${SOURCE_URL}) - unpack $(basename ${L10N_URL}) - - einfo "Deleting bundled jars..." - find -name "*.jar" -type f -delete - - unpack netbeans-9999-r21-build.xml.patch.bz2 - fi -} - -src_prepare() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Deleting bundled class files..." - find -name "*.class" -type f | xargs rm -vf - - epatch netbeans-9999-r21-build.xml.patch - - einfo "Symlinking external libraries..." - java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar - fi - - java-pkg-2_src_prepare - default -} - -src_compile() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Compiling support for locales: ${NBLOCALES}" - eant -f nbbuild/build.xml bootstrap || die - eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ - -Dpermit.jdk7.builds=true -f l10n/build.xml build || die - fi -} - -src_install() { - if [ -n "${NBLOCALES}" ] ; then - pushd "${S}"/nbbuild/netbeans >/dev/null || die - - for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do - if [ -d "${cluster}" ] ; then - insinto /usr/share/netbeans-${cluster}-${SLOT} - doins -r ${cluster}/* - fi - done - - if [ -d nb ] ; then - insinto /usr/share/netbeans-nb-${SLOT}/nb - doins -r nb/* - fi - - popd >/dev/null || die - - make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development - - for lingua in ${IUSE_L10N}; do - if use ${lingua} ; then - local locales=${lingua/l10n_/} - locales=${locales/-/:} - - case ${locales} in - ar) lang="ar:EG ar:SA" ;; - es) lang="es es:CO" ;; - fil) lang="fil:PH" ;; - gl) lang="gl:ES" ;; - hi) lang="hi:IN" ;; - id) lang="in:ID" ;; - nl) lang="nl:BE nl:NL" ;; - ta) lang="ta:IN" ;; - esac - - for locale in ${locales}; do - make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development - done - fi - done - fi -} diff --git a/dev-util/netbeans/netbeans-9999_p20180226.ebuild b/dev-util/netbeans/netbeans-9999_p20180226.ebuild deleted file mode 100644 index 96507770b..000000000 --- a/dev-util/netbeans/netbeans-9999_p20180226.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="https://netbeans.org/" -SLOT="9999" -SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-src.zip" -PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2" -L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20160920.tar.bz2" -ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" -SRC_URI="l10n_af? ( ${ALL_URLS} ) - l10n_ar? ( ${ALL_URLS} ) - l10n_bg? ( ${ALL_URLS} ) - l10n_ca? ( ${ALL_URLS} ) - l10n_cs? ( ${ALL_URLS} ) - l10n_de? ( ${ALL_URLS} ) - l10n_el? ( ${ALL_URLS} ) - l10n_es? ( ${ALL_URLS} ) - l10n_fil? ( ${ALL_URLS} ) - l10n_fr? ( ${ALL_URLS} ) - l10n_gl? ( ${ALL_URLS} ) - l10n_hi? ( ${ALL_URLS} ) - l10n_id? ( ${ALL_URLS} ) - l10n_it? ( ${ALL_URLS} ) - l10n_ja? ( ${ALL_URLS} ) - l10n_ko? ( ${ALL_URLS} ) - l10n_lt? ( ${ALL_URLS} ) - l10n_nl? ( ${ALL_URLS} ) - l10n_pl? ( ${ALL_URLS} ) - l10n_pt-BR? ( ${ALL_URLS} ) - l10n_pt-PT? ( ${ALL_URLS} ) - l10n_ro? ( ${ALL_URLS} ) - l10n_ru? ( ${ALL_URLS} ) - l10n_si? ( ${ALL_URLS} ) - l10n_sq? ( ${ALL_URLS} ) - l10n_sr? ( ${ALL_URLS} ) - l10n_sv? ( ${ALL_URLS} ) - l10n_ta? ( ${ALL_URLS} ) - l10n_tr? ( ${ALL_URLS} ) - l10n_vi? ( ${ALL_URLS} ) - l10n_zh-CN? ( ${ALL_URLS} ) - l10n_zh-TW? ( ${ALL_URLS} ) -" -LICENSE="|| ( CDDL GPL-2-with-linking-exception )" -KEYWORDS="~amd64 ~x86" -IUSE_NETBEANS_MODULES=" - +netbeans_modules_apisupport - netbeans_modules_cnd - netbeans_modules_dlight - netbeans_modules_enterprise - netbeans_modules_ergonomics - netbeans_modules_extide - netbeans_modules_groovy - +netbeans_modules_java - netbeans_modules_javacard - +netbeans_modules_javafx - netbeans_modules_mobility - netbeans_modules_php - +netbeans_modules_profiler - netbeans_modules_webcommon - +netbeans_modules_websvccommon" -IUSE_L10N=" - l10n_af - l10n_ar - l10n_bg - l10n_ca - l10n_cs - l10n_de - l10n_el - l10n_es - l10n_fil - l10n_fr - l10n_gl - l10n_hi - l10n_id - l10n_it - l10n_ja - l10n_ko - l10n_lt - l10n_nl - l10n_pl - l10n_pt-BR - l10n_pt-PT - l10n_ro - l10n_ru - l10n_si - l10n_sq - l10n_sr - l10n_sv - l10n_ta - l10n_tr - l10n_vi - l10n_zh-CN - l10n_zh-TW" -IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}" -S="${WORKDIR}" - -CDEPEND="virtual/jdk:1.8" -DEPEND="${CDEPEND} - dev-java/javahelp:0" -RDEPEND="${CDEPEND} - ~dev-java/netbeans-harness-${PV} - ~dev-java/netbeans-ide-${PV} - ~dev-java/netbeans-nb-${PV} - ~dev-java/netbeans-platform-${PV} - netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) - netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) - netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) - netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) - netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) - netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} ) - netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) - netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) - netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) - netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) - netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) - netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) - netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) - netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} ) - netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) - doc? ( ~dev-java/netbeans-javadoc-${PV} )" - -JAVA_PKG_BSFIX="off" -NBLOCALES="" - -pkg_setup() { - for lingua in ${IUSE_L10N} ; do - if use ${lingua} ; then - local lang=${lingua/l10n_/} - lang=${lang/-/_} - - case ${lang} in - ar) lang="ar_EG,ar_SA" ;; - es) lang="es,es_CO" ;; - fil) lang="fil_PH" ;; - gl) lang="gl_ES" ;; - hi) lang="hi_IN" ;; - id) lang="in_ID" ;; - nl) lang="nl_BE,nl_NL" ;; - ta) lang="ta_IN" ;; - esac - - if [ -z "${NBLOCALES}" ] ; then - NBLOCALES="${lang}" - else - NBLOCALES="${NBLOCALES},${lang}" - fi - fi - done - - java-pkg-2_pkg_setup -} - -src_unpack() { - if [ -n "${NBLOCALES}" ] ; then - unpack $(basename ${SOURCE_URL}) - unpack $(basename ${L10N_URL}) - - einfo "Deleting bundled jars..." - find -name "*.jar" -type f -delete - - unpack netbeans-9999-r21-build.xml.patch.bz2 - fi -} - -src_prepare() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Deleting bundled class files..." - find -name "*.class" -type f | xargs rm -vf - - epatch netbeans-9999-r21-build.xml.patch - - einfo "Symlinking external libraries..." - java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar - fi - - java-pkg-2_src_prepare - default -} - -src_compile() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Compiling support for locales: ${NBLOCALES}" - eant -f nbbuild/build.xml bootstrap || die - eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ - -Dpermit.jdk7.builds=true -f l10n/build.xml build || die - fi -} - -src_install() { - if [ -n "${NBLOCALES}" ] ; then - pushd "${S}"/nbbuild/netbeans >/dev/null || die - - for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do - if [ -d "${cluster}" ] ; then - insinto /usr/share/netbeans-${cluster}-${SLOT} - doins -r ${cluster}/* - fi - done - - if [ -d nb ] ; then - insinto /usr/share/netbeans-nb-${SLOT}/nb - doins -r nb/* - fi - - popd >/dev/null || die - - make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development - - for lingua in ${IUSE_L10N}; do - if use ${lingua} ; then - local locales=${lingua/l10n_/} - locales=${locales/-/:} - - case ${locales} in - ar) lang="ar:EG ar:SA" ;; - es) lang="es es:CO" ;; - fil) lang="fil:PH" ;; - gl) lang="gl:ES" ;; - hi) lang="hi:IN" ;; - id) lang="in:ID" ;; - nl) lang="nl:BE nl:NL" ;; - ta) lang="ta:IN" ;; - esac - - for locale in ${locales}; do - make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development - done - fi - done - fi -} diff --git a/dev-util/netbeans/netbeans-9999_p20180227.ebuild b/dev-util/netbeans/netbeans-9999_p20180227.ebuild deleted file mode 100644 index cf800a396..000000000 --- a/dev-util/netbeans/netbeans-9999_p20180227.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="https://netbeans.org/" -SLOT="9999" -SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-02-27_00-02-34/zip/netbeans-trunk-nightly-201802270002-src.zip" -PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2" -L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20160920.tar.bz2" -ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" -SRC_URI="l10n_af? ( ${ALL_URLS} ) - l10n_ar? ( ${ALL_URLS} ) - l10n_bg? ( ${ALL_URLS} ) - l10n_ca? ( ${ALL_URLS} ) - l10n_cs? ( ${ALL_URLS} ) - l10n_de? ( ${ALL_URLS} ) - l10n_el? ( ${ALL_URLS} ) - l10n_es? ( ${ALL_URLS} ) - l10n_fil? ( ${ALL_URLS} ) - l10n_fr? ( ${ALL_URLS} ) - l10n_gl? ( ${ALL_URLS} ) - l10n_hi? ( ${ALL_URLS} ) - l10n_id? ( ${ALL_URLS} ) - l10n_it? ( ${ALL_URLS} ) - l10n_ja? ( ${ALL_URLS} ) - l10n_ko? ( ${ALL_URLS} ) - l10n_lt? ( ${ALL_URLS} ) - l10n_nl? ( ${ALL_URLS} ) - l10n_pl? ( ${ALL_URLS} ) - l10n_pt-BR? ( ${ALL_URLS} ) - l10n_pt-PT? ( ${ALL_URLS} ) - l10n_ro? ( ${ALL_URLS} ) - l10n_ru? ( ${ALL_URLS} ) - l10n_si? ( ${ALL_URLS} ) - l10n_sq? ( ${ALL_URLS} ) - l10n_sr? ( ${ALL_URLS} ) - l10n_sv? ( ${ALL_URLS} ) - l10n_ta? ( ${ALL_URLS} ) - l10n_tr? ( ${ALL_URLS} ) - l10n_vi? ( ${ALL_URLS} ) - l10n_zh-CN? ( ${ALL_URLS} ) - l10n_zh-TW? ( ${ALL_URLS} ) -" -LICENSE="|| ( CDDL GPL-2-with-linking-exception )" -KEYWORDS="~amd64 ~x86" -IUSE_NETBEANS_MODULES=" - +netbeans_modules_apisupport - netbeans_modules_cnd - netbeans_modules_dlight - netbeans_modules_enterprise - netbeans_modules_ergonomics - netbeans_modules_extide - netbeans_modules_groovy - +netbeans_modules_java - netbeans_modules_javacard - +netbeans_modules_javafx - netbeans_modules_mobility - netbeans_modules_php - +netbeans_modules_profiler - netbeans_modules_webcommon - +netbeans_modules_websvccommon" -IUSE_L10N=" - l10n_af - l10n_ar - l10n_bg - l10n_ca - l10n_cs - l10n_de - l10n_el - l10n_es - l10n_fil - l10n_fr - l10n_gl - l10n_hi - l10n_id - l10n_it - l10n_ja - l10n_ko - l10n_lt - l10n_nl - l10n_pl - l10n_pt-BR - l10n_pt-PT - l10n_ro - l10n_ru - l10n_si - l10n_sq - l10n_sr - l10n_sv - l10n_ta - l10n_tr - l10n_vi - l10n_zh-CN - l10n_zh-TW" -IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}" -S="${WORKDIR}" - -CDEPEND="virtual/jdk:1.8" -DEPEND="${CDEPEND} - dev-java/javahelp:0" -RDEPEND="${CDEPEND} - ~dev-java/netbeans-harness-${PV} - ~dev-java/netbeans-ide-${PV} - ~dev-java/netbeans-nb-${PV} - ~dev-java/netbeans-platform-${PV} - netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) - netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) - netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) - netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) - netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) - netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} ) - netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) - netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) - netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) - netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) - netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) - netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) - netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) - netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} ) - netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) - doc? ( ~dev-java/netbeans-javadoc-${PV} )" - -JAVA_PKG_BSFIX="off" -NBLOCALES="" - -pkg_setup() { - for lingua in ${IUSE_L10N} ; do - if use ${lingua} ; then - local lang=${lingua/l10n_/} - lang=${lang/-/_} - - case ${lang} in - ar) lang="ar_EG,ar_SA" ;; - es) lang="es,es_CO" ;; - fil) lang="fil_PH" ;; - gl) lang="gl_ES" ;; - hi) lang="hi_IN" ;; - id) lang="in_ID" ;; - nl) lang="nl_BE,nl_NL" ;; - ta) lang="ta_IN" ;; - esac - - if [ -z "${NBLOCALES}" ] ; then - NBLOCALES="${lang}" - else - NBLOCALES="${NBLOCALES},${lang}" - fi - fi - done - - java-pkg-2_pkg_setup -} - -src_unpack() { - if [ -n "${NBLOCALES}" ] ; then - unpack $(basename ${SOURCE_URL}) - unpack $(basename ${L10N_URL}) - - einfo "Deleting bundled jars..." - find -name "*.jar" -type f -delete - - unpack netbeans-9999-r21-build.xml.patch.bz2 - fi -} - -src_prepare() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Deleting bundled class files..." - find -name "*.class" -type f | xargs rm -vf - - epatch netbeans-9999-r21-build.xml.patch - - einfo "Symlinking external libraries..." - java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar - fi - - java-pkg-2_src_prepare - default -} - -src_compile() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Compiling support for locales: ${NBLOCALES}" - eant -f nbbuild/build.xml bootstrap || die - eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ - -Dpermit.jdk7.builds=true -f l10n/build.xml build || die - fi -} - -src_install() { - if [ -n "${NBLOCALES}" ] ; then - pushd "${S}"/nbbuild/netbeans >/dev/null || die - - for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do - if [ -d "${cluster}" ] ; then - insinto /usr/share/netbeans-${cluster}-${SLOT} - doins -r ${cluster}/* - fi - done - - if [ -d nb ] ; then - insinto /usr/share/netbeans-nb-${SLOT}/nb - doins -r nb/* - fi - - popd >/dev/null || die - - make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development - - for lingua in ${IUSE_L10N}; do - if use ${lingua} ; then - local locales=${lingua/l10n_/} - locales=${locales/-/:} - - case ${locales} in - ar) lang="ar:EG ar:SA" ;; - es) lang="es es:CO" ;; - fil) lang="fil:PH" ;; - gl) lang="gl:ES" ;; - hi) lang="hi:IN" ;; - id) lang="in:ID" ;; - nl) lang="nl:BE nl:NL" ;; - ta) lang="ta:IN" ;; - esac - - for locale in ${locales}; do - make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development - done - fi - done - fi -} diff --git a/dev-util/netbeans/netbeans-9999_p20180314.ebuild b/dev-util/netbeans/netbeans-9999_p20180314.ebuild deleted file mode 100644 index 055e72a0a..000000000 --- a/dev-util/netbeans/netbeans-9999_p20180314.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="https://netbeans.org/" -SLOT="9999" -SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-03-14_00-02-34/zip/netbeans-trunk-nightly-201803140002-src.zip" -PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2" -L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20160920.tar.bz2" -ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" -SRC_URI="l10n_af? ( ${ALL_URLS} ) - l10n_ar? ( ${ALL_URLS} ) - l10n_bg? ( ${ALL_URLS} ) - l10n_ca? ( ${ALL_URLS} ) - l10n_cs? ( ${ALL_URLS} ) - l10n_de? ( ${ALL_URLS} ) - l10n_el? ( ${ALL_URLS} ) - l10n_es? ( ${ALL_URLS} ) - l10n_fil? ( ${ALL_URLS} ) - l10n_fr? ( ${ALL_URLS} ) - l10n_gl? ( ${ALL_URLS} ) - l10n_hi? ( ${ALL_URLS} ) - l10n_id? ( ${ALL_URLS} ) - l10n_it? ( ${ALL_URLS} ) - l10n_ja? ( ${ALL_URLS} ) - l10n_ko? ( ${ALL_URLS} ) - l10n_lt? ( ${ALL_URLS} ) - l10n_nl? ( ${ALL_URLS} ) - l10n_pl? ( ${ALL_URLS} ) - l10n_pt-BR? ( ${ALL_URLS} ) - l10n_pt-PT? ( ${ALL_URLS} ) - l10n_ro? ( ${ALL_URLS} ) - l10n_ru? ( ${ALL_URLS} ) - l10n_si? ( ${ALL_URLS} ) - l10n_sq? ( ${ALL_URLS} ) - l10n_sr? ( ${ALL_URLS} ) - l10n_sv? ( ${ALL_URLS} ) - l10n_ta? ( ${ALL_URLS} ) - l10n_tr? ( ${ALL_URLS} ) - l10n_vi? ( ${ALL_URLS} ) - l10n_zh-CN? ( ${ALL_URLS} ) - l10n_zh-TW? ( ${ALL_URLS} ) -" -LICENSE="|| ( CDDL GPL-2-with-linking-exception )" -KEYWORDS="~amd64 ~x86" -IUSE_NETBEANS_MODULES=" - +netbeans_modules_apisupport - netbeans_modules_cnd - netbeans_modules_dlight - netbeans_modules_enterprise - netbeans_modules_ergonomics - netbeans_modules_extide - netbeans_modules_groovy - +netbeans_modules_java - netbeans_modules_javacard - +netbeans_modules_javafx - netbeans_modules_mobility - netbeans_modules_php - +netbeans_modules_profiler - netbeans_modules_webcommon - +netbeans_modules_websvccommon" -IUSE_L10N=" - l10n_af - l10n_ar - l10n_bg - l10n_ca - l10n_cs - l10n_de - l10n_el - l10n_es - l10n_fil - l10n_fr - l10n_gl - l10n_hi - l10n_id - l10n_it - l10n_ja - l10n_ko - l10n_lt - l10n_nl - l10n_pl - l10n_pt-BR - l10n_pt-PT - l10n_ro - l10n_ru - l10n_si - l10n_sq - l10n_sr - l10n_sv - l10n_ta - l10n_tr - l10n_vi - l10n_zh-CN - l10n_zh-TW" -IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}" -S="${WORKDIR}" - -CDEPEND="virtual/jdk:1.8" -DEPEND="${CDEPEND} - dev-java/javahelp:0" -RDEPEND="${CDEPEND} - ~dev-java/netbeans-harness-${PV} - ~dev-java/netbeans-ide-${PV} - ~dev-java/netbeans-nb-${PV} - ~dev-java/netbeans-platform-${PV} - netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) - netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) - netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) - netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) - netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) - netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} ) - netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) - netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) - netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) - netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) - netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) - netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) - netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) - netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} ) - netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) - doc? ( ~dev-java/netbeans-javadoc-${PV} )" - -JAVA_PKG_BSFIX="off" -NBLOCALES="" - -pkg_setup() { - for lingua in ${IUSE_L10N} ; do - if use ${lingua} ; then - local lang=${lingua/l10n_/} - lang=${lang/-/_} - - case ${lang} in - ar) lang="ar_EG,ar_SA" ;; - es) lang="es,es_CO" ;; - fil) lang="fil_PH" ;; - gl) lang="gl_ES" ;; - hi) lang="hi_IN" ;; - id) lang="in_ID" ;; - nl) lang="nl_BE,nl_NL" ;; - ta) lang="ta_IN" ;; - esac - - if [ -z "${NBLOCALES}" ] ; then - NBLOCALES="${lang}" - else - NBLOCALES="${NBLOCALES},${lang}" - fi - fi - done - - java-pkg-2_pkg_setup -} - -src_unpack() { - if [ -n "${NBLOCALES}" ] ; then - unpack $(basename ${SOURCE_URL}) - unpack $(basename ${L10N_URL}) - - einfo "Deleting bundled jars..." - find -name "*.jar" -type f -delete - - unpack netbeans-9999-r21-build.xml.patch.bz2 - fi -} - -src_prepare() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Deleting bundled class files..." - find -name "*.class" -type f | xargs rm -vf - - epatch netbeans-9999-r21-build.xml.patch - - einfo "Symlinking external libraries..." - java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar - fi - - java-pkg-2_src_prepare - default -} - -src_compile() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Compiling support for locales: ${NBLOCALES}" - eant -f nbbuild/build.xml bootstrap || die - eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ - -Dpermit.jdk7.builds=true -f l10n/build.xml build || die - fi -} - -src_install() { - if [ -n "${NBLOCALES}" ] ; then - pushd "${S}"/nbbuild/netbeans >/dev/null || die - - for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do - if [ -d "${cluster}" ] ; then - insinto /usr/share/netbeans-${cluster}-${SLOT} - doins -r ${cluster}/* - fi - done - - if [ -d nb ] ; then - insinto /usr/share/netbeans-nb-${SLOT}/nb - doins -r nb/* - fi - - popd >/dev/null || die - - make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development - - for lingua in ${IUSE_L10N}; do - if use ${lingua} ; then - local locales=${lingua/l10n_/} - locales=${locales/-/:} - - case ${locales} in - ar) lang="ar:EG ar:SA" ;; - es) lang="es es:CO" ;; - fil) lang="fil:PH" ;; - gl) lang="gl:ES" ;; - hi) lang="hi:IN" ;; - id) lang="in:ID" ;; - nl) lang="nl:BE nl:NL" ;; - ta) lang="ta:IN" ;; - esac - - for locale in ${locales}; do - make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development - done - fi - done - fi -} diff --git a/dev-util/netbeans/netbeans-9999_p20180332.ebuild b/dev-util/netbeans/netbeans-9999_p20180332.ebuild deleted file mode 100644 index 0f699ca61..000000000 --- a/dev-util/netbeans/netbeans-9999_p20180332.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="https://netbeans.org/" -SLOT="9999" -SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-03-28_00-02-34/zip/netbeans-trunk-nightly-201803280002-src.zip" -PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2" -L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20160920.tar.bz2" -ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" -SRC_URI="l10n_af? ( ${ALL_URLS} ) - l10n_ar? ( ${ALL_URLS} ) - l10n_bg? ( ${ALL_URLS} ) - l10n_ca? ( ${ALL_URLS} ) - l10n_cs? ( ${ALL_URLS} ) - l10n_de? ( ${ALL_URLS} ) - l10n_el? ( ${ALL_URLS} ) - l10n_es? ( ${ALL_URLS} ) - l10n_fil? ( ${ALL_URLS} ) - l10n_fr? ( ${ALL_URLS} ) - l10n_gl? ( ${ALL_URLS} ) - l10n_hi? ( ${ALL_URLS} ) - l10n_id? ( ${ALL_URLS} ) - l10n_it? ( ${ALL_URLS} ) - l10n_ja? ( ${ALL_URLS} ) - l10n_ko? ( ${ALL_URLS} ) - l10n_lt? ( ${ALL_URLS} ) - l10n_nl? ( ${ALL_URLS} ) - l10n_pl? ( ${ALL_URLS} ) - l10n_pt-BR? ( ${ALL_URLS} ) - l10n_pt-PT? ( ${ALL_URLS} ) - l10n_ro? ( ${ALL_URLS} ) - l10n_ru? ( ${ALL_URLS} ) - l10n_si? ( ${ALL_URLS} ) - l10n_sq? ( ${ALL_URLS} ) - l10n_sr? ( ${ALL_URLS} ) - l10n_sv? ( ${ALL_URLS} ) - l10n_ta? ( ${ALL_URLS} ) - l10n_tr? ( ${ALL_URLS} ) - l10n_vi? ( ${ALL_URLS} ) - l10n_zh-CN? ( ${ALL_URLS} ) - l10n_zh-TW? ( ${ALL_URLS} ) -" -LICENSE="|| ( CDDL GPL-2-with-linking-exception )" -KEYWORDS="~amd64 ~x86" -IUSE_NETBEANS_MODULES=" - +netbeans_modules_apisupport - netbeans_modules_cnd - netbeans_modules_dlight - netbeans_modules_enterprise - netbeans_modules_ergonomics - netbeans_modules_extide - netbeans_modules_groovy - +netbeans_modules_java - netbeans_modules_javacard - +netbeans_modules_javafx - netbeans_modules_mobility - netbeans_modules_php - +netbeans_modules_profiler - netbeans_modules_webcommon - +netbeans_modules_websvccommon" -IUSE_L10N=" - l10n_af - l10n_ar - l10n_bg - l10n_ca - l10n_cs - l10n_de - l10n_el - l10n_es - l10n_fil - l10n_fr - l10n_gl - l10n_hi - l10n_id - l10n_it - l10n_ja - l10n_ko - l10n_lt - l10n_nl - l10n_pl - l10n_pt-BR - l10n_pt-PT - l10n_ro - l10n_ru - l10n_si - l10n_sq - l10n_sr - l10n_sv - l10n_ta - l10n_tr - l10n_vi - l10n_zh-CN - l10n_zh-TW" -IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}" -S="${WORKDIR}" - -CDEPEND="virtual/jdk:1.8" -DEPEND="${CDEPEND} - dev-java/javahelp:0" -RDEPEND="${CDEPEND} - ~dev-java/netbeans-harness-${PV} - ~dev-java/netbeans-ide-${PV} - ~dev-java/netbeans-nb-${PV} - ~dev-java/netbeans-platform-${PV} - netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) - netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) - netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) - netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) - netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) - netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} ) - netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) - netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) - netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) - netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) - netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) - netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) - netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) - netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} ) - netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) - doc? ( ~dev-java/netbeans-javadoc-${PV} )" - -JAVA_PKG_BSFIX="off" -NBLOCALES="" - -pkg_setup() { - for lingua in ${IUSE_L10N} ; do - if use ${lingua} ; then - local lang=${lingua/l10n_/} - lang=${lang/-/_} - - case ${lang} in - ar) lang="ar_EG,ar_SA" ;; - es) lang="es,es_CO" ;; - fil) lang="fil_PH" ;; - gl) lang="gl_ES" ;; - hi) lang="hi_IN" ;; - id) lang="in_ID" ;; - nl) lang="nl_BE,nl_NL" ;; - ta) lang="ta_IN" ;; - esac - - if [ -z "${NBLOCALES}" ] ; then - NBLOCALES="${lang}" - else - NBLOCALES="${NBLOCALES},${lang}" - fi - fi - done - - java-pkg-2_pkg_setup -} - -src_unpack() { - if [ -n "${NBLOCALES}" ] ; then - unpack $(basename ${SOURCE_URL}) - unpack $(basename ${L10N_URL}) - - einfo "Deleting bundled jars..." - find -name "*.jar" -type f -delete - - unpack netbeans-9999-r21-build.xml.patch.bz2 - fi -} - -src_prepare() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Deleting bundled class files..." - find -name "*.class" -type f | xargs rm -vf - - epatch netbeans-9999-r21-build.xml.patch - - einfo "Symlinking external libraries..." - java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar - fi - - java-pkg-2_src_prepare - default -} - -src_compile() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Compiling support for locales: ${NBLOCALES}" - eant -f nbbuild/build.xml bootstrap || die - eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ - -Dpermit.jdk7.builds=true -f l10n/build.xml build || die - fi -} - -src_install() { - if [ -n "${NBLOCALES}" ] ; then - pushd "${S}"/nbbuild/netbeans >/dev/null || die - - for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do - if [ -d "${cluster}" ] ; then - insinto /usr/share/netbeans-${cluster}-${SLOT} - doins -r ${cluster}/* - fi - done - - if [ -d nb ] ; then - insinto /usr/share/netbeans-nb-${SLOT}/nb - doins -r nb/* - fi - - popd >/dev/null || die - - make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development - - for lingua in ${IUSE_L10N}; do - if use ${lingua} ; then - local locales=${lingua/l10n_/} - locales=${locales/-/:} - - case ${locales} in - ar) lang="ar:EG ar:SA" ;; - es) lang="es es:CO" ;; - fil) lang="fil:PH" ;; - gl) lang="gl:ES" ;; - hi) lang="hi:IN" ;; - id) lang="in:ID" ;; - nl) lang="nl:BE nl:NL" ;; - ta) lang="ta:IN" ;; - esac - - for locale in ${locales}; do - make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development - done - fi - done - fi -} |