svn commit: r541216 - head/print/cups-pdf

Dima Panov fluffy at FreeBSD.org
Sat Jul 4 13:36:16 UTC 2020


Author: fluffy
Date: Sat Jul  4 13:36:16 2020
New Revision: 541216
URL: https://svnweb.freebsd.org/changeset/ports/541216

Log:
  print/cups-pdf: fix patching paths

Modified:
  head/print/cups-pdf/Makefile

Modified: head/print/cups-pdf/Makefile
==============================================================================
--- head/print/cups-pdf/Makefile	Sat Jul  4 13:36:13 2020	(r541215)
+++ head/print/cups-pdf/Makefile	Sat Jul  4 13:36:16 2020	(r541216)
@@ -3,6 +3,7 @@
 
 PORTNAME=	cups-pdf
 DISTVERSION=	3.0.1
+PORTREVISION=	1
 CATEGORIES=	print
 MASTER_SITES=	http://www.cups-pdf.de/src/ \
 		http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/
@@ -75,10 +76,10 @@ pre-everything::
 	@${ECHO_MSG} "LOG_DIRECTORY=<dir>           Place logfile into <dir>/cups-pdf_log"
 .endif
 
-post-configure:
+post-patch:
 	@${REINPLACE_CMD} ${_SUBST_CMD} ${WRKSRC}/extra/cups-pdf.conf
 	@${REINPLACE_CMD} -e \
-		's,CPCONFIG "/etc/cups/cups-pdf.conf",CPCONFIG "${ETCDIR}/cups-pdf.conf",' \
+		's,CP_CONFIG_PATH "/etc/cups",CP_CONFIG_PATH "${ETCDIR}",' \
 		${WRKSRC}/src/cups-pdf.h
 
 do-build:


More information about the svn-ports-all mailing list