summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-08-31 00:32:01 +0000
committeredwin <edwin@FreeBSD.org>2003-08-31 00:32:01 +0000
commit3250eef853c14f4ac32fd93a8f1439bfd74edd2c (patch)
tree1673d383e73ce085d83c74b6f947753c8be8f10c /graphics
parent430989cfc208542df4f35a57e25b57882b7b2f37 (diff)
downloadFreeBSD-ports-3250eef853c14f4ac32fd93a8f1439bfd74edd2c.zip
FreeBSD-ports-3250eef853c14f4ac32fd93a8f1439bfd74edd2c.tar.gz
[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')
-rw-r--r--graphics/eps2png/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/eps2png/Makefile b/graphics/eps2png/Makefile
index 68c2664..b8fad6d 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
OpenPOWER on IntegriCloud