/[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.11 - (hide annotations) (download)
Sun Aug 27 22:37:24 2006 UTC (13 years, 11 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
clean out old, non-modX ebuild
(Portage version: 2.1.1_rc1)
 (Unsigned Manifest commit)

1 mcummings 1.10 # Copyright 1999-2006 Gentoo Foundation
2 hanno 1.1 # Distributed under the terms of the GNU General Public License v2
3 mr_bones_ 1.11 # $Header: /var/cvsroot/gentoo-x86/media-gfx/freewrl/freewrl-1.06.ebuild,v 1.10 2006/02/13 14:49:12 mcummings Exp $
4 hanno 1.1
5 agriffis 1.3 inherit nsplugins eutils
6 hanno 1.1
7 agriffis 1.3 IUSE="opengl"
8 hanno 1.1
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 hanno 1.8 >=dev-java/saxon-7.5
22 hanno 1.1 >=dev-lang/perl-5.8.2
23 mcummings 1.10 >=virtual/perl-Digest-MD5-2.09
24 hanno 1.1 >=dev-perl/HTML-Parser-2.25
25 mcummings 1.10 >=virtual/perl-MIME-Base64-2.11
26 hanno 1.1 >=dev-perl/URI-1.04
27 mcummings 1.10 >=virtual/perl-libnet-1.0607
28 hanno 1.1 >=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 flameeyes 1.7 cp -pPR `find Plugin -name npfreewrl.so` ${D}/$dest/
53     cp -pPR `find java -name vrml.jar` ${D}/$dest/
54 hanno 1.1 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