summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-09-14 17:27:05 +0200
committerMichał Górny <mgorny@gentoo.org>2019-09-14 17:37:17 +0200
commit1b79fafd5c9c3d7fb1ec8aab83320e03b204dc30 (patch)
tree487816f0a80000383617c527877bdd6a3ca2e1ac /dev-util
parentdev-python/phonenumbers: Change README extension (diff)
downloadgentoo-1b79fafd5c9c3d7fb1ec8aab83320e03b204dc30.tar.gz
gentoo-1b79fafd5c9c3d7fb1ec8aab83320e03b204dc30.tar.bz2
gentoo-1b79fafd5c9c3d7fb1ec8aab83320e03b204dc30.zip
dev-util/netbeans: Remove last-rited pkg
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/netbeans/Manifest3
-rw-r--r--dev-util/netbeans/metadata.xml23
-rw-r--r--dev-util/netbeans/netbeans-8.2.ebuild236
3 files changed, 0 insertions, 262 deletions
diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest
deleted file mode 100644
index 6bb3f14a8fcb..000000000000
--- a/dev-util/netbeans/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST netbeans-8.2-201609300101-src.zip 217356974 BLAKE2B 0afd60c1060a0a1d7be882628a0d4df1d8e214aabb4c8ec511341e40960eb291dbd768150711e3d639e6cd200136d2170e3cfead6c9c76be19509327debcf8a9 SHA512 d0499489dcd9383f719209997fd5518ea93ad5c2f727005f074a351a4adc7f8708ebff972a4bff4572e2ba9237b14c7a24b7fb1f89100e33012e14404f0336e7
-DIST netbeans-8.2-build.xml.patch.bz2 2678 BLAKE2B abfb7cb228a8f0a03d052226d4ea6b5ce111d8d246cf070a2548a6019b7abf793af5fb21dcde54bcfaaa31ffdfdc112f742971a7b55dfc79a5d78483bde299d4 SHA512 a287681acc0771445f9389b22ca6fd855393c0b9e8885680d13c9157aa37b215162aac6f958d0831dc64a55fc21a391fdee13c3ab9a97ad416929c6a4710b619
-DIST netbeans-l10n-8.2-20160920.tar.bz2 12723797 BLAKE2B b87fc120d6dbb1207d70bbc3324c60c41c2ac8cae8af014ba47bc15c383f7fb821924d3337b25a0b59d0ef2ad641444ed5f85e46d02cd19b07b8913d9ddaf10d SHA512 4ac086e8189d89e7a0b91e7e03352f691f09edf208017062a8fc798e6f54906f1c85112dd2780feefa6a21c8fcb582b91bdd9758f5a90c05cbd2e3042d6c87c3
diff --git a/dev-util/netbeans/metadata.xml b/dev-util/netbeans/metadata.xml
deleted file mode 100644
index 8834161921f2..000000000000
--- a/dev-util/netbeans/metadata.xml
+++ /dev/null
@@ -1,23 +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>
- <maintainer type="project">
- <email>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
- <longdescription>
-NetBeans is dedicated to providing rock solid software development products (NetBeans IDE, NetBeans Platform) that address the needs
-of developers, users and the businesses who rely on NetBeans as a basis for their products. NetBeans is also a vibrant community
-where people from just about any country you can think of, have the ability ask questions, give advice, make a wide variety of
-contributions and ultimately share in the success of our products. You will find students on our mailing list, developers from top
-companies and individuals looking to sharpen their skills.
-
-In June of 2000 NetBeans was made Open Source by Sun Microsystems who remains the project sponsor. Today two products exist: the
-NetBeans IDE and NetBeans Platform. Both products are free for commercial and noncommercial use. The source code to both are available
-to anyone, to reuse as they see fit, under the terms of use.
- </longdescription>
-</pkgmetadata>
diff --git a/dev-util/netbeans/netbeans-8.2.ebuild b/dev-util/netbeans/netbeans-8.2.ebuild
deleted file mode 100644
index 1fc9f826f55d..000000000000
--- a/dev-util/netbeans/netbeans-8.2.ebuild
+++ /dev/null
@@ -1,236 +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="8.2"
-SOURCE_URL="https://download.netbeans.org/netbeans/8.2/final/zip/netbeans-8.2-201609300101-src.zip"
-PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.2-build.xml.patch.bz2"
-L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-8.2-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}
- app-arch/unzip
- 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-8.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
-
- eapply netbeans-8.2-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
-}