summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-02-24 10:22:22 +0000
committerwiz <wiz@pkgsrc.org>2015-02-24 10:22:22 +0000
commit5663b71398663d4e3e83d9a6c43d08bb53743741 (patch)
tree9a7d3acc07bc9f0777b9b38218b0717f9d9851a8
parent0c2d0706cda70c1c0624beecc5e648501cb47f45 (diff)
downloadpkgsrc-5663b71398663d4e3e83d9a6c43d08bb53743741.tar.gz
Use configure flags to install rc.d script instead of manual rule.
From Richard PALO. Bump PKGREVISION, just to be on the safe side.
-rw-r--r--print/cups-filters/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/print/cups-filters/Makefile b/print/cups-filters/Makefile
index 9c1934e3424..159b4c1c468 100644
--- a/print/cups-filters/Makefile
+++ b/print/cups-filters/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2015/02/17 14:07:25 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2015/02/24 10:22:22 wiz Exp $
DISTNAME= cups-filters-1.0.65
+PKGREVISION= 1
CATEGORIES= print
MASTER_SITES= http://openprinting.org/download/cups-filters/
EXTRACT_SUFX= .tar.xz
@@ -23,16 +24,16 @@ PKGCONFIG_OVERRIDE+= libfontembed.pc.in
REPLACE_BASH+= filter/textonly
-INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/cups-filters
+CONFIGURE_ARGS+= --with-rcdir=${PREFIX}/share/examples/rc.d
+CONFIGURE_ARGS+= --with-rclevels=""
-INSTALLATION_DIRS= share/examples/rc.d
+INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/cups-filters
CONF_FILES= ${PREFIX}/share/examples/cups-filters/fonts/conf.d/99pdftoopvp.conf ${PKG_SYSCONFDIR}/fonts/conf.d/99pdftoopvp.conf
CONF_FILES= ${PREFIX}/share/examples/cups-filters/cups-browsed.conf ${PKG_SYSCONFDIR}/cups/cups-browsed.conf
post-install:
${MV} ${DESTDIR}${PREFIX}/etc/cups/cups-browsed.conf ${DESTDIR}${PREFIX}/share/examples/cups-filters/cups-browsed.conf
- ${MV} ${DESTDIR}/etc/rc.d/cups-browsed ${DESTDIR}${PREFIX}/share/examples/rc.d/cups-browsed
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"