diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/dtdparser | |
download | gentoo-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/dtdparser')
-rw-r--r-- | dev-java/dtdparser/Manifest | 1 | ||||
-rw-r--r-- | dev-java/dtdparser/dtdparser-1.21-r2.ebuild | 31 | ||||
-rw-r--r-- | dev-java/dtdparser/files/buildfile.patch | 36 | ||||
-rw-r--r-- | dev-java/dtdparser/metadata.xml | 5 |
4 files changed, 73 insertions, 0 deletions
diff --git a/dev-java/dtdparser/Manifest b/dev-java/dtdparser/Manifest new file mode 100644 index 000000000000..88adaa137184 --- /dev/null +++ b/dev-java/dtdparser/Manifest @@ -0,0 +1 @@ +DIST dtdparser-1.21.tgz 138335 SHA256 67fb4af8aa48733b027724c1244e614d9621724efa47e2c9ddb69edecc8dd034 SHA512 1b96991a2a2486fbbf0a9847fec3f1528153508f5380c3066ba34b410a9d42a480c4b821535ea2304d6c674526229cf74e6d28a32312df431aa852a9436c03aa WHIRLPOOL 94721ab2021efcdce97e21357f951a55dc7105a7d7a41cbf8735302babd20637a3c0195af3f266a16d25d73987441d043b8812c7da1009c8bb81e2ec87febf54 diff --git a/dev-java/dtdparser/dtdparser-1.21-r2.ebuild b/dev-java/dtdparser/dtdparser-1.21-r2.ebuild new file mode 100644 index 000000000000..e86238f67644 --- /dev/null +++ b/dev-java/dtdparser/dtdparser-1.21-r2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A Java DTD Parser" +HOMEPAGE="http://www.wutka.com/dtdparser.html" +SRC_URI="http://www.wutka.com/download/${P}.tgz" + +LICENSE="LGPL-2.1 Apache-1.1" +SLOT="${PV}" +KEYWORDS="amd64 ppc x86" +IUSE="" + +DEPEND=">=virtual/jdk-1.4" +RDEPEND=">=virtual/jre-1.4" + +S="${WORKDIR}/${P}" + +JAVA_ENCODING="iso8859-1" +JAVA_SRC_DIR="source" + +java_prepare() { + find -name "*.jar" -o -name "*.class" -delete || die + rm build.xml || die +} diff --git a/dev-java/dtdparser/files/buildfile.patch b/dev-java/dtdparser/files/buildfile.patch new file mode 100644 index 000000000000..da5c253ed3a3 --- /dev/null +++ b/dev-java/dtdparser/files/buildfile.patch @@ -0,0 +1,36 @@ +diff -uprN dtdparser-1.21.old/build.xml dtdparser-1.21/build.xml +--- dtdparser-1.21.old/build.xml 2002-07-29 14:06:51.000000000 +0200 ++++ dtdparser-1.21/build.xml 2004-12-24 13:13:02.626325296 +0100 +@@ -12,7 +12,7 @@ + <property name="src" value="source"/> + <property file="product.properties"/> + <property name="prod.distbase" value="${prod.name}-${prod.version.major}.${prod.version.minor}"/> +- <property name="prod.jar" value="${prod.distbase}/${prod.name}${prod.version.major}${prod.version.minor}.jar"/> ++ <property name="prod.jar" value="${prod.distbase}/${prod.name}.jar"/> + <property name="doc" value="${prod.distbase}/doc"/> + + <!-- +@@ -40,8 +40,11 @@ + </target> + + <target name="compile"> +- <javac srcdir="${src}" destdir="${lib}" +- deprecation="on"> ++ <javac srcdir="${src}" ++ destdir="${lib}" ++ deprecation="off" ++ source="1.3" ++ target="1.3"> + <classpath refid="default.classpath"/> + </javac> + </target> +@@ -94,4 +97,9 @@ + <delete dir="${lib}"/> + </target> + ++ <target name="sourcezip"> ++ <zip destfile="${dist}/dtdparser-src.zip"> ++ <zipfileset dir="${src}" /> ++ </zip> ++ </target> + </project> diff --git a/dev-java/dtdparser/metadata.xml b/dev-java/dtdparser/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-java/dtdparser/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> |