/[gentoo-x86]/app-editors/forte/forte-3.0-r2.ebuild
Gentoo

Contents of /app-editors/forte/forte-3.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Nov 2 22:11:34 2002 UTC (15 years, 7 months ago) by karltk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Retiring Forte. It has change name to Sun ONE Studio.

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

  ViewVC Help
Powered by ViewVC 1.1.20