--- /dev/null
+# ChangeLog for dev-java/rngom
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/rngom/ChangeLog,v 1.1 2007/05/01 18:41:46 nelchael Exp $
+
+*rngom-20051226 (01 May 2007)
+
+ 01 May 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/build.xml-20051226, +metadata.xml, +rngom-20051226.ebuild:
+ Initial commit of rngom.
+
--- /dev/null
+<?xml version="1.0"?>
+<project name="rngom" default="jar" basedir=".">
+ <target name="compile">
+ <mkdir dir="build"/>
+ <javac debug="false" srcdir="src" destdir="build">
+ <classpath>
+ <fileset dir="lib" includes="**/*.jar"/>
+ </classpath>
+ </javac>
+ </target>
+ <target name="jar" depends="compile">
+ <jar destfile="rngom.jar">
+ <fileset dir="build" includes="**/*.class"/>
+ </jar>
+ </target>
+</project>
--- /dev/null
+MD5 f0bb4dfd7043eb49b478609d4a24292f rngom-20051226.zip 1370492
+RMD160 96029645ceb42d849f91b749dbd519c661f71907 rngom-20051226.zip 1370492
+SHA256 aafaeb2e7e1a712affcd89605a1df99c1deb77eb2424291b47556a597225542e rngom-20051226.zip 1370492
--- /dev/null
+<?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>
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/rngom/rngom-20051226.ebuild,v 1.1 2007/05/01 18:41:46 nelchael Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="RNGOM is an open-source Java library for parsing RELAX NG grammars."
+HOMEPAGE="https://rngom.dev.java.net/"
+SRC_URI="https://rngom.dev.java.net/files/documents/1647/26424/${P}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.5
+ dev-java/relaxng-datatype
+ dev-java/xsdlib
+ app-arch/unzip"
+RDEPEND=">=virtual/jre-1.5"
+
+src_unpack() {
+
+ unpack ${A}
+
+ cd "${S}"
+ rm -v *.jar || die
+ mkdir lib || die
+
+ cd lib/
+ java-pkg_jarfrom relaxng-datatype
+ java-pkg_jarfrom xsdlib
+
+ cp "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" -i || die "cp failed"
+
+}
+
+src_install() {
+
+ java-pkg_dojar rngom.jar
+
+ use source && java-pkg_dosrc src/*
+ use doc && java-pkg_dojavadoc javadoc/*
+
+}