[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:
Edwin Groothuis 2003-08-31 00:34:19 +00:00
parent 9379ef6cc7
commit 35d8f897d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88127

View File

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