[PATCH] graphics/ipe: 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/54929 Submitted by: Jens Rehsack <rehsack@liwing.de>
This commit is contained in:
parent
9379ef6cc7
commit
35d8f897d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88127
1 changed files with 15 additions and 1 deletions
|
@ -15,10 +15,24 @@ MASTER_SITES= ftp://ftp.cs.uni-magdeburg.de/pub/ipe/ \
|
|||
MAINTAINER= bremner@unb.ca
|
||||
COMMENT= Extensible drawing editor
|
||||
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu \
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT} \
|
||||
latex:${PORTSDIR}/print/teTeX
|
||||
|
||||
USE_XLIB= yes
|
||||
USE_MOTIF= yes
|
||||
|
||||
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
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue