pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/povray Move configuration files to the exampl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/245f2c61c96b
branches:  trunk
changeset: 461101:245f2c61c96b
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Wed Sep 10 22:35:53 2003 +0000

description:
Move configuration files to the examples directory and use CONF_FILES to
copy them to sysconfdir.  Bump PKGREVISION to 1.

diffstat:

 graphics/povray/Makefile         |  10 +++++++++-
 graphics/povray/PLIST            |   7 ++++---
 graphics/povray/distinfo         |   3 ++-
 graphics/povray/patches/patch-ad |  13 +++++++++++++
 4 files changed, 28 insertions(+), 5 deletions(-)

diffs (86 lines):

diff -r ffff17fe1465 -r 245f2c61c96b graphics/povray/Makefile
--- a/graphics/povray/Makefile  Wed Sep 10 22:29:10 2003 +0000
+++ b/graphics/povray/Makefile  Wed Sep 10 22:35:53 2003 +0000
@@ -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 @@
 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 -r ffff17fe1465 -r 245f2c61c96b graphics/povray/PLIST
--- a/graphics/povray/PLIST     Wed Sep 10 22:29:10 2003 +0000
+++ b/graphics/povray/PLIST     Wed Sep 10 22:35:53 2003 +0000
@@ -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/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 @@
 @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 -r ffff17fe1465 -r 245f2c61c96b graphics/povray/distinfo
--- a/graphics/povray/distinfo  Wed Sep 10 22:29:10 2003 +0000
+++ b/graphics/povray/distinfo  Wed Sep 10 22:35:53 2003 +0000
@@ -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 -r ffff17fe1465 -r 245f2c61c96b graphics/povray/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/povray/patches/patch-ad  Wed Sep 10 22:35:53 2003 +0000
@@ -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@



Home | Main Index | Thread Index | Old Index