From b07dab8fcea68acbe264a925fc0c33faca47eef6 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sun, 31 Aug 2003 00:32:01 +0000 Subject: [PATCH] [PATCH] graphics/eps2png: 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/54927 Submitted by: Jens Rehsack --- graphics/eps2png/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/graphics/eps2png/Makefile b/graphics/eps2png/Makefile index 68c2664ecf21..b8fad6d096d1 100644 --- a/graphics/eps2png/Makefile +++ b/graphics/eps2png/Makefile @@ -15,7 +15,13 @@ MASTER_SITE_SUBDIR= ../../authors/Johan_Vromans MAINTAINER= nik@freebsd.org COMMENT= Converts EPS images to PNG -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} PERL_CONFIGURE= yes