diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2012-04-26 21:45:41 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2012-04-26 21:45:41 +0000 |
commit | 707742ac6392dedd84b49ee7ec4a152251c202c8 (patch) | |
tree | fa8956d21318e318b5b889ca81bdd8345d7eabd3 /dev-java/netbeans-apisupport | |
parent | some usemasks for graphviz (diff) | |
download | historical-707742ac6392dedd84b49ee7ec4a152251c202c8.tar.gz historical-707742ac6392dedd84b49ee7ec4a152251c202c8.tar.bz2 historical-707742ac6392dedd84b49ee7ec4a152251c202c8.zip |
dev-java/netbeans-apisupport: version bump in 7.1 slot
Package-Manager: portage-2.1.10.57/cvs/Linux x86_64
Diffstat (limited to 'dev-java/netbeans-apisupport')
-rw-r--r-- | dev-java/netbeans-apisupport/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/netbeans-apisupport/Manifest | 4 | ||||
-rw-r--r-- | dev-java/netbeans-apisupport/netbeans-apisupport-7.1.2.ebuild | 107 |
3 files changed, 117 insertions, 2 deletions
diff --git a/dev-java/netbeans-apisupport/ChangeLog b/dev-java/netbeans-apisupport/ChangeLog index 4458a4961cc5..fd4688b7c37e 100644 --- a/dev-java/netbeans-apisupport/ChangeLog +++ b/dev-java/netbeans-apisupport/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/netbeans-apisupport # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-apisupport/ChangeLog,v 1.9 2012/03/05 14:08:22 fordfrog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-apisupport/ChangeLog,v 1.10 2012/04/26 21:45:41 fordfrog Exp $ + +*netbeans-apisupport-7.1.2 (26 Apr 2012) + + 26 Apr 2012; Miroslav Šulc <fordfrog@gentoo.org> + +netbeans-apisupport-7.1.2.ebuild: + Version bump in 7.1 slot *netbeans-apisupport-7.1.1 (05 Mar 2012) diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest index a11091e6e827..62cdea74160c 100644 --- a/dev-java/netbeans-apisupport/Manifest +++ b/dev-java/netbeans-apisupport/Manifest @@ -1,8 +1,10 @@ DIST netbeans-7.0-build.xml-r1.patch.bz2 1344 RMD160 f8f092c93c1197ce759afbd8674ff1216d504d2d SHA1 6324909cc2dfae583f38e3544a38d1058c73a7ec SHA256 f323cb4694f6351fe47b76fa8b8b3e3f8e456e7d45ca76f9b88c5c6b90cc103f DIST netbeans-7.0.1-201107282000-src.zip 175987235 RMD160 0104cfeb656f76a7e8041e725c98cff3cc0734cf SHA1 3c5c47b60a4265a8a89d5ab688f6609a613ab1ec SHA256 8bf4dd2375bc9fd02adf64ca9066118e0392a33428232ccf3f9091b96557b9aa DIST netbeans-7.1.1-201203012225-src.zip 172146133 RMD160 2c8f5798bab20b2f219cbe07931776191470a5e0 SHA1 a2d1b0fa5550d0071cd45f79998851fdd4516f79 SHA256 a8ff48a5837f7952cf305d70b511c4abb77d6f1639fc7de1578aac75274450d4 +DIST netbeans-7.1.2-201204101705-src.zip 172346251 RMD160 483068b4dceff3a82abd6b183c6675bf21ce7f00 SHA1 5bfb0ef3cc8ef08c2b20bddfcff91f59417f7478 SHA256 95df26a2eafdc88887a835b3abcf930fd0e72c1639c3e0bfceb9489e44c5865c DIST netbeans-9999-r1-build.xml.patch.bz2 2379 RMD160 9713acb05ca5c9000528dd195d5297e84103df2d SHA1 209945171a811e17ad52f63896cc4f5894a5ac0c SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e EBUILD netbeans-apisupport-7.0.1.ebuild 3259 RMD160 d643af606fcee06e395c551210a8ccdc5f02d990 SHA1 e44dce827426f27c6f959425d105544533622344 SHA256 111fb34e88dcddd3d81feb13f41c7a9204ba426ba86196f8f0a2874c010f858f EBUILD netbeans-apisupport-7.1.1.ebuild 3268 RMD160 d2417bdae11d736264fecd1c661f211305be6730 SHA1 c7a14b767f8409a5f4b46229c0b2a878559d8c0a SHA256 aa3de75f3cfa75be6fe488e4d0049975a32c632b0536c5f4ae87693b9753cb08 -MISC ChangeLog 1665 RMD160 d2fe04e50c4f4fd0ad2883901ff3be9980c003b4 SHA1 288866fb9659284137cb8b5d2645690af514a6f1 SHA256 594a27d4daeefc8cf62bb4e2aeb7b3d151a461bd4304a5d2308b8b56a5adeafe +EBUILD netbeans-apisupport-7.1.2.ebuild 3268 RMD160 2484cdc7a5a7bac7cff31daff04bff37dcf22392 SHA1 599eb140568da08e432bea3b17a9af0ef5886959 SHA256 77dba8d6c2c7e18e5c2650fde4d7a60466c1283dcb1cad8c88237bce57aeb341 +MISC ChangeLog 1825 RMD160 6fc405ac1282e5380b417cb14fd09eaf29067e74 SHA1 9c1cb175bd944654dcd62b43b4f0b154115c6d04 SHA256 5cb71f4e89e26e791ee6adcc0f2fe8b804e299b35a4e0c3150ed6688b948c13c MISC metadata.xml 251 RMD160 c109b2aca38527553ce33f0d84b45662745a7bce SHA1 3089a1ae4346cc3b7c5c37df7fbc253033f542d8 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-7.1.2.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-7.1.2.ebuild new file mode 100644 index 000000000000..b0e5572326e6 --- /dev/null +++ b/dev-java/netbeans-apisupport/netbeans-apisupport-7.1.2.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-apisupport/netbeans-apisupport-7.1.2.ebuild,v 1.1 2012/04/26 21:45:41 fordfrog Exp $ + +EAPI="4" +WANT_ANT_TASKS="ant-nodeps" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans API Support Cluster" +HOMEPAGE="http://netbeans.org/projects/apisupport" +SLOT="7.1" +SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1.2/final/zip/netbeans-7.1.2-201204101705-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~dev-java/netbeans-harness-${PV} + ~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-java-${PV} + ~dev-java/netbeans-platform-${PV}" +DEPEND="virtual/jdk:1.6 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.6 + ${CDEPEND}" + +INSTALL_DIR="/usr/share/${PN}-${SLOT}" + +EANT_BUILD_XML="nbbuild/build.xml" +EANT_BUILD_TARGET="rebuild-cluster" +EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.apisupport -Dext.binaries.downloaded=true" +EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7" +JAVA_PKG_BSFIX="off" + +src_unpack() { + unpack $(basename ${SOURCE_URL}) + + einfo "Deleting bundled jars..." + find -name "*.jar" -type f -delete + + unpack netbeans-9999-r1-build.xml.patch.bz2 +} + +src_prepare() { + 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 + + einfo "Linking in other clusters..." + mkdir "${S}"/nbbuild/netbeans || die + pushd "${S}"/nbbuild/netbeans >/dev/null || die + + ln -s /usr/share/netbeans-harness-${SLOT} harness || die + cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.harness.built + + ln -s /usr/share/netbeans-ide-${SLOT} ide || die + cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.ide.built + + ln -s /usr/share/netbeans-java-${SLOT} java || die + cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.java.built + + ln -s /usr/share/netbeans-platform-${SLOT} platform || die + cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.platform.built + + popd >/dev/null || die + + java-pkg-2_src_prepare +} + +src_install() { + pushd nbbuild/netbeans/apisupport >/dev/null || die + + insinto ${INSTALL_DIR} + + grep -E "/apisupport$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die + + doins -r * + + popd >/dev/null || die + + dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/apisupport +} |