1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

[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>
This commit is contained in:
Edwin Groothuis 2003-08-31 00:43:52 +00:00
parent 53cb43037f
commit e0db397055
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88134

View File

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