summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2004-06-12 18:43:57 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2004-06-12 18:43:57 +0000
commit5451c29a4b26160c306ae6707602209074d82e1e (patch)
tree58b90cb056351f998bccd3d680d7ad02f1579622 /dev-java/sun-j2ee
parentStable on alpha. (diff)
downloadhistorical-5451c29a4b26160c306ae6707602209074d82e1e.tar.gz
historical-5451c29a4b26160c306ae6707602209074d82e1e.tar.bz2
historical-5451c29a4b26160c306ae6707602209074d82e1e.zip
Fixes #47098.
Diffstat (limited to 'dev-java/sun-j2ee')
-rw-r--r--dev-java/sun-j2ee/ChangeLog8
-rw-r--r--dev-java/sun-j2ee/Manifest6
-rw-r--r--dev-java/sun-j2ee/files/digest-sun-j2ee-1.3.1-r20
-rw-r--r--dev-java/sun-j2ee/sun-j2ee-1.3.1-r2.ebuild48
4 files changed, 59 insertions, 3 deletions
diff --git a/dev-java/sun-j2ee/ChangeLog b/dev-java/sun-j2ee/ChangeLog
index 38fc1cb5fa2f..b763b493f38d 100644
--- a/dev-java/sun-j2ee/ChangeLog
+++ b/dev-java/sun-j2ee/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/sun-j2ee
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2ee/ChangeLog,v 1.11 2004/06/03 03:22:41 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2ee/ChangeLog,v 1.12 2004/06/12 18:43:57 karltk Exp $
+
+*sun-j2ee-1.3.1-r2 (12 Jun 2004)
+
+ 12 Jun 2004; Karl Trygve Kalleberg <karltk@gentoo.org>
+ sun-j2ee-1.3.1-r2.ebuild: Added xsl to the directories to install. Fixes
+ #47098. Solution by Todd de Gruyl <todd@tdegruyl.com>.
02 Jun 2004; Aron Griffis <agriffis@gentoo.org> sun-j2ee-1.3.1-r1.ebuild:
Fix use invocation
diff --git a/dev-java/sun-j2ee/Manifest b/dev-java/sun-j2ee/Manifest
index 216b5821398f..0d5a43faeee2 100644
--- a/dev-java/sun-j2ee/Manifest
+++ b/dev-java/sun-j2ee/Manifest
@@ -1,4 +1,6 @@
-MD5 02041ecbdb04bda7e5c108f6a0c7fd95 sun-j2ee-1.3.1-r1.ebuild 1345
-MD5 71d0f3889415cd7b44da5e1d8e470111 ChangeLog 1809
+MD5 b884d33a81b7bfce7a93736ace39e490 ChangeLog 2031
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 0be795243718f3d39480b9a169549268 sun-j2ee-1.3.1-r2.ebuild 1347
+MD5 02041ecbdb04bda7e5c108f6a0c7fd95 sun-j2ee-1.3.1-r1.ebuild 1345
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-sun-j2ee-1.3.1-r1 0
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-sun-j2ee-1.3.1-r2 0
diff --git a/dev-java/sun-j2ee/files/digest-sun-j2ee-1.3.1-r2 b/dev-java/sun-j2ee/files/digest-sun-j2ee-1.3.1-r2
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/dev-java/sun-j2ee/files/digest-sun-j2ee-1.3.1-r2
diff --git a/dev-java/sun-j2ee/sun-j2ee-1.3.1-r2.ebuild b/dev-java/sun-j2ee/sun-j2ee-1.3.1-r2.ebuild
new file mode 100644
index 000000000000..43cbdc00f595
--- /dev/null
+++ b/dev-java/sun-j2ee/sun-j2ee-1.3.1-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2ee/sun-j2ee-1.3.1-r2.ebuild,v 1.1 2004/06/12 18:43:57 karltk Exp $
+
+DESCRIPTION="Sun's Java 2 Enterprise Edition Development Kit"
+SRC_URI="j2sdkee-1_3_1-linux.tar.gz"
+HOMEPAGE="http://java.sun.com/j2ee/download.html#sdk"
+DEPEND="virtual/glibc
+ >=lib-compat-1.1"
+RDEPEND=">=virtual/jre-1.3.1"
+PROVIDE="virtual/j2ee-1.3.1"
+LICENSE="sun-bcla-j2ee"
+RESTRICT="fetch"
+SLOT="0"
+KEYWORDS="x86 -ppc"
+IUSE="doc"
+
+S=${WORKDIR}/j2sdkee1.3.1
+
+pkg_nofetch() {
+ die "Please download ${SRC_URI} from ${HOMEPAGE} to ${DISTDIR}"
+}
+
+src_install () {
+ local dirs="bin lib conf config cloudscape lib images nativelib repository public_html logs help images xsl"
+
+ dodir /opt/${P}
+ for i in $dirs ; do
+ cp -a $i ${D}/opt/${P}/
+ done
+
+ # Setup env vars
+ addwrite /etc/env.d/29${P}
+ j2eeenv=/etc/env.d/29${P}
+ echo "CLASSPATH=/opt/${P}/lib/j2ee.jar" > $j2eeenv
+ echo "PATH=/opt/${P}/bin" >> $j2eeenv
+ echo "J2EE_HOME=/opt/${P}" >> $j2eeenv
+ dodoc LICENSE README
+
+ if use doc ; then
+ dohtml -r doc/*
+ fi
+}
+
+pkg_postinst() {
+ einfo "Remember to set JAVA_HOME before running /opt/${P}/bin/j2ee"
+ einfo "A set of sample configuration files (that work) can be found in /opt/${P}/conf and /opt/${P}/config"
+}