summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/iso-relax')
-rw-r--r--dev-java/iso-relax/Manifest1
-rw-r--r--dev-java/iso-relax/files/build.xml77
-rw-r--r--dev-java/iso-relax/iso-relax-20050331-r1.ebuild36
-rw-r--r--dev-java/iso-relax/iso-relax-20050331-r2.ebuild42
-rw-r--r--dev-java/iso-relax/metadata.xml5
5 files changed, 161 insertions, 0 deletions
diff --git a/dev-java/iso-relax/Manifest b/dev-java/iso-relax/Manifest
new file mode 100644
index 000000000000..ad88be176d84
--- /dev/null
+++ b/dev-java/iso-relax/Manifest
@@ -0,0 +1 @@
+DIST iso-relax-20050331-gentoo.tar.bz2 696665 SHA256 3e3716ccc553c1a756503a56bcf92a64f6e0df3df89e6fa951a990d2c4601d70 SHA512 c327b461785ce647f9913afa6f5b77c41440e806d566884058be76e14a118d14fa305a1bc0157ee150b199b573e75af954311dc79eb8535599544f094526320a WHIRLPOOL e158e5a28d0f734b4a59923615449663b0dfc5b6b2a3ecbbff3ed37ac051fa1e6434d131195bcb6a87b5bdc36435f941bde29922be2ec92bea5c5404c8000e5e
diff --git a/dev-java/iso-relax/files/build.xml b/dev-java/iso-relax/files/build.xml
new file mode 100644
index 000000000000..841cc61688da
--- /dev/null
+++ b/dev-java/iso-relax/files/build.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0"?>
+<project name="ISORELAX" basedir="." default="release">
+
+ <!-- create a distribution package -->
+ <target name="release">
+ <tstamp />
+
+ <!-- compile files -->
+ <mkdir dir="temp" />
+ <javac srcdir="src" debug="true"
+ destdir="temp"
+ classpath="lib/verifier.jar">
+ <include name="**/*.java" />
+ </javac>
+
+ <!-- create a time stamp file -->
+ <echo file="temp/version.properties">version=${DSTAMP}</echo>
+
+ <!-- creates src zip -->
+ <delete file="src.zip"/>
+ <zip zipfile="src.zip"
+ compress="true">
+ <fileset dir="src">
+ <patternset>
+ <exclude name="*.vjp"/>
+ <exclude name="codebase.dat"/>
+ <exclude name="*.SRG"/>
+ </patternset>
+ </fileset>
+ </zip>
+
+ <!-- creates binary jar -->
+ <delete file="isorelax.jar"/>
+ <jar jarfile="isorelax.jar"
+ compress="true">
+ <fileset dir="temp" />
+ <fileset dir="" includes="COPYING.txt"/>
+ <!-- resource files -->
+ <fileset dir="src">
+ <patternset>
+ <include name="**/*.properties" />
+ <include name="**/*.rxm"/>
+ <include name="**/*.dtd"/>
+ <include name="**/*.rng"/>
+ <include name="**/*.mod"/>
+ </patternset>
+ </fileset>
+ </jar>
+ <delete dir="temp" />
+
+ <zip zipfile="isorelax.${DSTAMP}.zip" compress="true">
+ <fileset dir="." includes="isorelax.jar src.zip COPYING.txt"/>
+ </zip>
+ </target>
+
+
+ <!-- ant task test -->
+ <target name="ant-task-test">
+ <taskdef name="jarv" classname="org.iso_relax.ant.JARVTask">
+ <classpath path="isorelax.jar"/>
+ <classpath path="lib/verifier.jar"/>
+ <classpath path="lib/verifier.manifest.jar"/>
+ </taskdef>
+
+ <jarv
+ schemaLanguage="http://www.xml.gr.jp/xmlns/relaxCore"
+ schema="test/relax001.rlx"
+ file="test/relax001.v00.xml" />
+
+ <jarv
+ schemaLanguage="http://www.xml.gr.jp/xmlns/relaxCore"
+ schema="test/relax001.rlx">
+
+ <fileset dir="test" includes="*.xml"/>
+ </jarv>
+ </target>
+</project>
diff --git a/dev-java/iso-relax/iso-relax-20050331-r1.ebuild b/dev-java/iso-relax/iso-relax-20050331-r1.ebuild
new file mode 100644
index 000000000000..88b55165f944
--- /dev/null
+++ b/dev-java/iso-relax/iso-relax-20050331-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Interfaces useful for applications which support RELAX Core"
+HOMEPAGE="http://iso-relax.sourceforge.net"
+SRC_URI="mirror://gentoo/${P}-gentoo.tar.bz2"
+
+# To get the build system:
+# cvs -d:pserver:anonymous@iso-relax.cvs.sourceforge.net:/cvsroot/iso-relax login
+# mkdir iso-relax-20050331
+# cd iso-relax-20050331
+# cvs -d:pserver:anonymous@iso-relax.cvs.sourceforge.net:/cvsroot/iso-relax -frelease-20050331 co build.xml lib
+# rm -r $(find -name CVS)
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core"
+RDEPEND=">=virtual/jre-1.4"
+
+EANT_BUILD_TARGET="release"
+
+src_install() {
+
+ java-pkg_dojar isorelax.jar
+ use source && java-pkg_dosrc src/*
+
+}
diff --git a/dev-java/iso-relax/iso-relax-20050331-r2.ebuild b/dev-java/iso-relax/iso-relax-20050331-r2.ebuild
new file mode 100644
index 000000000000..c5139979615e
--- /dev/null
+++ b/dev-java/iso-relax/iso-relax-20050331-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Interfaces useful for applications which support RELAX Core"
+HOMEPAGE="http://iso-relax.sourceforge.net"
+SRC_URI="mirror://gentoo/${P}-gentoo.tar.bz2"
+
+# To get the build system:
+# cvs -d:pserver:anonymous@iso-relax.cvs.sourceforge.net:/cvsroot/iso-relax login
+# mkdir iso-relax-20050331
+# cd iso-relax-20050331
+# cvs -d:pserver:anonymous@iso-relax.cvs.sourceforge.net:/cvsroot/iso-relax -frelease-20050331 co build.xml lib
+# rm -r $(find -name CVS)
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core:0"
+RDEPEND=">=virtual/jre-1.4
+ dev-java/ant-core:0"
+
+EANT_BUILD_TARGET="release"
+
+src_prepare() {
+ java-pkg_jarfrom --into lib ant-core ant.jar
+}
+
+src_install() {
+
+ java-pkg_dojar isorelax.jar
+ use source && java-pkg_dosrc src/*
+
+}
diff --git a/dev-java/iso-relax/metadata.xml b/dev-java/iso-relax/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/iso-relax/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>