1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

print/cups-pdf: fix patching paths

This commit is contained in:
Dima Panov 2020-07-04 13:36:16 +00:00
parent 578624a4c5
commit 709dd0f0a2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=541216

View File

@ -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: