summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD.M.D. Ljungmark <spider@gentoo.org>2002-04-01 13:18:23 +0000
committerD.M.D. Ljungmark <spider@gentoo.org>2002-04-01 13:18:23 +0000
commit56210f7cc5a52e89fd16f971199d54fe8d1d9b89 (patch)
tree51a0433d502d846db0a277b7f6367cb3c0c355c1 /media-gfx/povray
parentfiles/portage-1.8.9.4.tar.bz2 (diff)
downloadgentoo-2-56210f7cc5a52e89fd16f971199d54fe8d1d9b89.tar.gz
gentoo-2-56210f7cc5a52e89fd16f971199d54fe8d1d9b89.tar.bz2
gentoo-2-56210f7cc5a52e89fd16f971199d54fe8d1d9b89.zip
fix for povray ini path
Diffstat (limited to 'media-gfx/povray')
-rw-r--r--media-gfx/povray/ChangeLog6
-rw-r--r--media-gfx/povray/files/digest-povray-3.1g-r22
-rw-r--r--media-gfx/povray/povray-3.1g-r2.ebuild48
3 files changed, 55 insertions, 1 deletions
diff --git a/media-gfx/povray/ChangeLog b/media-gfx/povray/ChangeLog
index d776cc87eece..c5807b600286 100644
--- a/media-gfx/povray/ChangeLog
+++ b/media-gfx/povray/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for <CATEGORY>/<PACKAGE_NAME>
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/ChangeLog,v 1.1 2002/03/31 20:53:16 spider Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/ChangeLog,v 1.2 2002/04/01 13:18:23 spider Exp $
+
+*povray-3.1g-r2 (01 Apr 2002)
+ 01 Apr 2002; Spider <spider@gentoo.org>
+ apply sed-fix from tod to get the default povray.ini to point right
*povray-3.1g-r1 (31 Mar 2002)
31 Mar 2002; Spider <spider@gentoo.org>
diff --git a/media-gfx/povray/files/digest-povray-3.1g-r2 b/media-gfx/povray/files/digest-povray-3.1g-r2
new file mode 100644
index 000000000000..e082844cf5ca
--- /dev/null
+++ b/media-gfx/povray/files/digest-povray-3.1g-r2
@@ -0,0 +1,2 @@
+MD5 dff3b8f3bc2a6dd131a9d008d0f46295 povuni_d.tgz 913748
+MD5 6da91fb1d3d48cd44f46b831760d233f povuni_s.tgz 946513
diff --git a/media-gfx/povray/povray-3.1g-r2.ebuild b/media-gfx/povray/povray-3.1g-r2.ebuild
new file mode 100644
index 000000000000..d8f4d4b9d834
--- /dev/null
+++ b/media-gfx/povray/povray-3.1g-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author: Achim Gottinger <achim@gentoo.org>
+# /space/gentoo/cvsroot/gentoo-x86/media-gfx/eog/eog-0.6-r2.ebuild,v 1.1 2002/02/19 21:20:08 azarah Exp
+
+S=${WORKDIR}/povray31
+DESCRIPTION="POV Ray- The Persistance of Vision Ray Tracer"
+SRC_URI="ftp://ftp.povray.org/pub/povray/Official/Unix/povuni_s.tgz
+ ftp://ftp.povray.org/pub/povray/Official/Unix/povuni_d.tgz"
+HOMEPAGE="http://www.povray.org/"
+
+RDEPEND="virtual/glibc
+ svga? ( media-libs/svgalib )
+ X? ( virtual/x11 )
+ media-libs/libpng
+ sys-libs/zlib"
+
+src_compile() {
+ pwd
+ patch -p1 < ${FILESDIR}/gentoo.patch
+
+ # fix system default povray.ini to point to install directory
+ cp povray.ini povray.ini.orig
+ sed -e "s:\(/usr/\)local/\(lib\):\1\2:" povray.ini.orig > povray.ini
+
+ cd source/unix
+ emake newunix || die
+
+ if [ "`use X`" ] ; then
+ emake newxwin || die
+ fi
+ if [ "`use svga`" ] ; then
+ make newsvga ||die
+ fi
+}
+
+src_install() {
+ pwd
+ cd source/unix
+ dodir usr/bin
+ dodir usr/lib
+ dodir usr/share/man/man1
+ make DESTDIR=${D} install || die
+ cd ${S}
+ rm -rf source
+ cd ..
+ mv povray31 ${D}/usr/lib
+}