summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-04-25 15:41:23 +0000
committerMike Frysinger <vapier@gentoo.org>2003-04-25 15:41:23 +0000
commit8de082a42804f0eec611dd2ba5fa7c623c838c76 (patch)
treef5462b4ca669d9a9a14fae59f030daa86f0ac640
parenttouchups (diff)
downloadgentoo-2-8de082a42804f0eec611dd2ba5fa7c623c838c76.tar.gz
gentoo-2-8de082a42804f0eec611dd2ba5fa7c623c838c76.tar.bz2
gentoo-2-8de082a42804f0eec611dd2ba5fa7c623c838c76.zip
touchups
-rw-r--r--media-gfx/povray/povray-3.1g-r5.ebuild16
-rw-r--r--media-gfx/povray/povray-3.50c.ebuild33
2 files changed, 20 insertions, 29 deletions
diff --git a/media-gfx/povray/povray-3.1g-r5.ebuild b/media-gfx/povray/povray-3.1g-r5.ebuild
index d0087b7a0256..a037f2ef0d29 100644
--- a/media-gfx/povray/povray-3.1g-r5.ebuild
+++ b/media-gfx/povray/povray-3.1g-r5.ebuild
@@ -1,11 +1,9 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/povray-3.1g-r5.ebuild,v 1.11 2003/02/13 12:37:16 vapier Exp $
-
-IUSE="icc X svga"
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/povray-3.1g-r5.ebuild,v 1.12 2003/04/25 15:41:23 vapier Exp $
S=${WORKDIR}/povray31
-DESCRIPTION="POV Ray- The Persistance of Vision Ray Tracer"
+DESCRIPTION="The Persistance Of Vision Ray Tracer"
SRC_URI="http://www.ibiblio.org/gentoo/distfiles/povuni_s_3.1.tgz
http://www.ibiblio.org/gentoo/distfiles/povuni_d_3.1.tgz"
HOMEPAGE="http://www.povray.org/"
@@ -13,16 +11,17 @@ HOMEPAGE="http://www.povray.org/"
SLOT="0"
LICENSE="povlegal-3.1g"
KEYWORDS="x86 ppc alpha"
+IUSE="icc X svga"
DEPEND="media-libs/libpng
sys-libs/zlib
- X? ( virtual/x11 )
- icc? ( dev-lang/icc )
- svga? ( media-libs/svgalib )"
+ X? ( virtual/x11 )
+ icc? ( dev-lang/icc )
+ svga? ( media-libs/svgalib )"
src_compile() {
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
@@ -105,7 +104,6 @@ src_compile() {
}
src_install() {
- pwd
cd source/unix
dodir usr/bin
dodir usr/lib
diff --git a/media-gfx/povray/povray-3.50c.ebuild b/media-gfx/povray/povray-3.50c.ebuild
index cdaa22a03b2c..7515a05daf28 100644
--- a/media-gfx/povray/povray-3.50c.ebuild
+++ b/media-gfx/povray/povray-3.50c.ebuild
@@ -1,38 +1,34 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/povray-3.50c.ebuild,v 1.6 2003/04/18 13:30:25 malverian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/povray-3.50c.ebuild,v 1.7 2003/04/25 15:41:23 vapier Exp $
-IUSE="icc X svga"
+inherit gcc eutils
-S=${WORKDIR}/${P}
-DESCRIPTION="POV Ray- The Persistance of Vision Ray Tracer"
+DESCRIPTION="The Persistance Of Vision Ray Tracer"
SRC_URI="ftp://ftp.povray.org/pub/povray/Official/Unix/povuni_s.tgz"
HOMEPAGE="http://www.povray.org/"
SLOT="0"
LICENSE="povlegal-3.5"
KEYWORDS="x86 ppc alpha"
-inherit gcc
+IUSE="icc X svga"
DEPEND="media-libs/libpng
media-libs/tiff
media-libs/jpeg
sys-libs/zlib
- X? ( virtual/x11 )
- icc? ( dev-lang/icc )
- svga? ( media-libs/svgalib )"
+ X? ( virtual/x11 )
+ icc? ( dev-lang/icc )
+ svga? ( media-libs/svgalib )"
pkg_setup() {
-
- if [ "$(gcc-version)" != "3.2" ]
- then
- eerror "This build needs gcc-3.2 or later"
- die
- fi
+ if [ "$(gcc-version)" != "3.2" ] ; then
+ eerror "This build needs gcc-3.2 or later"
+ die "This build needs gcc-3.2 or later"
+ fi
}
src_compile() {
-
econf || die
# fix system default povray.ini to point to install directory
@@ -108,8 +104,7 @@ src_compile() {
emake || die
}
-src_install ()
-{
+src_install() {
emake DESTDIR=${D} install || die
mv ${D}/etc/povray.ini ${D}/usr/share/povray-3.5/
@@ -117,12 +112,10 @@ src_install ()
dosym /usr/share/povray-3.5/povray.ini /etc/povray.ini
}
-pkg_postinst ()
-{
+pkg_postinst() {
einfo "Installing configuration files"
einfo "*Warning* I/O Security disabled by default"
einfo " Check /etc/povray.conf to enable"
echo -e "[File I/O Security]\nnone" > /etc/povray.conf
-
}