diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-31 00:34:19 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-31 00:34:19 +0000 |
commit | 35d8f897d7091f2db1e4f4e025052825adca8455 (patch) | |
tree | 8ca98ce6e10dc36f9342dfa7ed3ee83c89276182 /graphics/ipe/Makefile | |
parent | [PATCH] graphics/epstool: enable choose of ghostscript interpreter (diff) |
[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>
Diffstat (limited to '')
-rw-r--r-- | graphics/ipe/Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/graphics/ipe/Makefile b/graphics/ipe/Makefile index 674ec227c21e..1fb60f896dd3 100644 --- a/graphics/ipe/Makefile +++ b/graphics/ipe/Makefile @@ -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> |