+++ /dev/null
-DIST xmlc-src-2.3.1.zip 8147268 SHA256 b95b422fc143c8bd2d61706d70ab4985431d5155b88df528951fc6f0c76b1b04 SHA512 377ec4d57373038e550b2f1902b019e413aeddc8b80f297898156a17c1fa437948b1e1f9302ca82f6b46fc8114a96f32bef9d27f68662fcf4fae1e7c3a52c16a WHIRLPOOL 819526aca87805a545237720b39fadbf3cb9f19bfab5acd38a24a084a0406ac7ece1b0d83b76cbe9fbd18286b45e846832afe58dfbc52cc6fb3c8d6c315d461e
+++ /dev/null
-diff -Nur xmlc-src-2.3.1/xmlc/modules/taskdef/build-default.properties xmlc-src-2.3.1_patched/xmlc/modules/taskdef/build-default.properties
---- xmlc-src-2.3.1/xmlc/modules/taskdef/build-default.properties 2007-04-22 00:40:58.000000000 +0300
-+++ xmlc-src-2.3.1_patched/xmlc/modules/taskdef/build-default.properties 2009-01-31 20:00:27.000000000 +0200
-@@ -37,7 +37,7 @@
- # Comma seperated list of libraries (or more exactly, include patterns) this\r
- # module depends on for building.\r
- # They are searched relative to ${lib.dir}\r
--module.depends=xmlc.jar\r
-+module.depends=xmlc.jar,ant.jar\r
- \r
- # Javadoc settings\r
- javadoc.packages=org.enhydra.*\r
-diff -Nur xmlc-src-2.3.1/xmlc/modules/xmlc/build.xml xmlc-src-2.3.1_patched/xmlc/modules/xmlc/build.xml
---- xmlc-src-2.3.1/xmlc/modules/xmlc/build.xml 2007-11-04 01:07:36.000000000 +0200
-+++ xmlc-src-2.3.1_patched/xmlc/modules/xmlc/build.xml 2009-01-31 20:13:12.000000000 +0200
-@@ -148,15 +148,12 @@
- description="Build the module .jar file">\r
- <tstamp/>\r
- <delete file="${module.jar}"/>\r
-- <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpath="${build.lib.dir}/jarjar.jar"/>\r
-- <jarjar jarfile="${module.jar}"><!-- index="true"-->\r
-+ <jar jarfile="${module.jar}"><!-- index="true"-->\r
- <fileset file="${dist.root}/../LICENSE-xmlc"/>\r
- <fileset dir="${build.classes}" />\r
- <fileset dir="${src.dir}"\r
- includes="${module.lib.extra.includes}"\r
- excludes="${module.lib.extra.excludes}" />\r
-- <zipfileset src="${build.lib.dir}/asm.jar"/>\r
-- <rule pattern="org.objectweb.asm.**" result="org.enhydra.xml.xmlc.deferredparsing.asm.@1"/>\r
- <manifest>\r
- <attribute name="Built-By" value="${user.name}"/>\r
- <attribute name="Built-On" value="${TODAY}"/>\r
-@@ -171,18 +168,13 @@
- <attribute name="Implementation-Vendor" value="OW2 Consortium"/>\r
- <attribute name="Implementation-Vendor-Id" value="org.ow2"/>\r
- <attribute name="Implementation-URL" value="http://www.enhydra.org/tech/xmlc/"/>\r
-- </section>\r
-- <section name="org/enhydra/xml/xmlc/deferredparsing/asm/">\r
-- <attribute name="Implementation-Title" value="ASM"/>\r
-- <attribute name="Implementation-Version" value="3.1"/> \r
-- <attribute name="Implementation-Vendor" value="France Telecom R&D"/>\r
-- </section>\r
-+ </section>\r\r
- </manifest>\r
- <!--indexjars>\r
- <fileset dir="${dist.root}/lib" includes="*.jar"/>\r
- <fileset dir="${dist.root}/build-lib" includes="*.jar"/>\r
- </indexjars-->\r
-- </jarjar>\r
-+ </jar>\r
- </target>\r
- \r
- <target name="lib-tests" depends="init,compile-tests" unless="lib-test.skip"\r
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>java</herd>
-<longdescription>
-Enhydra XMLC is the presentation technology that supports the needs of
-designers, developers and architects alike, delivering what JSP cannot - strict
-separation of markup and logic in a true object view of dynamic presentations.
-</longdescription>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-JAVA_PKG_IUSE="doc"
-
-inherit java-pkg-2 java-ant-2
-
-MY_P="${PN}-src-${PV}"
-DESCRIPTION="Open Source Java/XML Presentation Compiler"
-HOMEPAGE="http://xmlc.objectweb.org/"
-SRC_URI="http://download.forge.objectweb.org/${PN}/${MY_P}.zip
- http://download.us.forge.objectweb.org/${PN}/${MY_P}.zip"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-COMMON_DEP="
- dev-java/ant-core:0
- dev-java/asm:3
- dev-java/gnu-regexp:1
- dev-java/log4j:0
- dev-java/nekohtml:0
- dev-java/xerces:2
- dev-java/xml-commons-external:1.4
- dev-java/xml-commons-resolver:0
- java-virtuals/servlet-api:2.5"
-RDEPEND=">=virtual/jre-1.4
- ${COMMON_DEP}"
-DEPEND=">=virtual/jdk-1.4
- app-arch/unzip
- ${COMMON_DEP}"
-
-S="${WORKDIR}/${MY_P}/"
-
-java_prepare() {
- find -name '*.jar' -exec rm -v {} + || die
-
- # get rid of jarjar, and add ant.jar to the taskdef module's classpath
- epatch "${FILESDIR}/${P}-build.xml.patch"
-}
-
-JAVA_ANT_REWRITE_CLASSPATH="yes"
-
-EANT_BUILD_TARGET="all-libs"
-EANT_GENTOO_CLASSPATH="xerces-2,gnu-regexp-1,log4j,nekohtml,asm-3,xml-commons-external-1.4,xml-commons-resolver,servlet-api-2.5,ant-core"
-
-src_install() {
- # the rest of jars are included in all-runtime
- java-pkg_dojar release/lib/{xmlc-all-runtime,xmlc-taskdef}.jar
- java-pkg_register-ant-task
-
- newdoc xmlc/modules/xmlc/README.XMLC README || die
- dodoc xmlc/modules/xmlc/ChangeLog || die
- dohtml release/release-notes/xmlc-${PV//./-}-release-note.html \
- xmlc/bugs/bugs.html || die
-
- # move the generated documentation around
- if use doc; then
- mv ${PN}/modules/taskdef/doc ${PN}/modules/${PN}/doc/taskdef || die
- mv ${PN}/modules/wireless/doc ${PN}/modules/${PN}/doc/wireless || die
- mv ${PN}/modules/xhtml/doc ${PN}/modules/${PN}/doc/xhtml || die
- java-pkg_dohtml -r ${PN}/modules/xmlc/doc/* || die "Failed to install documentation"
- fi
-}