| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.27 2015/08/30 14:37:18 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.28 2015/09/05 20:56:57 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= cups-filters-1.0.74 | | 3 | DISTNAME= cups-filters-1.0.74 |
4 | CATEGORIES= print | | 4 | CATEGORIES= print |
5 | MASTER_SITES= http://openprinting.org/download/cups-filters/ | | 5 | MASTER_SITES= http://openprinting.org/download/cups-filters/ |
6 | EXTRACT_SUFX= .tar.xz | | 6 | EXTRACT_SUFX= .tar.xz |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters | | 9 | HOMEPAGE= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters |
10 | COMMENT= Backends, filters, and other software for cups | | 10 | COMMENT= Backends, filters, and other software for cups |
11 | LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND mit | | 11 | LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND mit |
12 | | | 12 | |
13 | GNU_CONFIGURE= yes | | 13 | GNU_CONFIGURE= yes |
14 | USE_LIBTOOL= yes | | 14 | USE_LIBTOOL= yes |
| @@ -18,26 +18,27 @@ USE_LANGUAGES= c c++ | | | @@ -18,26 +18,27 @@ USE_LANGUAGES= c c++ |
18 | | | 18 | |
19 | BUILD_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen | | 19 | BUILD_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen |
20 | DEPENDS+= poppler-utils-[0-9]*:../../print/poppler-utils | | 20 | DEPENDS+= poppler-utils-[0-9]*:../../print/poppler-utils |
21 | | | 21 | |
22 | PKGCONFIG_OVERRIDE+= libcupsfilters.pc.in | | 22 | PKGCONFIG_OVERRIDE+= libcupsfilters.pc.in |
23 | PKGCONFIG_OVERRIDE+= libfontembed.pc.in | | 23 | PKGCONFIG_OVERRIDE+= libfontembed.pc.in |
24 | | | 24 | |
25 | CONFLICTS+= cups<1.6 | | 25 | CONFLICTS+= cups<1.6 |
26 | | | 26 | |
27 | REPLACE_BASH+= filter/textonly | | 27 | REPLACE_BASH+= filter/textonly |
28 | | | 28 | |
29 | CONFIGURE_ARGS+= --with-rcdir=${PREFIX}/share/examples/rc.d | | 29 | CONFIGURE_ARGS+= --with-rcdir=${PREFIX}/share/examples/rc.d |
30 | CONFIGURE_ARGS+= --with-rclevels="" | | 30 | CONFIGURE_ARGS+= --with-rclevels="" |
| | | 31 | CONFIGURE_ARGS+= --disable-ldap |
31 | CONFIGURE_ARGS+= --with-shell=${TOOLS_PATH.bash} | | 32 | CONFIGURE_ARGS+= --with-shell=${TOOLS_PATH.bash} |
32 | | | 33 | |
33 | INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/cups-filters | | 34 | INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/cups-filters |
34 | | | 35 | |
35 | CONF_FILES= ${PREFIX}/share/examples/cups-filters/fonts/conf.d/99pdftoopvp.conf ${PKG_SYSCONFDIR}/fonts/conf.d/99pdftoopvp.conf | | 36 | CONF_FILES= ${PREFIX}/share/examples/cups-filters/fonts/conf.d/99pdftoopvp.conf ${PKG_SYSCONFDIR}/fonts/conf.d/99pdftoopvp.conf |
36 | CONF_FILES= ${PREFIX}/share/examples/cups-filters/cups-browsed.conf ${PKG_SYSCONFDIR}/cups/cups-browsed.conf | | 37 | CONF_FILES= ${PREFIX}/share/examples/cups-filters/cups-browsed.conf ${PKG_SYSCONFDIR}/cups/cups-browsed.conf |
37 | | | 38 | |
38 | pre-configure: | | 39 | pre-configure: |
39 | cd ${WRKSRC} && autoconf | | 40 | cd ${WRKSRC} && autoconf |
40 | | | 41 | |
41 | post-install: | | 42 | post-install: |
42 | ${MV} ${DESTDIR}${PREFIX}/etc/cups/cups-browsed.conf ${DESTDIR}${PREFIX}/share/examples/cups-filters/cups-browsed.conf | | 43 | ${MV} ${DESTDIR}${PREFIX}/etc/cups/cups-browsed.conf ${DESTDIR}${PREFIX}/share/examples/cups-filters/cups-browsed.conf |
43 | | | 44 | |