summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-13 00:58:40 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-13 00:58:40 +0000
commitab16845d94aa7774e051f8083e21189036597fd4 (patch)
treecfe4419a7be4ac0bdd761358211ca45d6a9ed381 /media-gfx/povray
parentoops on virtual/xfree (diff)
downloadhistorical-ab16845d94aa7774e051f8083e21189036597fd4.tar.gz
historical-ab16845d94aa7774e051f8083e21189036597fd4.tar.bz2
historical-ab16845d94aa7774e051f8083e21189036597fd4.zip
Compile against newest libpng
Diffstat (limited to 'media-gfx/povray')
-rw-r--r--media-gfx/povray/ChangeLog8
-rw-r--r--media-gfx/povray/files/digest-povray-3.1g-r32
-rw-r--r--media-gfx/povray/povray-3.1g-r3.ebuild47
3 files changed, 56 insertions, 1 deletions
diff --git a/media-gfx/povray/ChangeLog b/media-gfx/povray/ChangeLog
index c5807b600286..cff0755acfbd 100644
--- a/media-gfx/povray/ChangeLog
+++ b/media-gfx/povray/ChangeLog
@@ -1,6 +1,12 @@
# 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.2 2002/04/01 13:18:23 spider Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/ChangeLog,v 1.3 2002/04/13 00:58:40 seemant Exp $
+
+*povray-3.1g-r3 (12 Apr 2002)
+
+ 12 Apr 2002; Seemant Kulleen <seemant@gentoo.org>
+
+ Compile against newest libpng
*povray-3.1g-r2 (01 Apr 2002)
01 Apr 2002; Spider <spider@gentoo.org>
diff --git a/media-gfx/povray/files/digest-povray-3.1g-r3 b/media-gfx/povray/files/digest-povray-3.1g-r3
new file mode 100644
index 000000000000..65dea6b01dc9
--- /dev/null
+++ b/media-gfx/povray/files/digest-povray-3.1g-r3
@@ -0,0 +1,2 @@
+MD5 6da91fb1d3d48cd44f46b831760d233f povuni_s.tgz 946513
+MD5 dff3b8f3bc2a6dd131a9d008d0f46295 povuni_d.tgz 913748
diff --git a/media-gfx/povray/povray-3.1g-r3.ebuild b/media-gfx/povray/povray-3.1g-r3.ebuild
new file mode 100644
index 000000000000..1e25706236fe
--- /dev/null
+++ b/media-gfx/povray/povray-3.1g-r3.ebuild
@@ -0,0 +1,47 @@
+# 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="media-libs/libpng
+ svga? ( media-libs/svgalib )
+ X? ( virtual/x11 )
+ 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
+}