summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2007-10-20 06:56:52 +0000
committerAlistair Bush <ali_bush@gentoo.org>2007-10-20 06:56:52 +0000
commit92d7ea251580c7ee541fd1766680dbb59169eb17 (patch)
tree10309640c92d18999b7050c861bebc69e404e2da
parentAdd revbumps of mx4j and mx4j-tools to my list of packages masked wrt java-vi... (diff)
downloadgentoo-2-92d7ea251580c7ee541fd1766680dbb59169eb17.tar.gz
gentoo-2-92d7ea251580c7ee541fd1766680dbb59169eb17.tar.bz2
gentoo-2-92d7ea251580c7ee541fd1766680dbb59169eb17.zip
Bumping mx4j-tools to use java-virtuals/javamail
(Portage version: 2.1.3.15)
-rw-r--r--dev-java/mx4j-tools/ChangeLog7
-rw-r--r--dev-java/mx4j-tools/files/digest-mx4j-tools-3.0.1-r13
-rw-r--r--dev-java/mx4j-tools/mx4j-tools-3.0.1-r1.ebuild95
3 files changed, 104 insertions, 1 deletions
diff --git a/dev-java/mx4j-tools/ChangeLog b/dev-java/mx4j-tools/ChangeLog
index 49e1406d37d0..3b6c2868ab9c 100644
--- a/dev-java/mx4j-tools/ChangeLog
+++ b/dev-java/mx4j-tools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/mx4j-tools
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/mx4j-tools/ChangeLog,v 1.4 2007/02/03 22:47:23 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mx4j-tools/ChangeLog,v 1.5 2007/10/20 06:56:52 ali_bush Exp $
+
+*mx4j-tools-3.0.1-r1 (20 Oct 2007)
+
+ 20 Oct 2007; <alistair@gentoo.org> +mx4j-tools-3.0.1-r1.ebuild:
+ Bumping mx4j-tools to use java-virtuals/javamail.
03 Feb 2007; Steve Dibb <beandog@gentoo.org> mx4j-tools-3.0.1.ebuild:
amd64 stable, bug 160985
diff --git a/dev-java/mx4j-tools/files/digest-mx4j-tools-3.0.1-r1 b/dev-java/mx4j-tools/files/digest-mx4j-tools-3.0.1-r1
new file mode 100644
index 000000000000..29dc77e8622f
--- /dev/null
+++ b/dev-java/mx4j-tools/files/digest-mx4j-tools-3.0.1-r1
@@ -0,0 +1,3 @@
+MD5 eb5c08c4281aeb94c08ead7091b23dde mx4j-3.0.1-src.tar.gz 622504
+RMD160 fbbc976aebbe7af024992f15be7feb364d6d2b15 mx4j-3.0.1-src.tar.gz 622504
+SHA256 f6cef53b68b06d97041f77b69e091eb76f08d1bd0d92f48c9bea958e8cb5dcba mx4j-3.0.1-src.tar.gz 622504
diff --git a/dev-java/mx4j-tools/mx4j-tools-3.0.1-r1.ebuild b/dev-java/mx4j-tools/mx4j-tools-3.0.1-r1.ebuild
new file mode 100644
index 000000000000..c9517b634c92
--- /dev/null
+++ b/dev-java/mx4j-tools/mx4j-tools-3.0.1-r1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mx4j-tools/mx4j-tools-3.0.1-r1.ebuild,v 1.1 2007/10/20 06:56:52 ali_bush Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+MY_P=${P/-tools/}
+MY_PN=${PN/-tools/}
+
+DESCRIPTION="Optional tool classes and utilities for MX4J"
+HOMEPAGE="http://mx4j.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}-src.tar.gz"
+
+# The ${S}/BUILD-HOWTO is a good source for dependencies
+# This package could also be built with jdk-1.3; see special
+# handling instructions in ${S}/BUILD-HOWTO.
+
+# javamail and jython support is optional but because ant-core puts it in the classpath
+# if it is installed we can't force disable it without modifying the build.xml
+# and jikes refuses to compile mx4j with javamail support disabled
+
+# Optional jetty support can be enabled after jetty uses java-pkg_dojar to install jars
+
+RDEPEND="
+ dev-java/bcel
+ dev-java/commons-logging
+ dev-java/log4j
+ =www-servers/axis-1*
+ =dev-java/burlap-3.0*
+ =dev-java/hessian-3.0.8*
+ dev-java/jython
+ ~dev-java/servletapi-2.3
+ =dev-java/gnu-jaf-1*
+ java-virtuals/javamail"
+# >=www-servers/jetty-4.2
+DEPEND="${RDEPEND}
+ >=virtual/jdk-1.4
+ >=dev-java/ant-core-1.6"
+RDEPEND="${RDEPEND}
+ >=virtual/jre-1.4"
+
+LICENSE="mx4j"
+SLOT="3.0"
+KEYWORDS="~amd64"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-split-javadoc-build.patch"
+
+ cd "${S}/lib"
+ java-pkg_jar-from bcel bcel.jar
+ java-pkg_jar-from commons-logging commons-logging.jar
+ java-pkg_jar-from log4j
+ java-pkg_jar-from axis-1
+ java-pkg_jar-from servletapi-2.3 servlet.jar
+
+ # optionals
+# java-pkg_jar-from jetty org.mortbay.jetty.jar
+ java-pkg_jar-from burlap-3.0
+ java-pkg_jar-from hessian-3.0.8
+ java-pkg_jar-from jython jython.jar
+ java-pkg_jar-from gnu-jaf-1 activation.jar
+ java-pkg_jar-from --virtual javamail mail.jar
+}
+
+src_compile() {
+ eant -f build/build.xml compile.tools $(use_doc javadocs.tools)
+}
+
+src_install() {
+ java-pkg_dojar dist/lib/mx4j-tools.jar
+ java-pkg_dowar dist/lib/mx4j-soap.war
+
+ dodoc README.txt
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc "${S}/src/tools/*"
+}
+
+pkg_postinst() {
+ elog
+ elog "This package is currently built without Jetty support. Jetty support will be"
+ elog "added when Jetty is brought up-to-date in Portage with the new Java system."
+ elog "To track Jetty progress, see the following:"
+ elog
+ elog " http://bugs.gentoo.org/show_bug.cgi?id=94452"
+ elog " http://bugs.gentoo.org/show_bug.cgi?id=147469"
+ elog
+}