summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/sun-j2ee/sun-j2ee-1.3.1-r2.ebuild')
-rw-r--r--dev-java/sun-j2ee/sun-j2ee-1.3.1-r2.ebuild11
1 files changed, 6 insertions, 5 deletions
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
}