summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2004-06-27 15:54:57 +0000
committerHanno Böck <hanno@gentoo.org>2004-06-27 15:54:57 +0000
commite1aebbde3127f51384582875199ce6d23bd77574 (patch)
tree62ad427c38f6c16bed7d3f69d8c8d73162ca3355 /media-gfx
parentwrong Changelog (diff)
downloadgentoo-2-e1aebbde3127f51384582875199ce6d23bd77574.tar.gz
gentoo-2-e1aebbde3127f51384582875199ce6d23bd77574.tar.bz2
gentoo-2-e1aebbde3127f51384582875199ce6d23bd77574.zip
freewrl ebuild
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/freewrl/ChangeLog10
-rw-r--r--media-gfx/freewrl/files/FreeWRL-1.06+gentoo_pd.diff110
-rw-r--r--media-gfx/freewrl/files/digest-freewrl-1.061
-rw-r--r--media-gfx/freewrl/freewrl-1.06.ebuild63
-rw-r--r--media-gfx/freewrl/metadata.xml6
5 files changed, 190 insertions, 0 deletions
diff --git a/media-gfx/freewrl/ChangeLog b/media-gfx/freewrl/ChangeLog
new file mode 100644
index 000000000000..b295ad2a5815
--- /dev/null
+++ b/media-gfx/freewrl/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-gfx/freewrl
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/freewrl/ChangeLog,v 1.1 2004/06/27 15:54:57 hanno Exp $
+
+*freewrl-1.06 (27 Jun 2004)
+
+ 27 Jun 2004; Hanno Boeck <hanno@gentoo.org>
+ +files/FreeWRL-1.06+gentoo_pd.diff, +freewrl-1.06.ebuild:
+ User submitted ebuild from Denis Pitzalis in bug #22358.
+
diff --git a/media-gfx/freewrl/files/FreeWRL-1.06+gentoo_pd.diff b/media-gfx/freewrl/files/FreeWRL-1.06+gentoo_pd.diff
new file mode 100644
index 000000000000..3b03b485aa7c
--- /dev/null
+++ b/media-gfx/freewrl/files/FreeWRL-1.06+gentoo_pd.diff
@@ -0,0 +1,110 @@
+--- vrml.conf.safe 2004-04-15 15:54:29.000000000 +0200
++++ vrml.conf 2004-04-15 15:57:22.000000000 +0200
+@@ -47,7 +47,7 @@
+
+ # location of the gcc bounds checking library libcheck.a
+
+- LIBCHECK_INST => '/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.2',
++ LIBCHECK_INST => '',
+
+ ############################################################################
+ # Main defines for OpenGL, libjpeg, libpng, and freetype
+@@ -71,7 +71,7 @@
+
+ ############################################################################
+ # Saxon location - required for x3d running.
+- SAXON_LOC => '/usr/local/src/saxon/saxon.jar',
++ SAXON_LOC => '/usr/share/saxon/lib/saxon7.jar',
+
+ ############################################################################
+ # Netscape/Mozilla installation
+@@ -84,22 +84,22 @@
+ # NETSCAPE_PLUGINS is used to determine where the plugin will
+ # be installed if this is your browser.
+
+- NETSCAPE_INST => '/usr/lib/mozilla-1.3/plugins',
+- NETSCAPE_CLASSES => '/usr/lib/mozilla-1.3/plugins',
+- NETSCAPE_PLUGINS => '/usr/lib/mozilla-1.3/plugins',
++ NETSCAPE_INST => '/opt/netscape/plugins',
++ NETSCAPE_CLASSES => '/opt/netscape/plugins',
++ NETSCAPE_PLUGINS => '/opt/netscape/plugins',
+
+ ############################################################################
+ # Java installation (Sun's Java 2 SDK Standard Edition 1.4.0)
+ # If Java is not installed, leave JAVA_INST empty e.g.
+ # JAVA_INST => ''
+
+- JAVA_INST => '/usr/java/j2sdk1.4.0',
+- JAVA_INC => '-I/usr/java/j2sdk1.4.0/include -I/usr/java/j2sdk1.4.0/include/linux',
++ JAVA_INST => '/opt/java/',
++ JAVA_INC => '-I/opt/java/include -I/opt/java/include/linux',
+
+ ############################################################################
+ # LDFLAGS. Set linker flags here.
+
+- LDFLAGS => '-shared -L/usr/local/lib',
++ LDFLAGS => '-shared -L/usr/lib',
+
+ ############################################################################
+ # SoundEngine - do we want to build the sound engine?
+--- Makefile.PL.safe 2004-04-15 15:54:43.000000000 +0200
++++ Makefile.PL 2004-04-22 20:45:20.700960656 +0200
+@@ -316,8 +316,8 @@
+ push(@postamble, join(
+ "\n",
+ qq{\# --- Mozilla/Netscape Plugin:\n},
+- qq{install ::},
+- qq{\t\@cd Plugin && \$(MAKE) install\n}
++# qq{install ::},
++# qq{\t\@cd Plugin && \$(MAKE) install\n}
+ ));
+ }
+
+@@ -325,8 +325,8 @@
+ push(@postamble, join(
+ "\n",
+ qq{\# --- Java Archive\n},
+- qq{install ::},
+- qq{\t\@cd java && \$(MAKE) install\n}
++# qq{install ::},
++# qq{\t\@cd java && \$(MAKE) install\n}
+ ));
+ }
+
+@@ -335,10 +335,10 @@
+ "\n",
+ qq{\# copy fonts, x3d, libjs.so over\n},
+ qq{install ::},
+- qq{\tcp -r fonts $VRMLINSTDIR\n},
+- qq{\tcp -r x3d $VRMLINSTDIR\n},
+- qq{\tcp JS/$jsobjdir/libjs.so $LIB_DIR\n},
+- qq{\tcp blib/arch/auto/VRML/VRMLFunc/VRMLFunc.so $LIB_DIR/libFreeWRLFunc.so\n},
++# qq{\tcp -r fonts $VRMLINSTDIR\n},
++# qq{\tcp -r x3d $VRMLINSTDIR\n},
++# qq{\tcp JS/$jsobjdir/libjs.so $LIB_DIR\n},
++# qq{\tcp blib/arch/auto/VRML/VRMLFunc/VRMLFunc.so $LIB_DIR/libFreeWRLFunc.so\n},
+ ));
+ if ($VRML_CONFIG{PLATFORM} =~ /LINUX/i) {
+ push(@postamble, join(
+@@ -357,8 +357,8 @@
+ qq{all ::},
+ qq{\tcp blib/arch/auto/VRML/VRMLFunc/VRMLFunc.so blib/arch/auto/VRML/VRMLFunc/libFreeWRLFunc.so\n},
+ qq{\tcd \$(FRONTEND) && \$(MAKE) all $def2 $def1 \n},
+- qq{install ::},
+- qq{\tcd \$(FRONTEND) && \$(MAKE) install $def1 $def2\n},
++# qq{install ::},
++# qq{\tcd \$(FRONTEND) && \$(MAKE) install $def1 $def2\n},
+ qq{clean ::},
+ qq{\tcd \$(FRONTEND) && \$(MAKE) clean $def1 $def2\n},
+ qq{realclean ::},
+@@ -372,8 +372,8 @@
+ qq{\n\# --- Sound Engine:},
+ qq{all ::},
+ qq{\tcd \$(SOUNDENGINE) && \$(MAKE) all $def1 \n},
+- qq{install ::},
+- qq{\tcd \$(SOUNDENGINE) && \$(MAKE) install $def1 \n},
++# qq{install ::},
++# qq{\tcd \$(SOUNDENGINE) && \$(MAKE) install $def1 \n},
+ qq{clean ::},
+ qq{\tcd \$(SOUNDENGINE) && \$(MAKE) clean $def1 \n},
+ qq{realclean ::},
diff --git a/media-gfx/freewrl/files/digest-freewrl-1.06 b/media-gfx/freewrl/files/digest-freewrl-1.06
new file mode 100644
index 000000000000..6bd66c3a2609
--- /dev/null
+++ b/media-gfx/freewrl/files/digest-freewrl-1.06
@@ -0,0 +1 @@
+MD5 f55b552911ea35b0d721f7907ee5a19a FreeWRL-1.06.tar.gz 4143124
diff --git a/media-gfx/freewrl/freewrl-1.06.ebuild b/media-gfx/freewrl/freewrl-1.06.ebuild
new file mode 100644
index 000000000000..f39329f8b310
--- /dev/null
+++ b/media-gfx/freewrl/freewrl-1.06.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/freewrl/freewrl-1.06.ebuild,v 1.1 2004/06/27 15:54:57 hanno Exp $
+
+inherit nsplugins
+
+IUSE="opengl doc mozilla"
+
+MY_P="FreeWRL-${PV}"
+DESCRIPTION="VRML2 and X3D compliant browser"
+SRC_URI="http://193.1.219.87/sourceforge/freewrl/${MY_P}.tar.gz"
+HOMEPAGE="http://freewrl.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+S="${WORKDIR}/${MY_P}"
+
+DEPEND="virtual/x11
+ virtual/jdk
+ >=dev-java/saxon-7.5
+ >=dev-lang/perl-5.8.2
+ >=dev-perl/Digest-MD5-2.09
+ >=dev-perl/HTML-Parser-2.25
+ >=dev-perl/MIME-Base64-2.11
+ >=dev-perl/URI-1.04
+ >=dev-perl/libnet-1.0607
+ >=dev-perl/libwww-perl-5.47
+ opengl? ( virtual/opengl virtual/glut )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/FreeWRL-1.06+gentoo_pd.diff
+}
+
+src_compile() {
+
+ perl Makefile.PL
+ make all || die "make failed"
+}
+
+src_install() {
+ dolib JS/js/src/Linux_All_OPT.OBJ/libjs.so
+ dolib blib/arch/auto/VRML/VRMLFunc/libFreeWRLFunc.so
+
+ make DESTDIR=${D} install || die "make install failed"
+ dobin CFrontEnd/freewrl
+ dobin CFrontEnd/fw2init.pl
+ local dest="/opt/netscape/plugins"
+ dodir $dest
+ cp -a `find Plugin -name npfreewrl.so` ${D}/$dest/
+ cp -a `find java -name vrml.jar` ${D}/$dest/
+ inst_plugin ${D}/$dest/npfreewrl.so
+ inst_plugin ${D}/$dest/vrml.jar
+ dohtml README.html
+ dodoc tests
+
+ insinto /usr/lib/perl5/5.8.2/VRML/fonts
+ doins fonts/*
+ insinto /usr/lib/perl5/5.8.2/VRML/x3d
+ doins x3d/*
+}
diff --git a/media-gfx/freewrl/metadata.xml b/media-gfx/freewrl/metadata.xml
new file mode 100644
index 000000000000..efa54454de71
--- /dev/null
+++ b/media-gfx/freewrl/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>hanno@gentoo.org</email></maintainer>
+</pkgmetadata>