summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-09-17 09:40:23 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-09-17 09:40:23 +0000
commit7085e17364202d26bda91ab0e15a005ffb86611d (patch)
tree7a94652a61cf46e2908503ce149b701a86e78ee4 /dev-java/xml
parentMarked 1.1.7 stable on x86. (diff)
downloadhistorical-7085e17364202d26bda91ab0e15a005ffb86611d.tar.gz
historical-7085e17364202d26bda91ab0e15a005ffb86611d.tar.bz2
historical-7085e17364202d26bda91ab0e15a005ffb86611d.zip
initial import, ebuild created by me, as a dependency
Diffstat (limited to 'dev-java/xml')
-rw-r--r--dev-java/xml/ChangeLog10
-rw-r--r--dev-java/xml/Manifest4
-rw-r--r--dev-java/xml/files/build.xml.patch9
-rw-r--r--dev-java/xml/files/digest-xml-0.131
-rw-r--r--dev-java/xml/metadata.xml5
-rw-r--r--dev-java/xml/xml-0.13.ebuild50
6 files changed, 79 insertions, 0 deletions
diff --git a/dev-java/xml/ChangeLog b/dev-java/xml/ChangeLog
new file mode 100644
index 000000000000..29f52149cc3a
--- /dev/null
+++ b/dev-java/xml/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/xml
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xml/ChangeLog,v 1.1 2004/09/17 09:37:38 axxo Exp $
+
+*xml-0.13 (17 Sep 2004)
+
+ 17 Sep 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml,
+ +xml-0.13.ebuild:
+ initial import, ebuild created by me, as a dependency
+
diff --git a/dev-java/xml/Manifest b/dev-java/xml/Manifest
new file mode 100644
index 000000000000..6e99187bd68b
--- /dev/null
+++ b/dev-java/xml/Manifest
@@ -0,0 +1,4 @@
+MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158
+MD5 09f1d87d6d1f3e2d42dea17f00f2539a xml-0.13.ebuild 1469
+MD5 47aa8b13e9c63b44b2c3bc386c61e8b3 files/digest-xml-0.13 58
+MD5 f2f1cb756731c00a6fbac195c5ae5c7f files/build.xml.patch 406
diff --git a/dev-java/xml/files/build.xml.patch b/dev-java/xml/files/build.xml.patch
new file mode 100644
index 000000000000..fe530dd519d4
--- /dev/null
+++ b/dev-java/xml/files/build.xml.patch
@@ -0,0 +1,9 @@
+--- build.xml 2004-09-17 00:48:04.811741928 +0200
++++ build.xml 2004-09-17 00:48:09.156081488 +0200
+@@ -38,6 +38,7 @@
+ <pathelement location="${install.dir}/xmlParserAPIs.jar"/>
+ <pathelement location="${install.dir}/xml-commons-resolver.jar"/>
+ <pathelement location="${install.dir}/htmlparser.jar"/>
++ <pathelement location="${jedit.install.dir}/jedit.jar"/>
+ <pathelement location="."/>
+ </path>
diff --git a/dev-java/xml/files/digest-xml-0.13 b/dev-java/xml/files/digest-xml-0.13
new file mode 100644
index 000000000000..afc35c811866
--- /dev/null
+++ b/dev-java/xml/files/digest-xml-0.13
@@ -0,0 +1 @@
+MD5 d55bf3adb043ea35c53cd8ac0ac54133 XML-0.13.tgz 1485971
diff --git a/dev-java/xml/metadata.xml b/dev-java/xml/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/xml/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>
diff --git a/dev-java/xml/xml-0.13.ebuild b/dev-java/xml/xml-0.13.ebuild
new file mode 100644
index 000000000000..2b5e68cb6084
--- /dev/null
+++ b/dev-java/xml/xml-0.13.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xml/xml-0.13.ebuild,v 1.1 2004/09/17 09:37:38 axxo Exp $
+
+inherit java-pkg eutils
+
+DESCRIPTION="jedit plugin: The XML plugin provides features for editing XML and HTML files."
+
+HOMEPAGE="http://plugins.jedit.org/plugins/?XML"
+SRC_URI="mirror://sourceforge/jedit-plugins/XML-${PV}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=">=app-editors/jedit-4.2
+ dev-java/errorlist
+ dev-java/sidekick
+ =dev-java/xerces-2.3*
+ dev-java/xml-commons-resolver
+ =dev-java/htmlparser-1.3*
+ dev-java/ant"
+#RDEPEND=""
+
+S=${WORKDIR}/XML
+
+src_unpack() {
+ unpack ${A}
+ rm -f *.jar
+ cd ${S}
+ epatch ${FILESDIR}/build.xml.patch
+ java-pkg_jar-from errorlist
+ java-pkg_jar-from sidekick
+ java-pkg_jar-from xerces-2.3
+ java-pkg_jar-from xml-commons-resolver
+ java-pkg_jar-from htmlparser-1.3
+}
+
+src_compile() {
+ ant dist -Djedit.install.dir=/usr/share/jedit -Dinstall.dir=. || die "compile failed"
+}
+
+src_install() {
+ java-pkg_dojar XML.jar
+ dodir /usr/share/jedit/jars
+ dosym /usr/share/${PN}/lib/XML.jar /usr/share/jedit/jars/XML.jar
+ dosym /usr/share/xerces-2.3/lib/xmlParserAPIs.jar /usr/share/jedit/jars/xmlParserAPIs.jar
+ dosym /usr/share/xerces-2.3/lib/xercesImpl.jar /usr/share/jedit/jars/xercesImpl.jar
+ dosym /usr/share/xml-commons-resolver/lib/xml-commons-resolver.jar /usr/share/jedit/jars/xml-commons-resolver.jar
+ dosym /usr/share/htmlparser-1.3/lib/htmlparser.jar /usr/share/jedit/jars/htmlparser.jar
+}