summaryrefslogtreecommitdiff
path: root/graphics/povray
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-09-10 22:35:53 +0000
committerjmmv <jmmv>2003-09-10 22:35:53 +0000
commitd69c5a1094320e3ca2ae0558ae2d1ed024cecceb (patch)
treeee82354f152f22f592c76faeaf6b5ed7c4499567 /graphics/povray
parentdec42fdb0157602d7cfb401bae4fb5af31b3cf1e (diff)
downloadpkgsrc-d69c5a1094320e3ca2ae0558ae2d1ed024cecceb.tar.gz
Move configuration files to the examples directory and use CONF_FILES to
copy them to sysconfdir. Bump PKGREVISION to 1.
Diffstat (limited to 'graphics/povray')
-rw-r--r--graphics/povray/Makefile10
-rw-r--r--graphics/povray/PLIST7
-rw-r--r--graphics/povray/distinfo3
-rw-r--r--graphics/povray/patches/patch-ad13
4 files changed, 28 insertions, 5 deletions
diff --git a/graphics/povray/Makefile b/graphics/povray/Makefile
index 2a8fc099a91..165bb57f116 100644
--- a/graphics/povray/Makefile
+++ b/graphics/povray/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.18 2003/08/31 23:04:14 gavan Exp $
+# $NetBSD: Makefile,v 1.19 2003/09/10 22:35:53 jmmv Exp $
DISTNAME= povuni_s
PKGNAME= povray-3.50c
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.povray.org/pub/povray/Official/Unix/\
ftp://ftp.mirror.ac.uk/sites/ftp.povray.org/pub/povray/Official/Unix/
@@ -18,6 +19,13 @@ WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_X11= YES
GNU_CONFIGURE= YES
USE_BUILDLINK2= YES
+USE_PKGINSTALL= YES
+
+CONFIGURE_ARGS= --sysconfdir=${PKG_SYSCONFDIR}
+
+EGDIR= ${PREFIX}/share/examples/povray
+CONF_FILES= ${EGDIR}/povray.conf ${PKG_SYSCONFDIR}/povray.conf
+CONF_FILES+= ${EGDIR}/povray.ini ${PKG_SYSCONFDIR}/povray.ini
SUBST_CLASSES+= povini
SUBST_MESSAGE.povini= "Fixing Library_Path in povray.ini."
diff --git a/graphics/povray/PLIST b/graphics/povray/PLIST
index 57c672ec938..ea0e3e5c010 100644
--- a/graphics/povray/PLIST
+++ b/graphics/povray/PLIST
@@ -1,7 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2003/08/31 23:04:14 gavan Exp $
+@comment $NetBSD: PLIST,v 1.3 2003/09/10 22:35:53 jmmv Exp $
bin/povray
-etc/povray.conf
-etc/povray.ini
man/man1/povray.1
share/doc/${PKGNAME}/README
share/doc/${PKGNAME}/README.unix
@@ -798,6 +796,8 @@ share/doc/${PKGNAME}/html/raytracer.pov
share/doc/${PKGNAME}/html/stylesheet.html
share/doc/${PKGNAME}/povlegal.doc
share/doc/${PKGNAME}/povwhere.txt
+share/examples/povray/povray.conf
+share/examples/povray/povray.ini
share/povray-3.5/include/arrays.inc
share/povray-3.5/include/ash.map
share/povray-3.5/include/benediti.map
@@ -1424,6 +1424,7 @@ share/povray-3.5/tests/test.sh
@dirrm share/povray-3.5/ini
@dirrm share/povray-3.5/include
@dirrm share/povray-3.5
+@dirrm share/examples/povray
@dirrm share/doc/${PKGNAME}/html/images/vfaq
@dirrm share/doc/${PKGNAME}/html/images
@dirrm share/doc/${PKGNAME}/html
diff --git a/graphics/povray/distinfo b/graphics/povray/distinfo
index 44ba9d3045a..62d309d0019 100644
--- a/graphics/povray/distinfo
+++ b/graphics/povray/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2003/08/31 23:04:15 gavan Exp $
+$NetBSD: distinfo,v 1.6 2003/09/10 22:35:54 jmmv Exp $
SHA1 (povray-3.50c/povuni_s.tgz) = 95b6687cc9e2a23b412be17da731cc7b84e5f7ab
Size (povray-3.50c/povuni_s.tgz) = 6602380 bytes
SHA1 (patch-aa) = a7ed2a8effbbc6ad424c3af3c63f9b0eb7e5caf4
SHA1 (patch-ab) = 75cd81585cf333f7a18c89a39a90f0e3f58bf99e
SHA1 (patch-ac) = 34be7bbf31d2205b55082ad7d4e6b981c61cd7f0
+SHA1 (patch-ad) = df647e2e1ed9a25e84f74ae1fc2d49b0cf4c873f
diff --git a/graphics/povray/patches/patch-ad b/graphics/povray/patches/patch-ad
new file mode 100644
index 00000000000..573e15d60af
--- /dev/null
+++ b/graphics/povray/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2003/09/10 22:35:56 jmmv Exp $
+
+--- Makefile.in.orig 2003-01-07 02:22:44.000000000 +0100
++++ Makefile.in
+@@ -46,7 +46,7 @@ bindir = @bindir@
+ sbindir = @sbindir@
+ libexecdir = @libexecdir@
+ datadir = @datadir@
+-sysconfdir = @sysconfdir@
++sysconfdir = @datadir@/examples/@PACKAGE@
+ sharedstatedir = @sharedstatedir@
+ localstatedir = @localstatedir@
+ libdir = @libdir@