summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-01-16 12:07:09 +0000
committerVlastimil Babka <caster@gentoo.org>2007-01-16 12:07:09 +0000
commitcd9c6af98aaefa7f8cab0b487d0a0f71ab0ac26a (patch)
treee57d18e0253c31ac1a232a6ea5a515eda2183c70 /dev-java/jmi-interface
parentstable x86, bug 140812 (diff)
downloadgentoo-2-cd9c6af98aaefa7f8cab0b487d0a0f71ab0ac26a.tar.gz
gentoo-2-cd9c6af98aaefa7f8cab0b487d0a0f71ab0ac26a.tar.bz2
gentoo-2-cd9c6af98aaefa7f8cab0b487d0a0f71ab0ac26a.zip
Revbump to fix bug #162328 by Mikhail V. Vorozhtsov <mikhail.vorozhtsov@gmail.com> - mof-1.0.xml is installed also as mof.xml for compatibility with netbeans 5.5.
(Portage version: 2.1.2)
Diffstat (limited to 'dev-java/jmi-interface')
-rw-r--r--dev-java/jmi-interface/ChangeLog12
-rw-r--r--dev-java/jmi-interface/files/digest-jmi-interface-1.0-r36
-rw-r--r--dev-java/jmi-interface/jmi-interface-1.0-r3.ebuild54
3 files changed, 70 insertions, 2 deletions
diff --git a/dev-java/jmi-interface/ChangeLog b/dev-java/jmi-interface/ChangeLog
index d4536780802e..8d48ca14fb55 100644
--- a/dev-java/jmi-interface/ChangeLog
+++ b/dev-java/jmi-interface/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-java/jmi-interface
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jmi-interface/ChangeLog,v 1.8 2006/12/09 09:21:33 flameeyes Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jmi-interface/ChangeLog,v 1.9 2007/01/16 12:07:09 caster Exp $
+
+*jmi-interface-1.0-r3 (16 Jan 2007)
+
+ 16 Jan 2007; Vlastimil Babka <caster@gentoo.org>
+ +jmi-interface-1.0-r3.ebuild:
+ Revbump to fix bug #162328 by Mikhail V. Vorozhtsov
+ <mikhail.vorozhtsov@gmail.com> - mof-1.0.xml is installed also as mof.xml
+ for compatibility with netbeans 5.5.
09 Dec 2006; Diego Pettenò <flameeyes@gentoo.org>
jmi-interface-1.0-r2.ebuild:
diff --git a/dev-java/jmi-interface/files/digest-jmi-interface-1.0-r3 b/dev-java/jmi-interface/files/digest-jmi-interface-1.0-r3
new file mode 100644
index 000000000000..547d7e590448
--- /dev/null
+++ b/dev-java/jmi-interface/files/digest-jmi-interface-1.0-r3
@@ -0,0 +1,6 @@
+MD5 9a974f9df7a9eefe440ac91b18fef5a7 jmi-1_0-fr-interfaces.zip 38946
+RMD160 9394c77b176bf83287dc2b86e5f8067b7ff7c416 jmi-1_0-fr-interfaces.zip 38946
+SHA256 a5b99f353ffee25b34c8fd628ae896d4fb9af70d2e6433db9e74669ffe456da2 jmi-1_0-fr-interfaces.zip 38946
+MD5 53713768742685cdbaef23e001e958ac mof-1.0.xml.bz2 7076
+RMD160 4cf4dfe3e2f0c7ca0de41cd4b28bd957647e307c mof-1.0.xml.bz2 7076
+SHA256 e4b1f36ec115624625912894f3df07eb705246ec3aa1091d376763521dfc7db1 mof-1.0.xml.bz2 7076
diff --git a/dev-java/jmi-interface/jmi-interface-1.0-r3.ebuild b/dev-java/jmi-interface/jmi-interface-1.0-r3.ebuild
new file mode 100644
index 000000000000..f07f09b63f4a
--- /dev/null
+++ b/dev-java/jmi-interface/jmi-interface-1.0-r3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jmi-interface/jmi-interface-1.0-r3.ebuild,v 1.1 2007/01/16 12:07:09 caster Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Java Metadata Interface Sample Class Interface"
+HOMEPAGE="http://java.sun.com/products/jmi/"
+JMI_ZIP="jmi-${PV/./_}-fr-interfaces.zip"
+MOF_XML="mof-${PV}.xml.bz2"
+SRC_URI="mirror://gentoo/${JMI_ZIP}
+ mirror://gentoo/${MOF_XML}"
+
+LICENSE="sun-bcla-jmi"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="doc source"
+
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ dev-java/ant-core
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ mkdir "${S}/src" && cd "${S}/src"
+ unpack ${JMI_ZIP}
+
+ cd "${S}"
+ # rename enum keywords because javadoc hates them
+ # even with -source 1.4, bummer
+ epatch "${FILESDIR}/${P}-enum.patch"
+ cp "${FILESDIR}/${P}-build.xml" build.xml
+
+ #adding mof.xml required by Netbeans #98603
+ mkdir -p "${S}/build/javax/jmi/model/resources"
+ cd "${S}/build/javax/jmi/model/resources"
+ unpack ${MOF_XML}
+ # bug #162328
+ cp mof-1.0.xml mof.xml
+}
+
+src_compile() {
+ eant jar $(use_doc)
+}
+
+src_install() {
+ java-pkg_dojar dist/*.jar
+
+ use doc && java-pkg_dojavadoc doc
+ use source && java-pkg_dosrc src/javax
+}