From root@cyberbotx.com  Tue Apr  8 03:50:09 2014
Return-Path: <root@cyberbotx.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 68A5E515
	for <freebsd-gnats-submit@freebsd.org>; Tue,  8 Apr 2014 03:50:09 +0000 (UTC)
Received: from qmta10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:17])
	by mx1.freebsd.org (Postfix) with ESMTP id 18F0E1B9D
	for <freebsd-gnats-submit@freebsd.org>; Tue,  8 Apr 2014 03:50:09 +0000 (UTC)
Received: from omta11.westchester.pa.mail.comcast.net ([76.96.62.36])
	by qmta10.westchester.pa.mail.comcast.net with comcast
	id nFni1n0010mv7h05AFq79z; Tue, 08 Apr 2014 03:50:07 +0000
Received: from kirby.cyberbotx.com ([107.5.48.95])
	by omta11.westchester.pa.mail.comcast.net with comcast
	id nFq71n00223DSHF3XFq7MN; Tue, 08 Apr 2014 03:50:07 +0000
Received: by kirby.cyberbotx.com (Postfix, from userid 0)
	id CF66F28441; Mon,  7 Apr 2014 23:50:06 -0400 (EDT)
Message-Id: <20140408035006.CF66F28441@kirby.cyberbotx.com>
Date: Mon,  7 Apr 2014 23:50:06 -0400 (EDT)
From: Naram Qashat <cyberbotx@cyberbotx.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] print/cups-filters: update to 1.0.52, take maintainership
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         188371
>Category:       ports
>Synopsis:       [PATCH] print/cups-filters: update to 1.0.52, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bsam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 08 04:00:00 UTC 2014
>Closed-Date:    Thu Apr 10 19:46:29 UTC 2014
>Last-Modified:  Thu Apr 10 19:50:00 UTC 2014
>Originator:     Naram Qashat
>Release:        FreeBSD 9.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD kirby.cyberbotx.com 9.2-STABLE FreeBSD 9.2-STABLE #0 r258460: Thu Nov 21 22:30:13 EST
>Description:
- Update to 1.0.52
- Take maintainership

NOTE: I don't know if the post-configure step is actually needed, but I did
      require it in order to test the install with Port Tools, as the
      configure script was getting LOCALBASE through from CUPS because of
      cups-config being invoked.

Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: update, diff: SVN)
>How-To-Repeat:
>Fix:

--- cups-filters-1.0.52.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 350563)
+++ Makefile	(working copy)
@@ -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_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 @@
 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
Index: distinfo
===================================================================
--- distinfo	(revision 350563)
+++ distinfo	(working copy)
@@ -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
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 350563)
+++ pkg-plist	(working copy)
@@ -68,11 +68,11 @@
 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/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
--- cups-filters-1.0.52.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->bsam 
Responsible-Changed-By: bsam 
Responsible-Changed-When: Thu Apr 10 19:29:30 UTC 2014 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188371 
State-Changed-From-To: open->closed 
State-Changed-By: bsam 
State-Changed-When: Thu Apr 10 19:45:59 UTC 2014 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188371 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/188371: commit references a PR
Date: Thu, 10 Apr 2014 19:45:20 +0000 (UTC)

 Author: bsam
 Date: Thu Apr 10 19:45:16 2014
 New Revision: 350839
 URL: http://svnweb.freebsd.org/changeset/ports/350839
 QAT: https://qat.redports.org/buildarchive/r350839/
 
 Log:
   print/cups-filters: update to 1.0.52 and hand over to the new maintainer
   
   . update to version 1.0.52;
   . transfer the port to the submitter.
   
   PR:		ports/188371
   Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com>
 
 Modified:
   head/print/cups-filters/Makefile
   head/print/cups-filters/distinfo
   head/print/cups-filters/pkg-plist
 
 Modified: head/print/cups-filters/Makefile
 ==============================================================================
 --- head/print/cups-filters/Makefile	Thu Apr 10 19:29:58 2014	(r350838)
 +++ head/print/cups-filters/Makefile	Thu Apr 10 19:45:16 2014	(r350839)
 @@ -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:${
  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
 
 Modified: head/print/cups-filters/distinfo
 ==============================================================================
 --- head/print/cups-filters/distinfo	Thu Apr 10 19:29:58 2014	(r350838)
 +++ head/print/cups-filters/distinfo	Thu Apr 10 19:45:16 2014	(r350839)
 @@ -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
 
 Modified: head/print/cups-filters/pkg-plist
 ==============================================================================
 --- head/print/cups-filters/pkg-plist	Thu Apr 10 19:29:58 2014	(r350838)
 +++ head/print/cups-filters/pkg-plist	Thu Apr 10 19:45:16 2014	(r350839)
 @@ -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
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
