summaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2006-08-06 08:54:01 +0000
committeritetcu <itetcu@FreeBSD.org>2006-08-06 08:54:01 +0000
commit9cea847ddc3a69ec353fc4891c3470abd93af794 (patch)
tree3446c48a3326319356000eae2dc87b046e4d7cbe /print
parentb36e6af58669e4447bc9e0aae98486342a9ad7c1 (diff)
downloadFreeBSD-ports-9cea847ddc3a69ec353fc4891c3470abd93af794.zip
FreeBSD-ports-9cea847ddc3a69ec353fc4891c3470abd93af794.tar.gz
- try to catch if AFPL version of Ghostscript is used and warn the use it won't
build [1] - small portlint petting PR: ports/98843 [1] Submitted by: Matthias Andree [1]
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 ec6c40c..4c67496 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>
OpenPOWER on IntegriCloud