/[gentoo-x86]/media-gfx/freewrl/freewrl-1.06.ebuild
Gentoo

Contents of /media-gfx/freewrl/freewrl-1.06.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sun Jun 27 15:54:57 2004 UTC (16 years, 3 months ago) by hanno
Branch: MAIN
freewrl ebuild

1 hanno 1.1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5     inherit nsplugins
6    
7     IUSE="opengl doc mozilla"
8    
9     MY_P="FreeWRL-${PV}"
10     DESCRIPTION="VRML2 and X3D compliant browser"
11     SRC_URI="http://193.1.219.87/sourceforge/freewrl/${MY_P}.tar.gz"
12     HOMEPAGE="http://freewrl.sourceforge.net/"
13    
14     LICENSE="GPL-2"
15     SLOT="0"
16     KEYWORDS="~x86"
17     S="${WORKDIR}/${MY_P}"
18    
19     DEPEND="virtual/x11
20     virtual/jdk
21     >=dev-java/saxon-7.5
22     >=dev-lang/perl-5.8.2
23     >=dev-perl/Digest-MD5-2.09
24     >=dev-perl/HTML-Parser-2.25
25     >=dev-perl/MIME-Base64-2.11
26     >=dev-perl/URI-1.04
27     >=dev-perl/libnet-1.0607
28     >=dev-perl/libwww-perl-5.47
29     opengl? ( virtual/opengl virtual/glut )"
30    
31     src_unpack() {
32     unpack ${A}
33     cd ${S}
34     epatch ${FILESDIR}/FreeWRL-1.06+gentoo_pd.diff
35     }
36    
37     src_compile() {
38    
39     perl Makefile.PL
40     make all || die "make failed"
41     }
42    
43     src_install() {
44     dolib JS/js/src/Linux_All_OPT.OBJ/libjs.so
45     dolib blib/arch/auto/VRML/VRMLFunc/libFreeWRLFunc.so
46    
47     make DESTDIR=${D} install || die "make install failed"
48     dobin CFrontEnd/freewrl
49     dobin CFrontEnd/fw2init.pl
50     local dest="/opt/netscape/plugins"
51     dodir $dest
52     cp -a `find Plugin -name npfreewrl.so` ${D}/$dest/
53     cp -a `find java -name vrml.jar` ${D}/$dest/
54     inst_plugin ${D}/$dest/npfreewrl.so
55     inst_plugin ${D}/$dest/vrml.jar
56     dohtml README.html
57     dodoc tests
58    
59     insinto /usr/lib/perl5/5.8.2/VRML/fonts
60     doins fonts/*
61     insinto /usr/lib/perl5/5.8.2/VRML/x3d
62     doins x3d/*
63     }

  ViewVC Help
Powered by ViewVC 1.1.20