aboutsummaryrefslogtreecommitdiff
path: root/graphics/eps2png/Makefile
diff options
context:
space:
mode:
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