summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-08-31 00:43:52 +0000
committeredwin <edwin@FreeBSD.org>2003-08-31 00:43:52 +0000
commit23e25922cccbfa6f4d0db2057b22252ee71d8f69 (patch)
treea3bb6c6273c69ed425fe3f379a01ea139da3846b /lang
parent7d2a9a684835dc14c00c8cac7fe04952c4744a64 (diff)
downloadFreeBSD-ports-23e25922cccbfa6f4d0db2057b22252ee71d8f69.zip
FreeBSD-ports-23e25922cccbfa6f4d0db2057b22252ee71d8f69.tar.gz
[PATCH] lang/logo: enable choose of ghostscript interpreter
This patch allows the admin of the machine to choose either print/ghostscript-gnu or print/ghostscript-afp1 PR: ports/54936 Submitted by: Jens Rehsack <rehsack@liwing.de>
Diffstat (limited to 'lang')
-rw-r--r--lang/logo/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/lang/logo/Makefile b/lang/logo/Makefile
index 90be81a..a337c7f 100644
--- a/lang/logo/Makefile
+++ b/lang/logo/Makefile
@@ -20,8 +20,14 @@ BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs
.endif
.if defined(WITH_FULL_DOCS)
.undef NOPORTDOCS
+.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
+GSPORT?= print/ghostscript-afpl
+.else
+GSPORT?= print/ghostscript-gnu
+.endif
+
BUILD_DEPENDS+= tex:${PORTSDIR}/print/teTeX \
- ps2pdf:${PORTSDIR}/print/ghostscript-gnu
+ ps2pdf:${PORTSDIR}/${GSPORT}
.endif
USE_XLIB= yes
@@ -59,6 +65,10 @@ pre-fetch:
@${ECHO} ""
@${ECHO} " Define WITH_FULL_DOCS to build ps, pdf and html docs"
@${ECHO} " This requires teTeX and ghostscript !"
+.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
+ @${ECHO} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
+ @${ECHO} " AFPL Postscript interpreter instead of GNU one"
+.endif
@${ECHO} ""
.endif
OpenPOWER on IntegriCloud