1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

[PATCH] textproc/prosper: 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/54953
Submitted by:	Jens Rehsack <rehsack@liwing.de>
This commit is contained in:
Edwin Groothuis 2003-08-31 01:22:57 +00:00
parent 181f872139
commit b0131ccd96
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88147

View File

@ -17,9 +17,15 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= thierry@pompo.net
COMMENT= Prosper is a LaTeX class for writing transparencies
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
GSPORT?= print/ghostscript-afpl
.else
GSPORT?= print/ghostscript-gnu
.endif
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \
ps2pdf:${PORTSDIR}/print/ghostscript-gnu
ps2pdf:${PORTSDIR}/${GSPORT}
NO_BUILD= yes
@ -39,6 +45,14 @@ DOCS= AUTHORS ChangeLog FAQ INSTALL NEWS README TODO \
doc/rotation.ps doc/rotation.tex
EXAMPLES_DIR= doc/doc-examples
pre-fetch:
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
@${ECHO} ""
@${ECHO} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
@${ECHO} " AFPL Postscript interpreter instead of GNU one"
@${ECHO} ""
.endif
post-extract:
@${GZCAT} -c ${DISTDIR}/PPRblends.sty.gz > \
${WRKSRC}/contrib/PPRblends.sty