diff options
author | Serkan Kaba <serkan@gentoo.org> | 2010-03-13 14:29:53 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2010-03-13 14:29:53 +0000 |
commit | ede933d5886ab1604c025c06c741374aa634a628 (patch) | |
tree | 2750a3d672fb3fd05171ce73ebeb14acd9943b0d /dev-java/sun-javamail | |
parent | Cleanup (diff) | |
download | gentoo-2-ede933d5886ab1604c025c06c741374aa634a628.tar.gz gentoo-2-ede933d5886ab1604c025c06c741374aa634a628.tar.bz2 gentoo-2-ede933d5886ab1604c025c06c741374aa634a628.zip |
Version bump.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/sun-javamail')
-rw-r--r-- | dev-java/sun-javamail/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/sun-javamail/sun-javamail-1.4.3.ebuild | 58 |
2 files changed, 64 insertions, 1 deletions
diff --git a/dev-java/sun-javamail/ChangeLog b/dev-java/sun-javamail/ChangeLog index a89b8dc93e89..7406efbacceb 100644 --- a/dev-java/sun-javamail/ChangeLog +++ b/dev-java/sun-javamail/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/sun-javamail # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-javamail/ChangeLog,v 1.19 2010/01/03 21:38:03 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-javamail/ChangeLog,v 1.20 2010/03/13 14:29:53 serkan Exp $ + +*sun-javamail-1.4.3 (13 Mar 2010) + + 13 Mar 2010; Serkan Kaba <serkan@gentoo.org> +sun-javamail-1.4.3.ebuild: + Version bump. 03 Jan 2010; Christian Faulhammer <fauli@gentoo.org> sun-javamail-1.4.2.ebuild: diff --git a/dev-java/sun-javamail/sun-javamail-1.4.3.ebuild b/dev-java/sun-javamail/sun-javamail-1.4.3.ebuild new file mode 100644 index 000000000000..8958406ad24c --- /dev/null +++ b/dev-java/sun-javamail/sun-javamail-1.4.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-javamail/sun-javamail-1.4.3.ebuild,v 1.1 2010/03/13 14:29:53 serkan Exp $ + +EAPI=2 +JAVA_PKG_IUSE="doc source" +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A Java-based framework to build multiplatform mail and messaging applications." +HOMEPAGE="http://java.sun.com/products/javamail/index.html" + +# error 500 without the double slash, wonder what HTTP standard says about this +SRC_URI="http://kenai.com/projects/javamail/downloads/download//javamail-${PV}-src.zip" + +# either of these +LICENSE="CDDL GPL-2 BSD" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +COMMON_DEP="java-virtuals/jaf" +DEPEND=">=virtual/jdk-1.5 + ${COMMON_DEP}" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" + +S="${WORKDIR}" + +# some not essential classes need 1.5 to compile +# but 1.4 bytecode for better support +JAVA_PKG_WANT_SOURCE="1.4" +JAVA_PKG_WANT_TARGET="1.4" + +src_unpack() { + default + + # build.xml expects it here + mkdir -p legal/src/main/resources/META-INF || die + cp mail/src/main/resources/META-INF/LICENSE.txt \ + legal/src/main/resources/META-INF || die +} + +java_prepare() { + java-pkg_jar-from --virtual jaf +} + +EANT_DOC_TARGET="docs" +EANT_EXTRA_ARGS="-Djavaee.jar=activation.jar -Dspec.dir=doc/spec" + +src_install() { + java-pkg_dojar target/release/mail.jar + + dodoc doc/release/{CHANGES,COMPAT,NOTES,README,SSLNOTES,distributionREADME}.txt || die + dohtml -r doc/release/{*.html,images} || die + + use doc && java-pkg_dojavadoc target/release/docs/javadocs + use source && java-pkg_dosrc mail/src/main/java +} |