summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2010-05-24 15:04:53 +0000
committerVlastimil Babka <caster@gentoo.org>2010-05-24 15:04:53 +0000
commitb40a45d6c5f204a659fc4a53142c92c91c6e0cde (patch)
tree1b6517d9e2d9e03e655a27337ac3dcce74a17ad2 /dev-java/xmlc/xmlc-2.3.ebuild
parentRemove old. (diff)
downloadgentoo-2-b40a45d6c5f204a659fc4a53142c92c91c6e0cde.tar.gz
gentoo-2-b40a45d6c5f204a659fc4a53142c92c91c6e0cde.tar.bz2
gentoo-2-b40a45d6c5f204a659fc4a53142c92c91c6e0cde.zip
Remove old.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/xmlc/xmlc-2.3.ebuild')
-rw-r--r--dev-java/xmlc/xmlc-2.3.ebuild70
1 files changed, 0 insertions, 70 deletions
diff --git a/dev-java/xmlc/xmlc-2.3.ebuild b/dev-java/xmlc/xmlc-2.3.ebuild
deleted file mode 100644
index fc670b6728d3..000000000000
--- a/dev-java/xmlc/xmlc-2.3.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlc/xmlc-2.3.ebuild,v 1.5 2008/07/27 07:37:00 nixnut Exp $
-
-EAPI="1"
-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"
-
-COMMON_DEP="dev-java/xerces:2
- dev-java/gnu-regexp:1
- java-virtuals/servlet-api:2.3
- dev-java/log4j:0
- dev-java/xml-commons-resolver:0
- dev-java/nekohtml:0
- dev-java/asm:3"
-RDEPEND=">=virtual/jre-1.4
- ${COMMON_DEP}"
-DEPEND=">=virtual/jdk-1.4
- app-arch/unzip
- ${COMMON_DEP}"
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-S="${WORKDIR}/${MY_P}/"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # get rid of jarjar, and add ant.jar to the taskdef module's classpath
- epatch "${FILESDIR}/${P}-build.xml.patch"
-
- cd "${S}"/release/build-lib/ || die
- rm -v *.jar || die
-
- java-pkg_jar-from xerces-2,gnu-regexp-1,log4j,nekohtml,asm-3
- java-pkg_jar-from xml-commons-resolver xml-commons-resolver.jar resolver.jar
- java-pkg_jar-from --virtual servlet-api-2.3 servlet.jar
- java-pkg_jar-from --build-only ant-core ant.jar
-}
-
-EANT_BUILD_TARGET="all-libs"
-
-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
-}