aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2014-04-10 19:45:16 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2014-04-10 19:45:16 +0000
commita9d458435d10bb040d3f9f9b094d563ff82dcafa (patch)
tree0d506e95545f73213759d537fadbed13542fe4cd /print
parentb1d295c2deb2d3e87bc26c52131410eae0e51e66 (diff)
downloadports-a9d458435d10bb040d3f9f9b094d563ff82dcafa.tar.gz
ports-a9d458435d10bb040d3f9f9b094d563ff82dcafa.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/cups-filters/Makefile16
-rw-r--r--print/cups-filters/distinfo4
-rw-r--r--print/cups-filters/pkg-plist12
3 files changed, 20 insertions, 12 deletions
diff --git a/print/cups-filters/Makefile b/print/cups-filters/Makefile
index 8115daccecf0..f96c335a66c6 100644
--- a/print/cups-filters/Makefile
+++ b/print/cups-filters/Makefile
@@ -1,11 +1,11 @@
# $FreeBSD$
PORTNAME= cups-filters
-PORTVERSION= 1.0.50
+PORTVERSION= 1.0.52
CATEGORIES= print
MASTER_SITES= http://www.openprinting.org/download/cups-filters/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= Backends, filters and other software (was part of the core CUPS)
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
@@ -26,9 +26,9 @@ USE_GNOME= glib20
USE_GHOSTSCRIPT= yes
GNU_CONFIGURE= yes
CUPS_SOCKET= /var/run/cups.sock
-CONFIGURE_ARGS= --with-domainsocket=${CUPS_SOCKET}
+CONFIGURE_ARGS= --with-cups-domainsocket=${CUPS_SOCKET}
CONFIGURE_ENV= ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-lz" \
- LIBQPDF_CFLAGS="-I/usr/local/include" LIBQPDF_LIBS="-lqpdf"
+ LIBQPDF_CFLAGS="-I${LOCALBASE}/include" LIBQPDF_LIBS="-lqpdf"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -43,6 +43,14 @@ AVAHI_LIB_DEPENDS= libavahi-client.so:${PORTSDIR}/net/avahi-app
post-patch:
@${REINPLACE_CMD} 's:-std=c++0x:-std=c++11:' ${WRKSRC}/Makefile.in
+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
diff --git a/print/cups-filters/distinfo b/print/cups-filters/distinfo
index 9388a175cfb7..12df9340e830 100644
--- a/print/cups-filters/distinfo
+++ b/print/cups-filters/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cups-filters-1.0.50.tar.xz) = 771bdaeaa171cfb3850b229d5d167bde2abcd40b900075ae72d4867acc8adbe7
-SIZE (cups-filters-1.0.50.tar.xz) = 1309912
+SHA256 (cups-filters-1.0.52.tar.xz) = 32fc3647e7d610217d813cfe87dae861bb27a3df50a084578bc659722022fd13
+SIZE (cups-filters-1.0.52.tar.xz) = 1311192
diff --git a/print/cups-filters/pkg-plist b/print/cups-filters/pkg-plist
index 2672c65189fd..cedd208ebe5e 100644
--- a/print/cups-filters/pkg-plist
+++ b/print/cups-filters/pkg-plist
@@ -68,11 +68,11 @@ share/cups/mime/cupsfilters.convs
share/cups/mime/cupsfilters.types
share/cups/ppdc/escp.h
share/cups/ppdc/pcl.h
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
+%%DOCSDIR%%/AUTHORS
+%%DOCSDIR%%/COPYING
+%%DOCSDIR%%/INSTALL
+%%DOCSDIR%%/NEWS
+%%DOCSDIR%%/README
share/ppd/cupsfilters/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd
share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd
share/ppd/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppd
@@ -82,7 +82,7 @@ share/ppd/cupsfilters/pxlmono.ppd
share/ppd/cupsfilters/textonly.ppd
@dirrmtry share/ppd/cupsfilters
@dirrmtry share/ppd
-%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+@dirrm %%DOCSDIR%%
@dirrmtry share/cups/ppdc
@dirrmtry share/cups/mime
@dirrmtry share/cups/drv