aboutsummaryrefslogtreecommitdiff
path: root/lang/logo
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-08-31 00:43:52 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-08-31 00:43:52 +0000
commite0db397055e1ba617a675251e651472c5ed87226 (patch)
treed31941bce0fca398eb69915ed730780d6d52d8d8 /lang/logo
parent53cb43037f7d08ccc8d413b1ef630757f8b6be22 (diff)
downloadports-e0db397055e1ba617a675251e651472c5ed87226.tar.gz
ports-e0db397055e1ba617a675251e651472c5ed87226.zip
Notes
Diffstat (limited to 'lang/logo')
-rw-r--r--lang/logo/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/lang/logo/Makefile b/lang/logo/Makefile
index 90be81a18fd6..a337c7f06c1f 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