summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/relaxng-datatype
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/relaxng-datatype')
-rw-r--r--dev-java/relaxng-datatype/Manifest1
-rw-r--r--dev-java/relaxng-datatype/files/relaxng-datatype-1.0-build_xml.patch71
-rw-r--r--dev-java/relaxng-datatype/metadata.xml8
-rw-r--r--dev-java/relaxng-datatype/relaxng-datatype-1.0-r1.ebuild39
4 files changed, 119 insertions, 0 deletions
diff --git a/dev-java/relaxng-datatype/Manifest b/dev-java/relaxng-datatype/Manifest
new file mode 100644
index 00000000000..8e2ce65e511
--- /dev/null
+++ b/dev-java/relaxng-datatype/Manifest
@@ -0,0 +1 @@
+DIST relaxngDatatype-1.0.zip 74033 SHA256 7be15d1beb7faf895d5a7abff793ba324c4753d319236f40941ee63949f65eb2 SHA512 712b99209e927e8929c46797cf3733993cc2740bfbafb458c518e5e130a7860a19dee45acd360a9d7179137f9340c3edeb514cacf501233cca515b38e60d6b79 WHIRLPOOL 27ddc5d44c7a6f0c792fdfc4db4cd2c38751c4ace170422bd9cb9a528725c07f4ba896b75d165c5a8c6c1e2517403468f6d1425441adee0982ecaf934e15cab1
diff --git a/dev-java/relaxng-datatype/files/relaxng-datatype-1.0-build_xml.patch b/dev-java/relaxng-datatype/files/relaxng-datatype-1.0-build_xml.patch
new file mode 100644
index 00000000000..c77438f5581
--- /dev/null
+++ b/dev-java/relaxng-datatype/files/relaxng-datatype-1.0-build_xml.patch
@@ -0,0 +1,71 @@
+diff -ru relaxngDatatype-1.0/build.xml relaxngDatatype-1.0-patched/build.xml
+--- relaxngDatatype-1.0/build.xml 2001-11-27 19:20:34.000000000 -0500
++++ relaxngDatatype-1.0-patched/build.xml 2005-06-25 23:05:35.000000000 -0400
+@@ -1,12 +1,10 @@
+ <?xml version="1.0"?>
+
+-<project name="relaxng" basedir="." default="release">
++<project name="relaxng" basedir="." default="dist">
+ <property name="version" value="1.0"/>
+
+- <target name="release">
+- <tstamp/>
+-
+ <!-- compile Java source files -->
++ <target name="compile">
+ <mkdir dir="bin"/>
+ <javac
+ srcdir="src"
+@@ -14,7 +12,9 @@
+ debug="off"
+ optimize="on"
+ />
++ </target>
+
++ <target name="jar" depends="compile">
+ <!-- create manifest file -->
+ <echo file="MANIFEST.MF">Manifest-Version: 1.0
+
+@@ -24,25 +24,28 @@
+ Implementation-Vendor: relaxng.sourceforge.net</echo>
+
+ <!-- standard archive -->
+- <delete file="relaxngDatatype.jar"/>
+ <jar jarfile="relaxngDatatype.jar"
+ compress="false"
+ manifest="MANIFEST.MF">
+ <fileset dir="bin" includes="**/*.class" />
+ </jar>
++ </target>
+
+ <!-- generate javadoc documentation -->
++ <target name="javadoc">
+ <mkdir dir="doc"/>
+ <javadoc locale="en_US"
+ packagenames="org.relaxng.datatype.*"
+ sourcepath="src"
+- destdir="doc"
++ destdir="doc/api"
+ windowtitle="RELAX NG Datatype Interface"
+ public="yes"
+ author="yes"
+ >
+ </javadoc>
++ </target>
+
++ <target name="dist" depends="jar,javadoc">
+ <!-- creates distribution package -->
+ <zip zipfile="relaxngDatatype-${version}.zip">
+ <zipfileset dir="." prefix="relaxngDatatype-${version}"
+@@ -59,4 +62,11 @@
+ includes="relaxngDatatype.jar" />
+ </zip>
+ </target>
++
++ <target name="clean">
++ <delete file="relaxngDatatype-${version}.zip"/>
++ <delete dir="doc/api"/>
++ <delete dir="bin"/>
++ <delete file="relaxngDatatype.jar"/>
++ </target>
+ </project>
diff --git a/dev-java/relaxng-datatype/metadata.xml b/dev-java/relaxng-datatype/metadata.xml
new file mode 100644
index 00000000000..de9b803e551
--- /dev/null
+++ b/dev-java/relaxng-datatype/metadata.xml
@@ -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>
+ <upstream>
+ <remote-id type="sourceforge">relaxng</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/relaxng-datatype/relaxng-datatype-1.0-r1.ebuild b/dev-java/relaxng-datatype/relaxng-datatype-1.0-r1.ebuild
new file mode 100644
index 00000000000..201e0108be1
--- /dev/null
+++ b/dev-java/relaxng-datatype/relaxng-datatype-1.0-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+MY_PN="relaxngDatatype"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="Interface between RELAX NG validators and datatype libraries"
+HOMEPAGE="http://relaxng.org/"
+SRC_URI="mirror://sourceforge/relaxng/${MY_P}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=" amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc source"
+
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -v *.jar || die
+ epatch "${FILESDIR}/${P}-build_xml.patch"
+}
+
+src_install() {
+ java-pkg_dojar ${MY_PN}.jar
+ dodoc README.txt || die
+
+ use doc && java-pkg_dojavadoc doc/api
+ use source && java-pkg_dosrc src/*
+}