summaryrefslogtreecommitdiff
path: root/graphics/povray/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-09-10 22:35:53 +0000
committerjmmv <jmmv@pkgsrc.org>2003-09-10 22:35:53 +0000
commit60a4b23cfbacec5f87b3ff48767821b4e9bccc8e (patch)
treeee82354f152f22f592c76faeaf6b5ed7c4499567 /graphics/povray/Makefile
parent00556183eaf53579f98f7f582beb0dc1daf2e8ae (diff)
downloadpkgsrc-60a4b23cfbacec5f87b3ff48767821b4e9bccc8e.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/Makefile')
-rw-r--r--graphics/povray/Makefile10
1 files changed, 9 insertions, 1 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."