aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-08-06 08:54:01 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-08-06 08:54:01 +0000
commit754203dee98677eaea0ed844b9dc092dd1b2870c (patch)
tree2f32fb48c7c68907585577536025640866464e8f /print
parentc420683eedf100deb50168b0e0d69698231e062b (diff)
downloadports-754203dee98677eaea0ed844b9dc092dd1b2870c.tar.gz
ports-754203dee98677eaea0ed844b9dc092dd1b2870c.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/cups-pstoraster/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/print/cups-pstoraster/Makefile b/print/cups-pstoraster/Makefile
index ec6c40cac044..4c674963439c 100644
--- a/print/cups-pstoraster/Makefile
+++ b/print/cups-pstoraster/Makefile
@@ -47,6 +47,10 @@ PLIST_FILES= bin/espgs etc/cups/pstoraster.convs \
libexec/cups/filter/pstopxl libexec/cups/filter/pstoraster \
share/cups/model/pxlcolor.ppd share/cups/model/pxlmono.ppd
+.ifdef(WITH_GHOSTSCRIPT_AFPL)
+IGNORE= doesn't build with AFPL version of Ghostscript; please use gnu ghostscript instead
+.endif
+
post-patch:
${LN} -sf ${ESPGS_WRKSRC}/gdevcups.c ${WRKSRC}/src
${CAT} ${FILESDIR}/cups.contrib.mak >> ${WRKSRC}/src/contrib.mak
@@ -68,11 +72,11 @@ pre-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/espgs ${PREFIX}/bin
${INSTALL_DATA} ${ESPGS_WRKSRC}/pstoraster.convs ${PREFIX}/etc/cups
-.for file in pstopxl pstoraster
- ${INSTALL_SCRIPT} ${ESPGS_WRKSRC}/${file} ${PREFIX}/libexec/cups/filter
+.for _file in pstopxl pstoraster
+ ${INSTALL_SCRIPT} ${ESPGS_WRKSRC}/${_file} ${PREFIX}/libexec/cups/filter
.endfor
-.for file in pxlcolor.ppd pxlmono.ppd
- ${INSTALL_DATA} ${ESPGS_WRKSRC}/${file} ${PREFIX}/share/cups/model
+.for _file in pxlcolor.ppd pxlmono.ppd
+ ${INSTALL_DATA} ${ESPGS_WRKSRC}/${_file} ${PREFIX}/share/cups/model
.endfor
.include <bsd.port.mk>