aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/eps2png/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-08-31 08:32:01 +0800
committeredwin <edwin@FreeBSD.org>2003-08-31 08:32:01 +0800
commit3250eef853c14f4ac32fd93a8f1439bfd74edd2c (patch)
tree1673d383e73ce085d83c74b6f947753c8be8f10c /graphics/eps2png/Makefile
parent430989cfc208542df4f35a57e25b57882b7b2f37 (diff)
downloadfreebsd-ports-gnome-3250eef853c14f4ac32fd93a8f1439bfd74edd2c.tar.gz
freebsd-ports-gnome-3250eef853c14f4ac32fd93a8f1439bfd74edd2c.tar.zst
freebsd-ports-gnome-3250eef853c14f4ac32fd93a8f1439bfd74edd2c.zip
[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 <rehsack@liwing.de>
Diffstat (limited to 'graphics/eps2png/Makefile')
-rw-r--r--graphics/eps2png/Makefile8
1 files changed, 7 insertions, 1 deletions
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