Initial commit of jaxr.
authorKrzysztof Pawlik <nelchael@gentoo.org>
Tue, 1 May 2007 19:56:51 +0000 (19:56 +0000)
committerKrzysztof Pawlik <nelchael@gentoo.org>
Tue, 1 May 2007 19:56:51 +0000 (19:56 +0000)
Package-Manager: portage-2.1.2.5

dev-java/jaxr/ChangeLog [new file with mode: 0644]
dev-java/jaxr/files/digest-jaxr-1.0.6 [new file with mode: 0644]
dev-java/jaxr/files/jaxr-1.0.6-javadoc.patch [new file with mode: 0644]
dev-java/jaxr/jaxr-1.0.6.ebuild [new file with mode: 0644]
dev-java/jaxr/metadata.xml [new file with mode: 0644]

diff --git a/dev-java/jaxr/ChangeLog b/dev-java/jaxr/ChangeLog
new file mode 100644 (file)
index 0000000..bf44475
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/jaxr
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxr/ChangeLog,v 1.1 2007/05/01 19:56:51 nelchael Exp $
+
+*jaxr-1.0.6 (01 May 2007)
+
+  01 May 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+  +files/jaxr-1.0.6-javadoc.patch, +metadata.xml, +jaxr-1.0.6.ebuild:
+  Initial commit of jaxr.
+
diff --git a/dev-java/jaxr/files/digest-jaxr-1.0.6 b/dev-java/jaxr/files/digest-jaxr-1.0.6
new file mode 100644 (file)
index 0000000..b8c53ef
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 c9f9d15a303ed6baa3726cedae88fc9c jaxr-1.0.6.tar.bz2 562108
+RMD160 0daf57badf5965ae28634b22f16a07abf12ac7a6 jaxr-1.0.6.tar.bz2 562108
+SHA256 8937ad4f264da6bc4e8e284e89f10199265b658f7559b0c87e6cf6659c46ef98 jaxr-1.0.6.tar.bz2 562108
diff --git a/dev-java/jaxr/files/jaxr-1.0.6-javadoc.patch b/dev-java/jaxr/files/jaxr-1.0.6-javadoc.patch
new file mode 100644 (file)
index 0000000..9d06f6f
--- /dev/null
@@ -0,0 +1,13 @@
+--- build.xml.vanilla  2007-03-18 21:59:10.000000000 +0100
++++ build.xml  2007-03-18 22:00:54.000000000 +0100
+@@ -206,7 +206,9 @@
+            <sourcepath>
+                <pathelement location="${src.dir}"/>
+            </sourcepath>
+-           <fileset dir="${src.dir}"/>
++           <fileset dir="${src.dir}">
++               <include name="**/*.java"/>
++           </fileset>
+        </javadoc>
+    </target>
+    <target name="javadoc-browse" if="netbeans.home" unless="no.javadoc.preview" depends="init,javadoc-build">
diff --git a/dev-java/jaxr/jaxr-1.0.6.ebuild b/dev-java/jaxr/jaxr-1.0.6.ebuild
new file mode 100644 (file)
index 0000000..12e27bd
--- /dev/null
@@ -0,0 +1,58 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxr/jaxr-1.0.6.ebuild,v 1.1 2007/05/01 19:56:51 nelchael Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+DESCRIPTION="Java API for XML Registries"
+HOMEPAGE="https://glassfish.dev.java.net/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+COMMON_DEP="=dev-java/jaxb-2*
+       dev-java/jsr173
+       dev-java/jsr67
+       dev-java/jsr93
+       dev-java/sun-jaf"
+DEPEND=">=virtual/jdk-1.5
+       ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.5
+       ${COMMON_DEP}"
+
+S="${WORKDIR}/${PN}-ri"
+
+EANT_BUILD_TARGET="compile"
+EANT_DOC_TARGET="javadoc-build"
+
+src_unpack() {
+
+       unpack ${A}
+
+       mkdir "${S}/lib" || die
+       cd "${S}/lib"
+
+       java-pkg_jar-from jaxb-2
+       java-pkg_jar-from jsr67 jsr67.jar saaj-api.jar
+       java-pkg_jar-from jsr173 jsr173.jar jsr173_1.0_api.jar
+       java-pkg_jar-from jsr93 jsr93-api.jar jaxr-api.jar
+       java-pkg_jar-from sun-jaf
+
+       cd "${S}"
+       epatch "${FILESDIR}/${P}-javadoc.patch"
+
+}
+
+src_install() {
+
+       java-pkg_dojar lib/jaxr-impl.jar
+
+       use doc && java-pkg_dojavadoc javadoc
+       use source && java-pkg_dosrc src/java/*
+
+}
diff --git a/dev-java/jaxr/metadata.xml b/dev-java/jaxr/metadata.xml
new file mode 100644 (file)
index 0000000..39fffcd
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>java</herd>
+  <maintainer>
+    <email>nelchael@gentoo.org</email>
+  </maintainer>
+</pkgmetadata>