Thu Jan 19 10:19:26 2017 UTC ()
Fix path to pdftpps.
mv cups-browsed.conf from correct post install location.


(markd)
diff -r1.61 -r1.62 pkgsrc/print/cups-filters/Makefile

cvs diff -r1.61 -r1.62 pkgsrc/print/cups-filters/Makefile (expand / switch to unified diff)

--- pkgsrc/print/cups-filters/Makefile 2016/12/30 16:14:32 1.61
+++ pkgsrc/print/cups-filters/Makefile 2017/01/19 10:19:26 1.62
@@ -1,16 +1,17 @@ @@ -1,16 +1,17 @@
1# $NetBSD: Makefile,v 1.61 2016/12/30 16:14:32 adam Exp $ 1# $NetBSD: Makefile,v 1.62 2017/01/19 10:19:26 markd Exp $
2 2
3DISTNAME= cups-filters-1.13.2 3DISTNAME= cups-filters-1.13.2
 4PKGREVISION= 1
4CATEGORIES= print 5CATEGORIES= print
5MASTER_SITES= http://openprinting.org/download/cups-filters/ 6MASTER_SITES= http://openprinting.org/download/cups-filters/
6EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
7 8
8MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters 10HOMEPAGE= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters
10COMMENT= Backends, filters, and other software for cups 11COMMENT= Backends, filters, and other software for cups
11LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND mit 12LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND mit
12 13
13GNU_CONFIGURE= yes 14GNU_CONFIGURE= yes
14USE_LIBTOOL= yes 15USE_LIBTOOL= yes
15USE_TOOLS+= bash:run pkg-config gmake 16USE_TOOLS+= bash:run pkg-config gmake
16USE_LANGUAGES= c c++ 17USE_LANGUAGES= c c++
@@ -33,34 +34,35 @@ REPLACE_BASH+= filter/braille/filters/te @@ -33,34 +34,35 @@ REPLACE_BASH+= filter/braille/filters/te
33.include "../../mk/bsd.prefs.mk" 34.include "../../mk/bsd.prefs.mk"
34 35
35.if ${OPSYS} == "Darwin" 36.if ${OPSYS} == "Darwin"
36CFLAGS+= -framework IOKit 37CFLAGS+= -framework IOKit
37.endif 38.endif
38 39
39.if ${INIT_SYSTEM} == "rc.d" 40.if ${INIT_SYSTEM} == "rc.d"
40CONFIGURE_ARGS+= --with-rcdir=${PREFIX}/share/examples/rc.d 41CONFIGURE_ARGS+= --with-rcdir=${PREFIX}/share/examples/rc.d
41CONFIGURE_ARGS+= --with-rclevels="" 42CONFIGURE_ARGS+= --with-rclevels=""
42.endif 43.endif
43CONFIGURE_ARGS+= --disable-ldap 44CONFIGURE_ARGS+= --disable-ldap
44CONFIGURE_ARGS+= --disable-mutool 45CONFIGURE_ARGS+= --disable-mutool
45CONFIGURE_ARGS+= --with-shell=${TOOLS_PATH.bash} 46CONFIGURE_ARGS+= --with-shell=${TOOLS_PATH.bash}
 47CONFIGURE_ARGS+= --with-pdftops-path=${PREFIX}/bin/pdftops
46 48
47INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/cups-filters 49INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/cups-filters
48 50
49CONF_FILES= ${PREFIX}/share/examples/cups-filters/fonts/conf.d/99pdftoopvp.conf ${PKG_SYSCONFDIR}/fontconfig/conf.d/99pdftoopvp.conf 51CONF_FILES= ${PREFIX}/share/examples/cups-filters/fonts/conf.d/99pdftoopvp.conf ${PKG_SYSCONFDIR}/fontconfig/conf.d/99pdftoopvp.conf
50CONF_FILES+= ${PREFIX}/share/examples/cups-filters/cups-browsed.conf ${PKG_SYSCONFDIR}/cups/cups-browsed.conf 52CONF_FILES+= ${PREFIX}/share/examples/cups-filters/cups-browsed.conf ${PKG_SYSCONFDIR}/cups/cups-browsed.conf
51 53
52post-install: 54post-install:
53 ${MV} ${DESTDIR}${PREFIX}/etc/cups/cups-browsed.conf ${DESTDIR}${PREFIX}/share/examples/cups-filters/cups-browsed.conf 55 ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/cups/cups-browsed.conf ${DESTDIR}${PREFIX}/share/examples/cups-filters/cups-browsed.conf
54 # backends that need root access should not have world read and execute permissions 56 # backends that need root access should not have world read and execute permissions
55 ${CHMOD} go-rwx ${DESTDIR}${PREFIX}/libexec/cups/backend/parallel 57 ${CHMOD} go-rwx ${DESTDIR}${PREFIX}/libexec/cups/backend/parallel
56 ${CHMOD} go-rwx ${DESTDIR}${PREFIX}/libexec/cups/backend/serial 58 ${CHMOD} go-rwx ${DESTDIR}${PREFIX}/libexec/cups/backend/serial
57 59
58.include "../../devel/glib2/buildlink3.mk" 60.include "../../devel/glib2/buildlink3.mk"
59.include "../../devel/zlib/buildlink3.mk" 61.include "../../devel/zlib/buildlink3.mk"
60.include "../../fonts/fontconfig/buildlink3.mk" 62.include "../../fonts/fontconfig/buildlink3.mk"
61.include "../../graphics/freetype2/buildlink3.mk" 63.include "../../graphics/freetype2/buildlink3.mk"
62.include "../../graphics/lcms2/buildlink3.mk" 64.include "../../graphics/lcms2/buildlink3.mk"
63.include "../../graphics/png/buildlink3.mk" 65.include "../../graphics/png/buildlink3.mk"
64.include "../../graphics/tiff/buildlink3.mk" 66.include "../../graphics/tiff/buildlink3.mk"
65.include "../../net/avahi/buildlink3.mk" 67.include "../../net/avahi/buildlink3.mk"
66BUILDLINK_ABI_DEPENDS.cups+= cups>=1.7.4nb1 68BUILDLINK_ABI_DEPENDS.cups+= cups>=1.7.4nb1