diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2012-02-23 20:28:22 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2012-02-23 20:28:22 +0000 |
commit | 488ff011c33b2da0dcdd37fc3401695df9532fa1 (patch) | |
tree | ef3a10977b50750515cde2f30eebd96888de694d /dev-java/jigsaw | |
parent | remove old (diff) | |
download | gentoo-2-488ff011c33b2da0dcdd37fc3401695df9532fa1.tar.gz gentoo-2-488ff011c33b2da0dcdd37fc3401695df9532fa1.tar.bz2 gentoo-2-488ff011c33b2da0dcdd37fc3401695df9532fa1.zip |
Initial version of htmlparser: W3 Consortium's Java-based Web server libraries.
(Portage version: 2.1.10.47/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/jigsaw')
-rw-r--r-- | dev-java/jigsaw/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/jigsaw/files/jigsaw-2.2.6-build.xml.patch | 48 | ||||
-rw-r--r-- | dev-java/jigsaw/jigsaw-2.2.6.ebuild | 62 | ||||
-rw-r--r-- | dev-java/jigsaw/metadata.xml | 8 |
4 files changed, 129 insertions, 0 deletions
diff --git a/dev-java/jigsaw/ChangeLog b/dev-java/jigsaw/ChangeLog new file mode 100644 index 000000000000..c13ac060e1a6 --- /dev/null +++ b/dev-java/jigsaw/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/jigsaw +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jigsaw/ChangeLog,v 1.1 2012/02/23 20:28:22 nelchael Exp $ + +*jigsaw-2.2.6 (23 Feb 2012) + + 23 Feb 2012; Krzysztof Pawlik <nelchael@gentoo.org> +jigsaw-2.2.6.ebuild, + +files/jigsaw-2.2.6-build.xml.patch, +metadata.xml: + Initial version of htmlparser: W3 Consortium's Java-based Web server + libraries. + diff --git a/dev-java/jigsaw/files/jigsaw-2.2.6-build.xml.patch b/dev-java/jigsaw/files/jigsaw-2.2.6-build.xml.patch new file mode 100644 index 000000000000..d0225de839b8 --- /dev/null +++ b/dev-java/jigsaw/files/jigsaw-2.2.6-build.xml.patch @@ -0,0 +1,48 @@ +--- build.xml.vanilla 2012-02-23 01:17:09.137602588 +0100 ++++ build.xml 2012-02-23 01:21:35.431836983 +0100 +@@ -79,6 +79,9 @@ + <pathelement path="classes/xp.jar"/> + <pathelement path="classes/servlet.jar"/> + <pathelement path="${build.core.classes}"/> ++ <fileset dir="jars"> ++ <include name="**/*.jar"/> ++ </fileset> + </path> + + <!-- =================================================================== --> +@@ -99,6 +102,7 @@ + <!-- =================================================================== --> + <target name="compile.core" depends="prepare"> + <javac srcdir="${src.dir}" ++ encoding="iso-8859-1" + destdir="${build.core.classes}" + debug="${debug}" + excludes="org/w3c/jigadm/** org/w3c/jigedit/**" +@@ -111,6 +115,7 @@ + <!-- =================================================================== --> + <target name="compile.admin" depends="compile.core"> + <javac srcdir="${src.dir}" ++ encoding="iso-8859-1" + destdir="${build.admin.classes}" + debug="${debug}" + includes="org/w3c/jigadm/**" +@@ -122,7 +127,8 @@ + <!-- Compiles the edit package --> + <!-- =================================================================== --> + <target name="compile.edit" depends="compile.core"> +- <javac srcdir="${src.dir}" ++ <javac srcdir="${src.dir}" ++ encoding="iso-8859-1" + destdir="${build.edit.classes}" + debug="${debug}" + includes="org/w3c/jigedit/**" +@@ -173,7 +179,9 @@ + <target name="javadocs" depends="prepare"> + <mkdir dir="${build.javadocs}"/> + <javadoc packagenames="${packages}" ++ encoding="iso-8859-1" + sourcepath="${src.dir}" ++ classpathref="build.classpath" + destdir="${build.javadocs}" + author="true" + version="true" diff --git a/dev-java/jigsaw/jigsaw-2.2.6.ebuild b/dev-java/jigsaw/jigsaw-2.2.6.ebuild new file mode 100644 index 000000000000..69077e3509da --- /dev/null +++ b/dev-java/jigsaw/jigsaw-2.2.6.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jigsaw/jigsaw-2.2.6.ebuild,v 1.1 2012/02/23 20:28:22 nelchael Exp $ + +EAPI=4 + +JAVA_PKG_IUSE="doc source" + +# Jigsaw is actually a WWW server, it would be nice to package it as such, not +# as a raw library like this ebuild does. + +inherit java-pkg-2 java-ant-2 eutils + +DESCRIPTION="W3 Consortium's Java-based Web server libraries" +HOMEPAGE="http://jigsaw.w3.org/" +SRC_URI="http://jigsaw.w3.org/Distrib/${PN}_${PV}.tar.bz2" + +LICENSE="W3C" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +COMMON_DEP="dev-java/jakarta-oro:2.0 + java-virtuals/servlet-api:2.3 + dev-java/xerces:2 + dev-java/jtidy" + +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip + ${COMMON_DEP}" + +EANT_DOC_TARGET="javadocs" + +S="${WORKDIR}/Jigsaw" + +src_prepare() { + rm -f classes/*.jar + mkdir -p "${S}/jars" || die "mkdir failed" + + epatch "${FILESDIR}/${P}-build.xml.patch" + + java-pkg_jar-from --into jars/ jakarta-oro-2.0 + java-pkg_jar-from --into jars/ servlet-api-2.3 + java-pkg_jar-from --into jars/ xerces-2 + java-pkg_jar-from --into jars/ jtidy + + cd jars/ + ln -s $(java-config --tools) +} + +src_install() { + java-pkg_dojar classes/jigsaw.jar + java-pkg_dojar classes/jigadmin.jar + java-pkg_dojar classes/jigedit.jar + + use doc && java-pkg_dojavadoc ant.build/javadocs + + dodoc ANNOUNCE README +} diff --git a/dev-java/jigsaw/metadata.xml b/dev-java/jigsaw/metadata.xml new file mode 100644 index 000000000000..ed8c1e2e7469 --- /dev/null +++ b/dev-java/jigsaw/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> + <maintainer> + <email>nelchael@gentoo.org</email> + </maintainer> +</pkgmetadata> |