mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 15:36:35 -04: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:
parent
181f872139
commit
b0131ccd96
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88147
1 changed files with 15 additions and 1 deletions
|
@ -17,9 +17,15 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||||
MAINTAINER= thierry@pompo.net
|
MAINTAINER= thierry@pompo.net
|
||||||
COMMENT= Prosper is a LaTeX class for writing transparencies
|
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
|
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX
|
||||||
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \
|
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \
|
||||||
ps2pdf:${PORTSDIR}/print/ghostscript-gnu
|
ps2pdf:${PORTSDIR}/${GSPORT}
|
||||||
|
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
|
||||||
|
@ -39,6 +45,14 @@ DOCS= AUTHORS ChangeLog FAQ INSTALL NEWS README TODO \
|
||||||
doc/rotation.ps doc/rotation.tex
|
doc/rotation.ps doc/rotation.tex
|
||||||
EXAMPLES_DIR= doc/doc-examples
|
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:
|
post-extract:
|
||||||
@${GZCAT} -c ${DISTDIR}/PPRblends.sty.gz > \
|
@${GZCAT} -c ${DISTDIR}/PPRblends.sty.gz > \
|
||||||
${WRKSRC}/contrib/PPRblends.sty
|
${WRKSRC}/contrib/PPRblends.sty
|
||||||
|
|
Loading…
Add table
Reference in a new issue