summaryrefslogtreecommitdiff
path: root/graphics/ImageMagick
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-20 15:01:39 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-20 15:01:39 +0000
commit01f39cc932e02425df9ac0889d792ca3f334f620 (patch)
tree03db02a8eba9c4e0726b3b1d2791cc81e5bfb92e /graphics/ImageMagick
parent* Add USE_PERL5_BUILD (diff)
- Add patch to choose build for print/ghostscript-gnu and
print/ghostscript-afp1 PR: 54926 Submitted by: Jens Rehsack <rehsack@liwing.de>
Notes
Notes: svn path=/head/; revision=94475
Diffstat (limited to 'graphics/ImageMagick')
-rw-r--r--graphics/ImageMagick/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index 0e583f833954..410cbff34df6 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -213,12 +213,18 @@ CONFIGURE_ARGS+= --without-mpeg2
.endif
.if defined(NEED_GS)
+.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
+GSPORT?= print/ghostscript-afpl
+.else
+GSPORT?= print/ghostscript-gnu
+.endif
+
.if defined(WITHOUT_X11)
-BUILD_DEPENDS+= gs:${PORTSDIR}/print/ghostscript-gnu-nox11
-RUN_DEPENDS+= gs:${PORTSDIR}/print/ghostscript-gnu-nox11
+BUILD_DEPENDS+= gs:${PORTSDIR}/${GSPORT}-nox11
+RUN_DEPENDS+= gs:${PORTSDIR}/${GSPORT}-nox11
.else
-BUILD_DEPENDS+= gs:${PORTSDIR}/print/ghostscript-gnu
-RUN_DEPENDS+= gs:${PORTSDIR}/print/ghostscript-gnu
+BUILD_DEPENDS+= gs:${PORTSDIR}/${GSPORT}
+RUN_DEPENDS+= gs:${PORTSDIR}/${GSPORT}
.endif
.endif