aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/rubygem-mini_magick/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/graphics/rubygem-mini_magick/Makefile b/graphics/rubygem-mini_magick/Makefile
index c090a173b4df..c6076d2af20e 100644
--- a/graphics/rubygem-mini_magick/Makefile
+++ b/graphics/rubygem-mini_magick/Makefile
@@ -3,16 +3,26 @@
PORTNAME= mini_magick
PORTVERSION= 4.2.4
+PORTREVISION= 1
CATEGORIES= graphics rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= Manipulate images with minimal use of memory via ImageMagick
-RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
-
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
+OPTIONS_DEFINE= X11
+OPTIONS_DEFAULT=X11
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MX11}
+RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
+.else
+RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick-nox11
+.endif
+
.include <bsd.port.mk>