summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-07-19 18:38:59 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-07-19 18:38:59 +0000
commit34b2c684bbfe7fac87f194a88e798906b6d30ce6 (patch)
tree7f46b08019a35694e21d1c1f5203f8a245db1dc4 /dev-java/jmi-interface
parentsilly style fix (diff)
downloadgentoo-2-34b2c684bbfe7fac87f194a88e798906b6d30ce6.tar.gz
gentoo-2-34b2c684bbfe7fac87f194a88e798906b6d30ce6.tar.bz2
gentoo-2-34b2c684bbfe7fac87f194a88e798906b6d30ce6.zip
new rev with an extra file needed for netbeans
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/jmi-interface')
-rw-r--r--dev-java/jmi-interface/ChangeLog8
-rw-r--r--dev-java/jmi-interface/Manifest12
-rw-r--r--dev-java/jmi-interface/files/digest-jmi-interface-1.0-r12
-rw-r--r--dev-java/jmi-interface/jmi-interface-1.0-r1.ebuild51
4 files changed, 62 insertions, 11 deletions
diff --git a/dev-java/jmi-interface/ChangeLog b/dev-java/jmi-interface/ChangeLog
index 3642f76ecc51..d3108c8b4de8 100644
--- a/dev-java/jmi-interface/ChangeLog
+++ b/dev-java/jmi-interface/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/jmi-interface
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jmi-interface/ChangeLog,v 1.2 2005/05/27 15:46:04 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jmi-interface/ChangeLog,v 1.3 2005/07/19 18:38:59 axxo Exp $
+
+*jmi-interface-1.0-r1 (19 Jul 2005)
+
+ 19 Jul 2005; Thomas Matthijs <axxo@gentoo.org>
+ +jmi-interface-1.0-r1.ebuild:
+ new rev with an extra file needed for netbeans
27 May 2005; Jan Brinkmann <luckyduck@gentoo.org>
jmi-interface-1.0.ebuild:
diff --git a/dev-java/jmi-interface/Manifest b/dev-java/jmi-interface/Manifest
index 431e88fe8af6..293be2117e6b 100644
--- a/dev-java/jmi-interface/Manifest
+++ b/dev-java/jmi-interface/Manifest
@@ -1,15 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 f19ec1ed2c45153964b090d800c9437a jmi-interface-1.0.ebuild 1067
MD5 a919021d7bbb93a72f93ce2636305c59 ChangeLog 612
+MD5 9f72b3aacb089e3ed131f5ce5ff9b518 jmi-interface-1.0-r1.ebuild 1336
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 a3afc86e56133eabd4f8206fbf00ffa3 files/digest-jmi-interface-1.0-r1 127
MD5 c32e1638d6cfd4da9fa8d2d9a22974a3 files/jmi-interface-1.0-build.xml 1510
MD5 214ca012130654d654a8b8121a0fd561 files/digest-jmi-interface-1.0 69
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFC2Muo/rLF9B432nYRAhyDAJ9EtNK50z/cQdtx3vrxM8369pAJngCgobU4
-goGzQlb7NArOWr0jD4mWcQE=
-=656g
------END PGP SIGNATURE-----
diff --git a/dev-java/jmi-interface/files/digest-jmi-interface-1.0-r1 b/dev-java/jmi-interface/files/digest-jmi-interface-1.0-r1
new file mode 100644
index 000000000000..99aa7483fb18
--- /dev/null
+++ b/dev-java/jmi-interface/files/digest-jmi-interface-1.0-r1
@@ -0,0 +1,2 @@
+MD5 9a974f9df7a9eefe440ac91b18fef5a7 jmi-1_0-fr-interfaces.zip 38946
+MD5 53713768742685cdbaef23e001e958ac mof-1.0.xml.bz2 7076
diff --git a/dev-java/jmi-interface/jmi-interface-1.0-r1.ebuild b/dev-java/jmi-interface/jmi-interface-1.0-r1.ebuild
new file mode 100644
index 000000000000..9bfa19b8cf4c
--- /dev/null
+++ b/dev-java/jmi-interface/jmi-interface-1.0-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2005 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-r1.ebuild,v 1.1 2005/07/19 18:38:59 axxo Exp $
+
+inherit java-pkg
+
+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="~x86 ~amd64 ~ppc"
+IUSE="doc jikes source"
+
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ jikes? ( dev-java/jikes )
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.4"
+
+S=${WORKDIR}
+
+src_unpack() {
+ cp ${FILESDIR}/${P}-build.xml ${S}/build.xml
+
+ mkdir ${S}/src
+ unzip -q -d ${S}/src ${DISTDIR}/${JMI_ZIP} || die
+
+ #adding mof.xml required by Netbeans #98603
+ unpack ${MOF_XML}
+
+ mkdir -p ${S}/build/javax/jmi/model/resources
+ mv mof-${PV}.xml ${S}/build/javax/jmi/model/resources/mof.xml || die
+}
+
+src_compile() {
+ local antflags="jar"
+ use doc && antflags="${antflags} javadoc"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "Failed to compile"
+}
+
+src_install() {
+ use doc && java-pkg_dohtml -r doc/*
+ use source && java-pkg_dosrc src/*
+ java-pkg_dojar dist/*.jar
+}