blob: dc70a8e1168aaf4b0d7aeb5f4f685d932684c696 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/forte/forte-3.0-r1.ebuild,v 1.6 2002/10/17 13:17:10 vapier Exp $
S=${WORKDIR}/usr/local
DESCRIPTION="Forte/Sun ONE Studio Developer"
SRC_URI="ffj-ce-30_ml.noarch.rpm"
HOMEPAGE="http://forte.sun.com/ffj/index.html"
DEPEND=">=app-arch/rpm-3.0.6"
RDEPEND="virtual/x11
>=virtual/jdk-1.3"
RESTRICT="fetch"
SLOT="0"
LICENSE="forte"
KEYWORDS="x86 -ppc"
dyn_fetch() {
for y in ${A}
do
digest_check ${y}
if [ $? -ne 0 ]; then
einfo "Please download this yourself http://forte.sun.com/ffj/index.html"
einfo "and place it in ${DISTDIR}"
exit 1
fi
done
}
src_unpack() {
# You must download ffj-ce-30_ml.noarch.rpm
# from real.com and put it in ${DISTDIR}
rpm2cpio ${DISTDIR}/${A} | cpio -i --make-directories
}
src_install () {
cp bin/runide bin/runide.orig
sed -e "s:/usr/local/forte4j:/opt/forte4j:g" \
bin/runide.orig >bin/runide
rm -f bin/runide.orig
dobin bin/runide
dodir /opt/forte4j
cp -Rdp ${S}/forte4j/* ${D}/opt/forte4j
dodir /etc/env.d
insinto /etc/env.d
doins ${FILESDIR}/21forte
}
|