summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/saxpath')
-rw-r--r--dev-java/saxpath/ChangeLog10
-rw-r--r--dev-java/saxpath/Manifest4
-rw-r--r--dev-java/saxpath/files/MANIFEST.MF9
-rw-r--r--dev-java/saxpath/files/digest-saxpath-1.01
-rw-r--r--dev-java/saxpath/metadata.xml5
-rw-r--r--dev-java/saxpath/saxpath-1.0.ebuild46
6 files changed, 75 insertions, 0 deletions
diff --git a/dev-java/saxpath/ChangeLog b/dev-java/saxpath/ChangeLog
new file mode 100644
index 000000000000..35e9ead20a7f
--- /dev/null
+++ b/dev-java/saxpath/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/saxpath
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/saxpath/ChangeLog,v 1.1 2004/09/17 13:59:34 axxo Exp $
+
+*saxpath-1.0 (17 Sep 2004)
+
+ 17 Sep 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml,
+ +files/MANIFEST.MF, +saxpath-1.0.ebuild:
+ initial import, ebuild created by me
+
diff --git a/dev-java/saxpath/Manifest b/dev-java/saxpath/Manifest
new file mode 100644
index 000000000000..0fb138ff5bcd
--- /dev/null
+++ b/dev-java/saxpath/Manifest
@@ -0,0 +1,4 @@
+MD5 497fcf9970eee77d1cb1dd78faed5464 saxpath-1.0.ebuild 987
+MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158
+MD5 3d3ef900f2efc99e36d9d4f87026d5b2 files/digest-saxpath-1.0 64
+MD5 cb58720b66697c1ef1f47de80c839e00 files/MANIFEST.MF 276
diff --git a/dev-java/saxpath/files/MANIFEST.MF b/dev-java/saxpath/files/MANIFEST.MF
new file mode 100644
index 000000000000..77fcc25b3bad
--- /dev/null
+++ b/dev-java/saxpath/files/MANIFEST.MF
@@ -0,0 +1,9 @@
+Manifest-Version: 1.0
+Extension-Name: org.saxpath
+Specification-Title: saxpth
+Specification-Version: 1.0 FCS
+Specification-Vendor: werken digital.
+Created-By: Ant 1.4.1
+Implementation-Vendor: werken digital.
+Implementation-Version: 1.0
+Implementation-Title: saxpath
diff --git a/dev-java/saxpath/files/digest-saxpath-1.0 b/dev-java/saxpath/files/digest-saxpath-1.0
new file mode 100644
index 000000000000..c7fbecdb7df8
--- /dev/null
+++ b/dev-java/saxpath/files/digest-saxpath-1.0
@@ -0,0 +1 @@
+MD5 cc95ecc7dfb689a29bd42323490ee702 saxpath-1.0.tar.gz 2166023
diff --git a/dev-java/saxpath/metadata.xml b/dev-java/saxpath/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/saxpath/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/saxpath/saxpath-1.0.ebuild b/dev-java/saxpath/saxpath-1.0.ebuild
new file mode 100644
index 000000000000..68a214b29c36
--- /dev/null
+++ b/dev-java/saxpath/saxpath-1.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/saxpath/saxpath-1.0.ebuild,v 1.1 2004/09/17 13:59:34 axxo Exp $
+
+inherit java-pkg
+
+DESCRIPTION="A Simple API for XPath."
+HOMEPAGE="http://saxpath.sourceforge.net/"
+SRC_URI="mirror://sourceforge/saxpath/${P}.tar.gz"
+LICENSE="saxpath"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc"
+IUSE="doc junit"
+DEPEND="dev-java/ant
+ junit? ( dev-java/junit )
+ dev-java/xalan
+ >=dev-java/xerces-2.6.2-r1"
+#RDEPEND=""
+
+S=${WORKDIR}/${P}-FCS
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ rm -f *.jar
+ mkdir src/conf
+ cp ${FILESDIR}/MANIFEST.MF src/conf
+ cd lib
+ rm -f jakarta-ant-1.3-optional.jar ant-1.3.jar xerces.jar junit.jar
+ use junit && java-pkg_jar-from junit
+ java-pkg_jar-from xalan
+ java-pkg_jar-from xerces-2
+}
+
+src_compile() {
+ local antops="package"
+ use doc && antops="${antops} doc javadoc"
+ use junit && antops="${antops} test"
+ ant ${antops} || die "failed to compile"
+}
+
+src_install() {
+ java-pkg_dojar build/saxpath.jar
+
+ use doc && dohtml -r build/doc/*
+}