Index: head/print/cups-filters/Makefile =================================================================== --- head/print/cups-filters/Makefile (revision 365574) +++ head/print/cups-filters/Makefile (revision 365575) @@ -1,62 +1,64 @@ # $FreeBSD$ PORTNAME= cups-filters PORTVERSION= 1.0.57 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://www.openprinting.org/download/cups-filters/ MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Backends, filters and other software (was part of the core CUPS) LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ libtiff.so:${PORTSDIR}/graphics/tiff \ libpng15.so:${PORTSDIR}/graphics/png \ libijs.so:${PORTSDIR}/print/libijs \ liblcms2.so:${PORTSDIR}/graphics/lcms2 \ libqpdf.so:${PORTSDIR}/print/qpdf \ libdbus-1.so:${PORTSDIR}/devel/dbus \ libcups.so:${PORTSDIR}/print/cups-client \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ libpoppler.so:${PORTSDIR}/graphics/poppler MAKE_JOBS_UNSAFE=YES USES= compiler:c++11-lib pathfix pkgconfig shebangfix tar:xz libtool SHEBANG_FILES= filter/textonly USE_GNOME= glib20 USE_GHOSTSCRIPT= yes USE_RC_SUBR= cups_browsed GNU_CONFIGURE= yes CUPS_SOCKET?= /var/run/cups.sock CONFIGURE_ARGS= --with-cups-domainsocket=${CUPS_SOCKET} CONFIGURE_ENV= ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-lz" \ LIBQPDF_CFLAGS="-I${LOCALBASE}/include" LIBQPDF_LIBS="-lqpdf" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes OPTIONS_DEFINE= AVAHI OPTIONS_DEFAULT= AVAHI AVAHI_CONFIGURE_ENABLE= avahi AVAHI_LIB_DEPENDS= libavahi-client.so:${PORTSDIR}/net/avahi-app post-patch: @${REINPLACE_CMD} 's:-std=c++0x:-std=c++11:' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/filter/pdftops.c post-configure: @${REINPLACE_CMD} \ -e 's|\(BANNERTOPDF_DATADIR = \).*\(/share/cups/data\)|\1${PREFIX}\2|' \ -e 's|\(CUPS_DATADIR = \).*\(/share/cups\)|\1${PREFIX}\2|' \ -e 's|\(CUPS_SERVERBIN = \).*\(/libexec/cups\)|\1${PREFIX}\2|' \ -e 's|\(CUPS_SERVERROOT = \).*\(/etc/cups\)|\1${PREFIX}\2|' \ ${WRKSRC}/Makefile post-install: @${RM} -rf ${STAGEDIR}${PREFIX}/libexec/cups/filter/foomatic-rip \ ${STAGEDIR}${PREFIX}/man/man1/foomatic-rip.1 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcupsfilters.so.1 \ ${STAGEDIR}${PREFIX}/lib/libfontembed.so.1 .include Index: head/print/cups-filters/files/patch-filter_pdftops.c =================================================================== --- head/print/cups-filters/files/patch-filter_pdftops.c (nonexistent) +++ head/print/cups-filters/files/patch-filter_pdftops.c (revision 365575) @@ -0,0 +1,11 @@ +--- filter/pdftops.c.orig 2014-08-21 10:11:24.448404905 -0400 ++++ filter/pdftops.c 2014-08-21 10:12:00.298402116 -0400 +@@ -535,7 +535,7 @@ + + if (renderer == PDFTOPS) + { +- pdf_argv[0] = (char *)"pdftops"; ++ pdf_argv[0] = (char *)"%%LOCALBASE%%/bin/pdftops"; + pdf_argc = 1; + } + else if (renderer == GS) Property changes on: head/print/cups-filters/files/patch-filter_pdftops.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property