pkgsrc-Users archive

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

povray config files



I found I needed the attached patch so that the config files povray.conf
and povray.ini end up in /usr/pkg/etc/povray/3.6  Is this the right way
to do it?

Cheers,

Patrick
? povray.diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/povray/Makefile,v
retrieving revision 1.50
diff -u -r1.50 Makefile
--- Makefile    6 Feb 2012 12:40:32 -0000       1.50
+++ Makefile    6 Jun 2012 16:25:07 -0000
@@ -20,7 +20,7 @@
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --disable-optimiz
 CONFIGURE_ARGS+=       --enable-strip
-CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFBASE:Q}
 CONFIGURE_ENV+=                COMPILED_BY="The NetBSD Packages Collection"
 
 .include "../../mk/bsd.prefs.mk"
@@ -31,6 +31,7 @@
 
 PLIST_SUBST+=  POVRAY=povray-3.6
 
+PKG_SYSCONFSUBDIR=     povray/3.6
 EGDIR=         ${PREFIX}/share/examples/povray
 CONF_FILES=    ${EGDIR}/povray.conf ${PKG_SYSCONFDIR}/povray.conf
 CONF_FILES+=   ${EGDIR}/povray.ini ${PKG_SYSCONFDIR}/povray.ini


Home | Main Index | Thread Index | Old Index