summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-10-16 17:37:24 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-10-16 17:37:24 +0000
commit464ebcd222edeecb78e5f6dbe9b2b63c3e2d6cb5 (patch)
tree04410074d25df35c20a68c03ebbdafdcedef53a5 /dev-java/sun-j2ee
parentuse java-pkg_dohtml instead of dohtml to also install the package-list in cas... (diff)
downloadgentoo-2-464ebcd222edeecb78e5f6dbe9b2b63c3e2d6cb5.tar.gz
gentoo-2-464ebcd222edeecb78e5f6dbe9b2b63c3e2d6cb5.tar.bz2
gentoo-2-464ebcd222edeecb78e5f6dbe9b2b63c3e2d6cb5.zip
use java-pkg_dohtml instead of dohtml to also install the package-list in case of api docs: #50740
Diffstat (limited to 'dev-java/sun-j2ee')
-rw-r--r--dev-java/sun-j2ee/ChangeLog6
-rw-r--r--dev-java/sun-j2ee/sun-j2ee-1.3.1-r2.ebuild11
2 files changed, 11 insertions, 6 deletions
diff --git a/dev-java/sun-j2ee/ChangeLog b/dev-java/sun-j2ee/ChangeLog
index 603e87235b1f..b1cd4d1876d9 100644
--- a/dev-java/sun-j2ee/ChangeLog
+++ b/dev-java/sun-j2ee/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/sun-j2ee
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2ee/ChangeLog,v 1.15 2004/07/02 04:23:12 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2ee/ChangeLog,v 1.16 2004/10/16 17:37:24 axxo Exp $
+
+ 16 Oct 2004; Thomas Matthijs <axxo@gentoo.org> sun-j2ee-1.3.1-r2.ebuild:
+ use java-pkg_dohtml instead of dohtml to also install the package-list in
+ case of api docs: #50740
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
sun-j2ee-1.3.1-r2.ebuild:
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
index 38992d5cffd8..7c32889f4e0b 100644
--- a/dev-java/sun-j2ee/sun-j2ee-1.3.1-r2.ebuild
+++ b/dev-java/sun-j2ee/sun-j2ee-1.3.1-r2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# 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.3 2004/07/02 04:23:12 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2ee/sun-j2ee-1.3.1-r2.ebuild,v 1.4 2004/10/16 17:37:24 axxo Exp $
+
+inherit java-pkg
DESCRIPTION="Sun's Java 2 Enterprise Edition Development Kit"
SRC_URI="j2sdkee-1_3_1-linux.tar.gz"
@@ -29,16 +31,15 @@ src_install () {
cp -a $i ${D}/opt/${P}/
done
- # Setup env vars
- addwrite /etc/env.d/29${P}
- j2eeenv=/etc/env.d/29${P}
+ dodir /etc/env.d/
+ local j2eeenv=${D}/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/*
+ java-pkg_dohtml -r doc/*
fi
}