diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2015-02-04 21:57:07 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2015-02-04 21:57:07 +0000 |
commit | 57d464bda7b71d36fbf0e34e70e22364a1a310b0 (patch) | |
tree | 01817fabb6dd1f1fba3c4c94826fe49f13ad3ff1 /dev-util | |
parent | dev-java/netbeans-websvccommon: removed obsolete ebuilds (diff) | |
download | gentoo-2-57d464bda7b71d36fbf0e34e70e22364a1a310b0.tar.gz gentoo-2-57d464bda7b71d36fbf0e34e70e22364a1a310b0.tar.bz2 gentoo-2-57d464bda7b71d36fbf0e34e70e22364a1a310b0.zip |
dev-util/netbeans: removed obsolete ebuilds
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key CFE47E2F)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/netbeans/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-7.0.1-r2.ebuild | 252 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-7.1.1.ebuild | 260 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-7.1.2.ebuild | 260 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-7.3.ebuild | 262 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-7.4.ebuild | 264 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-8.0.ebuild | 264 |
7 files changed, 6 insertions, 1563 deletions
diff --git a/dev-util/netbeans/ChangeLog b/dev-util/netbeans/ChangeLog index e6587d365cb5..30a93ce94dab 100644 --- a/dev-util/netbeans/ChangeLog +++ b/dev-util/netbeans/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/netbeans # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.178 2015/02/04 21:40:23 fordfrog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.179 2015/02/04 21:57:07 fordfrog Exp $ + + 04 Feb 2015; Miroslav Šulc <fordfrog@gentoo.org> -netbeans-7.0.1-r2.ebuild, + -netbeans-7.1.1.ebuild, -netbeans-7.1.2.ebuild, -netbeans-7.3.ebuild, + -netbeans-7.4.ebuild, -netbeans-8.0.ebuild: + removed obsolete ebuilds 04 Feb 2015; Miroslav Šulc <fordfrog@gentoo.org> netbeans-8.0.2.ebuild: restricted compilation to jdk7 diff --git a/dev-util/netbeans/netbeans-7.0.1-r2.ebuild b/dev-util/netbeans/netbeans-7.0.1-r2.ebuild deleted file mode 100644 index 1eea8180e910..000000000000 --- a/dev-util/netbeans/netbeans-7.0.1-r2.ebuild +++ /dev/null @@ -1,252 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-7.0.1-r2.ebuild,v 1.1 2011/11/01 10:33:03 fordfrog Exp $ - -EAPI="4" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="http://netbeans.org/" -SLOT="7.0" -SOURCE_URL="http://download.netbeans.org/netbeans/7.0.1/final/zip/netbeans-7.0.1-201107282000-src.zip" -PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml-r1.patch.bz2" -L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-7.0.1-20110930.tar.bz2" -ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" -SRC_URI="linguas_af? ( ${ALL_URLS} ) - linguas_ar? ( ${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_sq? ( ${ALL_URLS} ) - linguas_sr? ( ${ALL_URLS} ) - linguas_sv? ( ${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_groovy - +netbeans_modules_java - netbeans_modules_javacard - netbeans_modules_mobility - netbeans_modules_php - netbeans_modules_profiler - +netbeans_modules_websvccommon" -IUSE_LINGUAS=" - linguas_af - linguas_ar - 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_sq - linguas_sr - linguas_sv - 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.6 - dev-java/javahelp:0" -RDEPEND=">=virtual/jdk-1.6 - ~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_groovy? ( ~dev-java/netbeans-groovy-${PV} ) - netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) - netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${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_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-7.0-build.xml-r1.patch.bz2 - fi -} - -src_prepare() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Deleting bundled class files..." - find -name "*.class" -type f | xargs rm -vf - - epatch netbeans-7.0-build.xml-r1.patch - - # Support for custom patches - if [ -n "${NETBEANS70_PATCHES_DIR}" -a -d "${NETBEANS70_PATCHES_DIR}" ] ; then - local files=`find "${NETBEANS70_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="" \ - -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 mobility php platform profiler 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 -} diff --git a/dev-util/netbeans/netbeans-7.1.1.ebuild b/dev-util/netbeans/netbeans-7.1.1.ebuild deleted file mode 100644 index 41fc10245d1c..000000000000 --- a/dev-util/netbeans/netbeans-7.1.1.ebuild +++ /dev/null @@ -1,260 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-7.1.1.ebuild,v 1.3 2012/05/07 06:34:05 phajdan.jr Exp $ - -EAPI="4" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="http://netbeans.org/" -SLOT="7.1" -SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1.1/final/zip/netbeans-7.1.1-201203012225-src.zip" -PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2" -L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-7.1.1-20120214091350.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_groovy - +netbeans_modules_java - netbeans_modules_javacard - +netbeans_modules_javafx - netbeans_modules_mobility - netbeans_modules_php - +netbeans_modules_profiler - +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.6 - dev-java/javahelp:0" -RDEPEND=">=virtual/jdk-1.6 - ~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_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_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-9999-r1-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-r1-build.xml.patch - - # Support for custom patches - if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then - local files=`find "${NETBEANS9999_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="" \ - -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 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 -} diff --git a/dev-util/netbeans/netbeans-7.1.2.ebuild b/dev-util/netbeans/netbeans-7.1.2.ebuild deleted file mode 100644 index ce637b571351..000000000000 --- a/dev-util/netbeans/netbeans-7.1.2.ebuild +++ /dev/null @@ -1,260 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-7.1.2.ebuild,v 1.3 2012/05/30 06:05:36 johu Exp $ - -EAPI="4" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="http://netbeans.org/" -SLOT="7.1" -SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1.2/final/zip/netbeans-7.1.2-201204101705-src.zip" -PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2" -L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-7.1.1-20120214091350.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_groovy - +netbeans_modules_java - netbeans_modules_javacard - +netbeans_modules_javafx - netbeans_modules_mobility - netbeans_modules_php - +netbeans_modules_profiler - +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.6 - dev-java/javahelp:0" -RDEPEND=">=virtual/jdk-1.6 - ~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_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_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-9999-r1-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-r1-build.xml.patch - - # Support for custom patches - if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then - local files=`find "${NETBEANS9999_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="" \ - -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 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 -} diff --git a/dev-util/netbeans/netbeans-7.3.ebuild b/dev-util/netbeans/netbeans-7.3.ebuild deleted file mode 100644 index e5b83a4f4a1d..000000000000 --- a/dev-util/netbeans/netbeans-7.3.ebuild +++ /dev/null @@ -1,262 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-7.3.ebuild,v 1.1 2013/02/21 15:54:45 fordfrog Exp $ - -EAPI="4" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="http://netbeans.org/" -SLOT="7.3" -SOURCE_URL="http://download.netbeans.org/netbeans/7.3/final/zip/netbeans-7.3-201302132200-src.zip" -PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-7.3-build.xml.patch.bz2" -L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-7.3-20130214.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_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.6 - dev-java/javahelp:0" -RDEPEND=">=virtual/jdk-1.6 - ~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_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-7.3-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-7.3-build.xml.patch - - # Support for custom patches - if [ -n "${NETBEANS73_PATCHES_DIR}" -a -d "${NETBEANS73_PATCHES_DIR}" ] ; then - local files=`find "${NETBEANS73_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 -} diff --git a/dev-util/netbeans/netbeans-7.4.ebuild b/dev-util/netbeans/netbeans-7.4.ebuild deleted file mode 100644 index 167a62dc39e7..000000000000 --- a/dev-util/netbeans/netbeans-7.4.ebuild +++ /dev/null @@ -1,264 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-7.4.ebuild,v 1.1 2013/10/16 09:53:39 fordfrog Exp $ - -EAPI="4" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="http://netbeans.org/" -SLOT="7.4" -SOURCE_URL="http://download.netbeans.org/netbeans/7.4/final/zip/netbeans-7.4-201310111528-src.zip" -PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-7.4-build.xml.patch.bz2" -L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-7.4-20131010.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-7.4-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-7.4-build.xml.patch - - # Support for custom patches - if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then - local files=`find "${NETBEANS9999_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 -} diff --git a/dev-util/netbeans/netbeans-8.0.ebuild b/dev-util/netbeans/netbeans-8.0.ebuild deleted file mode 100644 index 2e34e92473b4..000000000000 --- a/dev-util/netbeans/netbeans-8.0.ebuild +++ /dev/null @@ -1,264 +0,0 @@ -# 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.ebuild,v 1.1 2014/03/23 19:01:02 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/final/zip/netbeans-8.0-201403101706-src.zip" -PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.0-build.xml.patch.bz2" -L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-8.0-20140228.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-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-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 -} |