pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/cups-filters Fix path to pdftpps.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/51697561ccea
branches:  trunk
changeset: 357395:51697561ccea
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Jan 19 10:19:26 2017 +0000

description:
Fix path to pdftpps.
mv cups-browsed.conf from correct post install location.

diffstat:

 print/cups-filters/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r fa0e86a98c63 -r 51697561ccea print/cups-filters/Makefile
--- a/print/cups-filters/Makefile       Thu Jan 19 10:03:00 2017 +0000
+++ b/print/cups-filters/Makefile       Thu Jan 19 10:19:26 2017 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.61 2016/12/30 16:14:32 adam Exp $
+# $NetBSD: Makefile,v 1.62 2017/01/19 10:19:26 markd Exp $
 
 DISTNAME=      cups-filters-1.13.2
+PKGREVISION=   1
 CATEGORIES=    print
 MASTER_SITES=  http://openprinting.org/download/cups-filters/
 EXTRACT_SUFX=  .tar.xz
@@ -43,6 +44,7 @@
 CONFIGURE_ARGS+=       --disable-ldap
 CONFIGURE_ARGS+=       --disable-mutool
 CONFIGURE_ARGS+=       --with-shell=${TOOLS_PATH.bash}
+CONFIGURE_ARGS+=       --with-pdftops-path=${PREFIX}/bin/pdftops
 
 INSTALL_MAKE_FLAGS+=   sysconfdir=${PREFIX}/share/examples/cups-filters
 
@@ -50,7 +52,7 @@
 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}${PKG_SYSCONFDIR}/cups/cups-browsed.conf ${DESTDIR}${PREFIX}/share/examples/cups-filters/cups-browsed.conf
        # backends that need root access should not have world read and execute permissions
        ${CHMOD} go-rwx ${DESTDIR}${PREFIX}/libexec/cups/backend/parallel
        ${CHMOD} go-rwx ${DESTDIR}${PREFIX}/libexec/cups/backend/serial



Home | Main Index | Thread Index | Old Index