summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/msv/ChangeLog10
-rw-r--r--dev-java/msv/Manifest4
-rw-r--r--dev-java/msv/files/build-20050627-r3.xml62
-rw-r--r--dev-java/msv/msv-20050627-r3.ebuild51
4 files changed, 124 insertions, 3 deletions
diff --git a/dev-java/msv/ChangeLog b/dev-java/msv/ChangeLog
index cccc25144875..0628c1862f91 100644
--- a/dev-java/msv/ChangeLog
+++ b/dev-java/msv/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/msv
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/msv/ChangeLog,v 1.28 2010/04/24 17:19:48 grobian Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/msv/ChangeLog,v 1.29 2011/01/18 15:21:34 fordfrog Exp $
+
+*msv-20050627-r3 (18 Jan 2011)
+
+ 18 Jan 2011; Miroslav Šulc <fordfrog@gentoo.org> +msv-20050627-r3.ebuild,
+ +files/build-20050627-r3.xml:
+ Added launcher, bug #335907
24 Apr 2010; Fabian Groffen <grobian@gentoo.org> msv-20050627-r2.ebuild:
Marked ~sparc-solaris ~x86-solaris, bug #314093
diff --git a/dev-java/msv/Manifest b/dev-java/msv/Manifest
index a941b5b016ae..3e6b32aa0c44 100644
--- a/dev-java/msv/Manifest
+++ b/dev-java/msv/Manifest
@@ -1,7 +1,9 @@
AUX build-20050627-r2.xml 1822 RMD160 8cd4b8c704ac3eac9037b8f909bce9d7da90a19e SHA1 54ce207ee618b4212ac410c269b2245dcca2071b SHA256 5f6f652a32ee00865353424c21e9db630a88b960e8e878b5fff11f5530031fc6
+AUX build-20050627-r3.xml 1822 RMD160 8cd4b8c704ac3eac9037b8f909bce9d7da90a19e SHA1 54ce207ee618b4212ac410c269b2245dcca2071b SHA256 5f6f652a32ee00865353424c21e9db630a88b960e8e878b5fff11f5530031fc6
AUX build-20050627.xml 1771 RMD160 934dffe75d649f81af2742989f26d767b36059a7 SHA1 65d3460c64123666de47fcb610a98b2256c96cf8 SHA256 ee9b9ab4882a41ed45be0db9760d229d20ddcaf185080c26b7a912ad48caa2d3
DIST msv.20050627.zip 3791703 RMD160 87cd6badcadce5d4a818180fec51cc6a54b8b9e3 SHA1 eb3c76e0e72c3aa26068b5fd70f4400e4d09d564 SHA256 664759fd048d35ed1eea9dbad15cc04475e3c2c5509050cc85c9cbaf778e7278
EBUILD msv-20050627-r1.ebuild 1328 RMD160 55b74a18d6e2d0fc1c1ce2e97035e036c73703ca SHA1 b22197a605953422b84b2f8485b6d218edff8c52 SHA256 d844b1516c9ec70bab934d4ad6e026f45f354f1acf2ee8f06b6fd5fa81d8bf6d
EBUILD msv-20050627-r2.ebuild 1373 RMD160 01bafa8e455804695b91892e9764e1eda9000325 SHA1 0e7563f838dcfea39ce03ab16f450e5285ccd123 SHA256 ed97e732a682b55f0fc9fee26c1e81962e7a8485bcd07e47b8ce175843fbb0d2
-MISC ChangeLog 3550 RMD160 b42c90781368d350c72c816a22f12b1096d1fb7b SHA1 3081e4dc52ce8d2a0835c604c48486a127375f3d SHA256 3a45ff7aacac73c950656af8c65c9ecb88d91f28d922ba8f363436ce3662a870
+EBUILD msv-20050627-r3.ebuild 1443 RMD160 489c5dbbc9423a1ce2c6a877ff24f7876fdab1f0 SHA1 7a937f25ee3ba1ee1e5b7260b39c21808848efc6 SHA256 11cb78cbc6f81a16d07399b1c5e9091ddbac3335a3ccc75ca812133efa416402
+MISC ChangeLog 3723 RMD160 46d28453918349b2b0f0fc48f65fc21e56244a72 SHA1 36a1673b1454cf1d048521a4329c054e70e98ac7 SHA256 d56cb2cf6e9cadf18a173d6a1a48dba02bcf882567d3ce91d953c3efc5a80070
MISC metadata.xml 326 RMD160 5c6af77657b31894c4704741c0bee09e68e0f04d SHA1 40ebfeee26b5c9fd608cc906306cd82336fd990e SHA256 b6098c189297e1ca9570a55930366a6d450e5e8b2fba3e2c9373166d85bd9573
diff --git a/dev-java/msv/files/build-20050627-r3.xml b/dev-java/msv/files/build-20050627-r3.xml
new file mode 100644
index 000000000000..9d6908ce4bd7
--- /dev/null
+++ b/dev-java/msv/files/build-20050627-r3.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!---
+ @author: Saleem Abdulrasool <compnerd@gentoo.org>
+ @date: 5/9/2005
+ @revision: 1.0_alpha
+
+ @notes: Call using the following: ant -f build.xml -Dproject.name=${project name} -Dpackage.name=${package name}
+-->
+
+<project name="Gentoo_Builder" default="jar" basedir=".">
+ <property name="src" value="src"/>
+ <property name="build" value="build"/>
+ <property name="dist" value="dist"/>
+ <property name="dist.docs" value="${dist}/doc/api"/>
+
+ <property name="libdir" value="lib"/>
+
+ <property name="pkg" value="${package.name}"/>
+ <property name="jar" value="${project.name}.jar"/>
+
+ <path id="lib.classpath">
+ <fileset dir="${libdir}">
+ <include name="**/*.jar"/>
+ </fileset>
+ </path>
+
+ <!-- Override any defined properties -->
+ <property file="build.properties"/>
+
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${build}"/>
+ <mkdir dir="${dist}"/>
+ <mkdir dir="${dist}/doc"/>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac srcdir="${src}" destdir="${build}" classpathref="lib.classpath"/>
+ </target>
+
+ <target name="manifest" depends="init">
+ <manifest file="${build}/MANIFEST.MF" mode="update">
+ <attribute name="Built-By" value="Gentoo Portage"/>
+ </manifest>
+ </target>
+
+ <target name="jar" depends="compile,manifest">
+ <jar jarfile="${dist}/${jar}" manifest="${build}/MANIFEST.MF">
+ <fileset dir="${build}"/>
+ <fileset dir="${src}" includes="**/*.properties" />
+ </jar>
+ </target>
+
+ <target name="javadoc" depends="compile">
+ <javadoc sourcepath="${src}" destdir="${dist.docs}" packagenames="*" classpathref="lib.classpath"/>
+ </target>
+
+ <target name="clean">
+ <delete dir="${build}"/>
+ <delete dir="${dist}"/>
+ </target>
+</project>
diff --git a/dev-java/msv/msv-20050627-r3.ebuild b/dev-java/msv/msv-20050627-r3.ebuild
new file mode 100644
index 000000000000..8298ec949a7c
--- /dev/null
+++ b/dev-java/msv/msv-20050627-r3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/msv/msv-20050627-r3.ebuild,v 1.1 2011/01/18 15:21:34 fordfrog Exp $
+
+EAPI=1
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 eutils java-ant-2
+
+DESCRIPTION="Multi-Schema XML Validator, a Java tool for validating XML documents"
+HOMEPAGE="http://www.sun.com/software/xml/developers/multischema/ https://msv.dev.java.net/"
+SRC_URI="mirror://gentoo/${PN}.${PV}.zip"
+
+LICENSE="BSD Apache-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4
+ dev-java/iso-relax:0
+ dev-java/relaxng-datatype:0
+ dev-java/xml-commons-resolver:0
+ dev-java/xerces:2
+ dev-java/xsdlib:0"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${RDEPEND}"
+
+JAVA_PKG_FILTER_COMPILER="jikes"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ cp -i "${FILESDIR}/build-${PVR}.xml" build.xml || die
+ rm -v *.jar || die
+
+ mkdir lib && cd lib
+ java-pkg_jar-from iso-relax,relaxng-datatype,xerces-2,xml-commons-resolver,xsdlib
+}
+
+EANT_EXTRA_ARGS="-Dproject.name=${PN}"
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ java-pkg_dolauncher msv --main com.sun.msv.driver.textui.Driver
+
+ dodoc README.txt ChangeLog.txt || die
+
+ use doc && java-pkg_dojavadoc dist/doc/api
+ use source && java-pkg_dosrc src/*
+}