diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2014-12-07 17:59:59 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2014-12-07 17:59:59 +0000 |
commit | ab08a0506b099cb8363e80bb9cdcef2a10152caf (patch) | |
tree | 884b4b3c44a76dfb61ddce8189dbe4bb6686f3ee /dev-util | |
parent | dev-java/netbeans-websvccommon: bump to version 8.0.2 (diff) | |
download | historical-ab08a0506b099cb8363e80bb9cdcef2a10152caf.tar.gz historical-ab08a0506b099cb8363e80bb9cdcef2a10152caf.tar.bz2 historical-ab08a0506b099cb8363e80bb9cdcef2a10152caf.zip |
dev-util/netbeans: bump to version 8.0.2
Package-Manager: portage-2.2.15/cvs/Linux x86_64
Manifest-Sign-Key: 0xCFE47E2F
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/netbeans/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/netbeans/Manifest | 6 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-8.0.2.ebuild | 264 |
3 files changed, 275 insertions, 2 deletions
diff --git a/dev-util/netbeans/ChangeLog b/dev-util/netbeans/ChangeLog index 38105a9291ac..78441eeac31b 100644 --- a/dev-util/netbeans/ChangeLog +++ b/dev-util/netbeans/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/netbeans # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.176 2014/03/23 19:01:02 fordfrog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.177 2014/12/07 17:59:50 fordfrog Exp $ + +*netbeans-8.0.2 (07 Dec 2014) + + 07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org> +netbeans-8.0.2.ebuild: + bumped to version 8.0.2 in 8.0 slot *netbeans-8.0 (23 Mar 2014) diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest index ab9b9d9e97ce..8d97ba8ac9b3 100644 --- a/dev-util/netbeans/Manifest +++ b/dev-util/netbeans/Manifest @@ -10,6 +10,8 @@ DIST netbeans-7.4-201310111528-src.zip 185900858 SHA256 b6c584c2091d600dcb4d10a7 DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47 +DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516 +DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6 DIST netbeans-l10n-7.0.1-20110930.tar.bz2 13491185 SHA256 ba1b83dd4a543918b7147304d8bba6e35d39fe4e567432766e4749b100c9b2a3 SHA512 368ebd35339e4903a470d4e2694a1758b8020d3a35f0c6595fb9a15ce31c3240f65c80a82f4de8d2409dd2e9af48e0eed6c6929aa88fcd9d96bb44f47994cae6 WHIRLPOOL 31ebbcb85efa91dd1ea86479289f046704af8cb159ac7c87936d458c8049dbc9f61842eadc24ed446e853f424547d94adc05d94fa650c346475e2b285bafe2d3 DIST netbeans-l10n-7.1.1-20120214091350.tar.bz2 12586999 SHA256 3f104bffac464143f2efe96824a1e1c796e16d568fb39c9719152f84248e236c SHA512 e1e77088e9b64ba896052d874eebe8402ad2de9b3c89008610f06f99fed8a6b3da18fcd1bada50dc5fe23021234a65c11aecb58ad8736689639ef902191a995e WHIRLPOOL cf8d0fa8fb47fcd64eca72990c6cdb48522c6026a707d893a849c90c2e390befa30067a901fa9a934f1f1fa6daa2a3e6e36702d6f9c7c02b246ef83780844f8f @@ -17,12 +19,14 @@ DIST netbeans-l10n-7.2-20120725.tar.bz2 12452511 SHA256 6b017a1354f1098a3d75acf8 DIST netbeans-l10n-7.3-20130214.tar.bz2 12285267 SHA256 9bebe1cc7fdb71084aa41b4798a2991f1f6ead761a8a3f4482da87df26b3d8d0 SHA512 6a59c9cfc7524dc151ee1f8b2a858e05fa02230b5bfc565a67a2758e98afc6b2be268f92dc130524906950239a71b6922bb209621b88b22195cf500a341d2d63 WHIRLPOOL 8d38b5d33fc3009ceb863e12230e899f78fe47abaab320cc175b311e64506733e9cc1530fcbf45db34015cf299fd052750dda2e5956e67c4b79dadb6a5b4b04a DIST netbeans-l10n-7.4-20131010.tar.bz2 12414976 SHA256 b0810e4e04011a7a634b30d330ddfd2c2942ec34a42f1463bb39d2eb162e4442 SHA512 1b43951f3820990a57d2177114780c705606af941300cf93e7cee379dfc906703b986ff4ec8058d722dcfed0d2deed0cd718b3b5f3d7537a0b44f869e340c885 WHIRLPOOL 396d1bc2b13df23ac2e07e28c22b979d55bf03488a28e5e57c0095aae644d492862fd69702c45ed661f2c2f9f7ff19ce5bf9de391865fabac58283c0a00b0fbd DIST netbeans-l10n-8.0-20140228.tar.bz2 12022373 SHA256 5ff8c77aff7cd596206cfc573d5f37f83b475802a42a87b7892c00856b1bd91a SHA512 bd5e12277362bf4d51148fdad3faaa4d7d70e36b6b487e6ef9dfc4a082a3e1aa2a8828d266ad851e7bc98c28cdcf132a1fa01323677ee42a6add9bf920fa6161 WHIRLPOOL 3ca6e20abe73fe22a7653be97d6229daee3dd2a8f0f2a7a6a2a821f4336f8836abe6d11917acc539e47739e946ceb7533de15dc7e9919c449ddc4762920c657b +DIST netbeans-l10n-8.0.1-20141110.tar.bz2 12065358 SHA256 542d325cbc6e0e617f6076e964e37803ec322b6d0ee4724a6d2127f2f480fb24 SHA512 28242dcbe7bcbc6a9abce15dfe6fd6140a275a417d96ff28228315bdc0ce8110ede899a1815e2fdf9115b48221d50cd3ff5b71a15d36316d04d81f66e9c0cac4 WHIRLPOOL 0318caea3463d3f7bb8876774b1cc9467dadd9bc36497a9304ed12900e2fabdc4dcdfec0b9eaee27bb36c39e9caff3743c5a42ad4c3a432205a716832688c4d6 EBUILD netbeans-7.0.1-r2.ebuild 6842 SHA256 9342c08914553a40cdd4aa54c82a40340885569ef6c9b39166021e5474da7a67 SHA512 c8c195e423319d6026519b3887767a683901004a246ea4289b446d5737986a33b25a70efcce5b304c02f2ef074093e36537090bb8230a1f7c23b1a5e769af007 WHIRLPOOL 14eeef291613abdc7bafc623bc886a5ea18cab8475795715bf41cfec6310a557a689dde617fd122c82f88afa4714ddb31959920c243966c755dfe45218269e90 EBUILD netbeans-7.1.1.ebuild 7079 SHA256 6a564604ed1f83afe404c0066514b88d4ec63e08b8b751bed9618f42ffecdb53 SHA512 9b028700f044c46b0c5474bd89546b5ccba25a9d0ed1bb769bfcb6b1114822bc6fdc10a339a5b2296584ed4a0b7bd83b6f7d700a1a400e40d8228944e3a533cd WHIRLPOOL 326633ef18445e5f2a0ec3528642598e289ff9013ebc6a7b793eb0d3ad5231d83b5637da9362c0bf7f7553c31fc6010ae0e4fcf991dd8bb550b47612ceba31de EBUILD netbeans-7.1.2.ebuild 7073 SHA256 e7a69ab852d589358fab4b715a2ae8e0db222bb43cb9f85a761ca0696c416610 SHA512 6574fb96670b2dc3c80d7786737c027d91c66c3c8b2e8785547c1312a7610b295b8f570bb085f765a4e3a51ffd0afd5ab49f3d3c3c30acb983c982a561ef134c WHIRLPOOL 26d9e5dc8a5a078d835133060594552a89a4c299e2ccd591ad90b589d51b2f2bbc21e2b093526bb6a65af26183bd7fadada18eca56305f564eea9a4a5d87449b EBUILD netbeans-7.2.ebuild 7151 SHA256 af642c6b1da449d20188495fb79427b2e1990cf720720220f433d2c969765065 SHA512 166c377efa925494ced6deb0b263639aa10b700531db95ef89d7d1a99c8d914a3219a5320d7c9cc32fe0a90367a80944bad0cc51bc7783661f388f3acf362b3f WHIRLPOOL 729c5fe14d80d353c23af63fdb85aaec95891f25ae3da08ce4dd2b21ec8d9f58aaf775c31a55458c00e6b92564b625a9a03e91bae7253cb7fdafe660c777cf2c EBUILD netbeans-7.3.ebuild 7175 SHA256 010cce266a1cfca8360162f27349467cf39eb7c9e6174898cc486d26b682e0b5 SHA512 f55c7df9eebd85eef22fe2cf71643c1da8ed178e6f9760724dea6ed426e0aeb55eb62b6d577c25216e16a364497757eb5e282529e7e873355b8858ad715b50f3 WHIRLPOOL 8795a19866f11bd6dc1c8881a74cbb3dfca0c0ef99645deea2068d89a53a9809e7cdbb3a7f8f11fb0eb578d1c143e36499fae6c762aca4c4f200ba3601562f5c EBUILD netbeans-7.4.ebuild 7270 SHA256 a203b2c226bdb0836fc9f3dafb52384d09e8ba888cb1189acc28e43697b63d4f SHA512 827f630028bc5b8ab15cbef857deb458e218703b48371d9300b20eeb3fab172c6f67037d60274bfa75a4c0b5ac0fae3a380d85591cea05441882c003debdc004 WHIRLPOOL 5a67817d761ab9cd89b1be09956a52afd73fa5ace09c28e9e2cbbb6117a24661493a2b5184f4ea4fe8ccd28a87f4a6db6e4655b94b20e467ca86f1994ccd0bac +EBUILD netbeans-8.0.2.ebuild 7278 SHA256 af32d2c6c2854e60d7a078d5e7359da2b3471d5d228802b316733faf1fa5b5f3 SHA512 073d6b98e0c282a360cca763513140da4da52b287685cc92d21deacf89d1307b7c639e9ecf6e704055f6b23e4d9372412cb26606cd58380f5241b62cd3be250b WHIRLPOOL 882b997b60f4397099833e2d00aecee5553a2b7f0fbd45a7b1580806065480be2525d40fa67c4e8f240d602026f3a2ca675fd9a618bcd51722475eb23a9f8e47 EBUILD netbeans-8.0.ebuild 7264 SHA256 80ef11cbb8f331ec8b2bc3939d2bdbdcb4e6098c39ac043212d76f4ced94aec5 SHA512 d22dc5167cdc6fe949cea1f463f20deb0a09b532fc146f76482acaa47302f0be3174fc5b3c551fff167dc5ffb679a5670ddc8ab92f48bffbf91e6bacd90d5ae2 WHIRLPOOL ebabf938b5664e8025283c923da3844cd8b09f4f0f8d57eae9a0f360562b242f75bc2bd2b7d5c414f24a65bed0e028607b97e5c4b131282db12ef460cd979ece -MISC ChangeLog 32475 SHA256 b2054f8a467cf125263423c3e9a61ffcd0c48bdee55d1e68d357be45f488482e SHA512 792572e23317d17b2ad35af16983eddfd9048dbb19b935f58565d404f3cee47ddafb500686063c361fe4a9658c0a78b1282d420a0bfd46711e38747f507cea76 WHIRLPOOL 9bbb92edb9bb2aa470f5818f10e1eb3fe51fa2f23d55f0253ec4d6095a91594944197ee66d1099bc4626956967bc09232864a332f4842dc28b104a0c14e1396a +MISC ChangeLog 32621 SHA256 a66b39ed508be4ac93e186f8e6376cd87291db32334d10fa015b0e5d34f33a7b SHA512 cbbc1b031d20e4db00775c89d1621bf029ee669c48d6b93c5de560e76f5704e3184a80a1a7b43aadcf96c0d7d6c02aac8ae0641124a3c96b1e59e14928e709e6 WHIRLPOOL 10e0d7920246f549260747d4fe54e221e864710d536ba97aa632d972b1d2c8d7b851c2d74c717f0556ac587730d86eb637a0888410e1ebe932a131d350442bf7 MISC metadata.xml 1198 SHA256 7e44524fd71e5368bea4b54ee533217f88c311394b72d21c7fc48209f0bf4fcb SHA512 1f71a01cd9b32e76bb988c0ece7630fda51bb699e5ab04069452bb0d994399f0cd66ea55f11fdf5ddfc4209b9e57ec7d28543bb690f36dc1c2707fbe8be4ded7 WHIRLPOOL 691490edc641e3dd0df64a0a0b451ef73a047aebacb7e1fed232434fc9d3e3c74c57e1dd9ce0e803df585d4d42c98a8cee2569e0d798e34d22498d065c96446e diff --git a/dev-util/netbeans/netbeans-8.0.2.ebuild b/dev-util/netbeans/netbeans-8.0.2.ebuild new file mode 100644 index 000000000000..059180e84979 --- /dev/null +++ b/dev-util/netbeans/netbeans-8.0.2.ebuild @@ -0,0 +1,264 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-8.0.2.ebuild,v 1.1 2014/12/07 17:59:50 fordfrog Exp $ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans IDE" +HOMEPAGE="http://netbeans.org/" +SLOT="8.0" +SOURCE_URL="http://download.netbeans.org/netbeans/8.0.2/final/zip/netbeans-8.0.2-201411181905-src.zip" +PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.0.2-build.xml.patch.bz2" +L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-8.0.1-20141110.tar.bz2" +ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" +SRC_URI="linguas_af? ( ${ALL_URLS} ) + linguas_ar? ( ${ALL_URLS} ) + linguas_bg? ( ${ALL_URLS} ) + linguas_ca? ( ${ALL_URLS} ) + linguas_cs? ( ${ALL_URLS} ) + linguas_de? ( ${ALL_URLS} ) + linguas_el? ( ${ALL_URLS} ) + linguas_es? ( ${ALL_URLS} ) + linguas_fr? ( ${ALL_URLS} ) + linguas_gl? ( ${ALL_URLS} ) + linguas_hi_IN? ( ${ALL_URLS} ) + linguas_id? ( ${ALL_URLS} ) + linguas_it? ( ${ALL_URLS} ) + linguas_ja? ( ${ALL_URLS} ) + linguas_ko? ( ${ALL_URLS} ) + linguas_lt? ( ${ALL_URLS} ) + linguas_nl? ( ${ALL_URLS} ) + linguas_pl? ( ${ALL_URLS} ) + linguas_pt_BR? ( ${ALL_URLS} ) + linguas_pt_PT? ( ${ALL_URLS} ) + linguas_ro? ( ${ALL_URLS} ) + linguas_ru? ( ${ALL_URLS} ) + linguas_si? ( ${ALL_URLS} ) + linguas_sq? ( ${ALL_URLS} ) + linguas_sr? ( ${ALL_URLS} ) + linguas_sv? ( ${ALL_URLS} ) + linguas_ta_IN? ( ${ALL_URLS} ) + linguas_tl? ( ${ALL_URLS} ) + linguas_tr? ( ${ALL_URLS} ) + linguas_vi? ( ${ALL_URLS} ) + linguas_zh_CN? ( ${ALL_URLS} ) + linguas_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_LINGUAS=" + linguas_af + linguas_ar + linguas_bg + linguas_ca + linguas_cs + linguas_de + linguas_el + linguas_es + linguas_fr + linguas_gl + linguas_hi_IN + linguas_id + linguas_it + linguas_ja + linguas_ko + linguas_lt + linguas_nl + linguas_pl + linguas_pt_BR + linguas_pt_PT + linguas_ro + linguas_ru + linguas_si + linguas_sq + linguas_sr + linguas_sv + linguas_ta_IN + linguas_tl + linguas_tr + linguas_vi + linguas_zh_CN + linguas_zh_TW" +IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_LINGUAS}" +S="${WORKDIR}" + +DEPEND=">=virtual/jdk-1.7 + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.7 + ~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_LINGUAS} ; do + local lang=${lingua/linguas_/} + + if [[ "${lang}" = "ar" ]] ; then + lang="ar_EG,ar_SA" + elif [[ "${lang}" = "es" ]] ; then + lang="es,es_CO" + elif [[ "${lang}" = "gl" ]] ; then + lang="gl_ES" + elif [[ "${lang}" = "id" ]] ; then + lang="in_ID" + elif [[ "${lang}" = "nl" ]] ; then + lang="nl_BE,nl_NL" + elif [[ "${lang}" = "tl" ]] ; then + lang="fil_PH" + fi + + if use ${lingua} ; then + 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-8.0.2-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-8.0.2-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS80_PATCHES_DIR}" -a -d "${NETBEANS80_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS80_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + 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 +} + +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 + fi +} + +pkg_postinst() { + if [ -n "${NBLOCALES}" ] ; then + einfo "Netbeans automatically starts with the locale you have set in your user profile, if" + einfo "the locale is built for Netbeans." + einfo "If you want to force specific locale, use --locale argument, for example:" + einfo "${PN}-${SLOT} --locale de" + einfo "${PN}-${SLOT} --locale pt:BR" + fi + + if use linguas_ar ; then + einfo + einfo "You selected Arabic locale so you can choose either ar:EG or ar:SA variant." + fi + + if use linguas_es ; then + einfo + einfo "You selected Spanish locale so you can choose either es or es:CO variant." + fi + + if use linguas_gl ; then + einfo + einfo "You selected Galician locale which has locale code gl:ES in Netbeans." + fi + + if use linguas_id ; then + einfo + einfo "You selected Indonesian locale which has locale code in:ID in Netbeans." + fi + + if use linguas_nl ; then + einfo + einfo "You selected Dutch locale so you can choose either nl:BE or nl:NL variant." + fi + + if use linguas_tl ; then + einfo + einfo "You selected Tagalog locale which has for Filipino locale code fil:PH in Netbeans." + fi +} |