summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-12-19 23:53:03 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-12-19 23:53:03 +0000
commit460324d444755330ed3b69087161166ca5efa208 (patch)
tree94a683f0a947f3db57bb6efad3b9c126612578eb /dev-java/sun-javamail/sun-javamail-1.4.1.ebuild
parentStable on x86 wrt #202087 (diff)
downloadhistorical-460324d444755330ed3b69087161166ca5efa208.tar.gz
historical-460324d444755330ed3b69087161166ca5efa208.tar.bz2
historical-460324d444755330ed3b69087161166ca5efa208.zip
Version bump.
Package-Manager: portage-2.1.4_rc9
Diffstat (limited to 'dev-java/sun-javamail/sun-javamail-1.4.1.ebuild')
-rw-r--r--dev-java/sun-javamail/sun-javamail-1.4.1.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-java/sun-javamail/sun-javamail-1.4.1.ebuild b/dev-java/sun-javamail/sun-javamail-1.4.1.ebuild
new file mode 100644
index 000000000000..35a3b379cd2f
--- /dev/null
+++ b/dev-java/sun-javamail/sun-javamail-1.4.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2007 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.1.ebuild,v 1.1 2007/12/19 23:53:03 betelgeuse Exp $
+
+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"
+# CVS:
+# View: https://glassfish.dev.java.net/source/browse/glassfish/mail/?only_with_tag=JAVAMAIL-1_4
+# How-To: https://glassfish.dev.java.net/servlets/ProjectSource
+
+# Remember to pray that bootstrap HEAD works
+#cvs -d:pserver:guest@cvs.dev.java.net:/cvs export -r <tag> glassfish/mail
+#cvs -d:pserver:guest@cvs.dev.java.net:/cvs export -r HEAD glassfish/bootstrap
+#rm -v glassfish/mail/*.jar
+#tar cvjf ${P}.tar.bz glassfish
+#upload
+
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+
+COMMON_DEP="dev-java/sun-jaf"
+DEPEND=">=virtual/jdk-1.5
+ ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/glassfish/mail"
+
+JAVA_PKG_WANT_SOURCE="1.4"
+JAVA_PKG_WANT_TARGET="1.4"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ java-pkg_jar-from sun-jaf
+}
+
+EANT_DOC_TARGET="docs"
+EANT_EXTRA_ARGS="-Djavaee.jar=activation.jar"
+
+src_install() {
+ java-pkg_dojar build/release/mail.jar
+ use doc && java-pkg_dojavadoc build/release/docs/javadocs
+ use source && java-pkg_dosrc src/java
+}