summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-09-18 02:05:48 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-09-18 02:05:48 +0000
commitf5ff2b4d151be7f6afe4414ec7c6615a47e508ff (patch)
tree679ab393e9e1359ed15f74938556cbd1e422dddf /dev-java
parentRevision bumps to support the new Java system. (diff)
downloadgentoo-2-f5ff2b4d151be7f6afe4414ec7c6615a47e508ff.tar.gz
gentoo-2-f5ff2b4d151be7f6afe4414ec7c6615a47e508ff.tar.bz2
gentoo-2-f5ff2b4d151be7f6afe4414ec7c6615a47e508ff.zip
Revision bump to support the new Java system.
(Portage version: 2.1.1)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/gnu-javamail/ChangeLog13
-rw-r--r--dev-java/gnu-javamail/files/digest-gnu-javamail-1.02
-rw-r--r--dev-java/gnu-javamail/files/digest-gnu-javamail-1.0-r13
-rw-r--r--dev-java/gnu-javamail/gnu-javamail-1.0-r1.ebuild52
4 files changed, 68 insertions, 2 deletions
diff --git a/dev-java/gnu-javamail/ChangeLog b/dev-java/gnu-javamail/ChangeLog
index 616102ba04b8..f9d1f7dcea9b 100644
--- a/dev-java/gnu-javamail/ChangeLog
+++ b/dev-java/gnu-javamail/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-java/gnu-javamail
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-javamail/ChangeLog,v 1.14 2005/11/30 01:27:53 nichoj Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-javamail/ChangeLog,v 1.15 2006/09/18 02:05:48 nichoj Exp $
+
+ 18 Sep 2006; Joshua Nichols <nichoj@gentoo.org>
+ +gnu-javamail-1.0-r1.ebuild:
+ Revision bump to support the new Java system.
+
+*gnu-javamail-1.0-r1 (17 Sep 2006)
+
+ 17 Sep 2006; <> gnu-javamail-1.0-r1.ebuild files/digest-gnu-javamail-1.0-r1
+ # INSERT ENTRY HERE
30 Nov 2005; <nichoj@gentoo.org> gnu-javamail-1.0.ebuild:
Added ~amd64 keyword (bug #105607). Disabled jikes support (bug #89711).
diff --git a/dev-java/gnu-javamail/files/digest-gnu-javamail-1.0 b/dev-java/gnu-javamail/files/digest-gnu-javamail-1.0
index 563242194257..6fcc5cac4f19 100644
--- a/dev-java/gnu-javamail/files/digest-gnu-javamail-1.0
+++ b/dev-java/gnu-javamail/files/digest-gnu-javamail-1.0
@@ -1 +1,3 @@
MD5 64742f096c13146ec07734a449194bd7 mail-1.0.tar.gz 707084
+RMD160 cb1353a5c42259fb92858665672d84fe528e2616 mail-1.0.tar.gz 707084
+SHA256 0dcbf6b24ea1f0a47a4aff15060dda19349d8bea7025a6e7d2249969afb7099e mail-1.0.tar.gz 707084
diff --git a/dev-java/gnu-javamail/files/digest-gnu-javamail-1.0-r1 b/dev-java/gnu-javamail/files/digest-gnu-javamail-1.0-r1
new file mode 100644
index 000000000000..6fcc5cac4f19
--- /dev/null
+++ b/dev-java/gnu-javamail/files/digest-gnu-javamail-1.0-r1
@@ -0,0 +1,3 @@
+MD5 64742f096c13146ec07734a449194bd7 mail-1.0.tar.gz 707084
+RMD160 cb1353a5c42259fb92858665672d84fe528e2616 mail-1.0.tar.gz 707084
+SHA256 0dcbf6b24ea1f0a47a4aff15060dda19349d8bea7025a6e7d2249969afb7099e mail-1.0.tar.gz 707084
diff --git a/dev-java/gnu-javamail/gnu-javamail-1.0-r1.ebuild b/dev-java/gnu-javamail/gnu-javamail-1.0-r1.ebuild
new file mode 100644
index 000000000000..b04e03e52c3f
--- /dev/null
+++ b/dev-java/gnu-javamail/gnu-javamail-1.0-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-javamail/gnu-javamail-1.0-r1.ebuild,v 1.1 2006/09/18 02:05:48 nichoj Exp $
+
+inherit java-pkg-2
+
+MY_PN="mail"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="GNU implementation of the Javamail API"
+HOMEPAGE="http://www.gnu.org/software/classpathx/javamail/"
+SRC_URI="mirror://gnu/classpathx/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+RDEPEND=">=virtual/jre-1.3
+ =dev-java/gnu-jaf-1*
+ =dev-java/gnu-classpath-inetlib-1.0*"
+DEPEND=">=virtual/jdk-1.3
+ ${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+# TODO: Re-enable jikes support (see bug #89711)
+
+src_compile() {
+ local activation=$(dirname $(java-pkg_getjar gnu-jaf-1 activation.jar))
+ local inetlib=$(dirname $(java-pkg_getjar gnu-classpath-inetlib-1.0 inetlib.jar))
+
+ econf \
+ --with-activation-jar=${activation} \
+ --with-inetlib-jar=${inetlib} \
+ --enable-smtp \
+ --enable-imap \
+ --enable-pop3 \
+ --enable-nntp \
+ --enable-mbox \
+ --enable-maildir \
+ || die "failed to configure"
+
+ emake || die "failed to compile"
+
+ if use doc; then
+ emake javadoc || die "failed to generate javadoc"
+ fi
+}
+
+src_install() {
+ java-pkg_dojar gnumail.jar gnumail-providers.jar || die "java-pkg_dojar failed"
+ dodoc AUTHORS ChangeLog NEWS README README.*
+ use doc && java-pkg_dohtml -r docs/*
+}