aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-09-23 00:45:23 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-09-23 00:45:23 +0800
commit0641fbcea740aa59f688c494dcf0d59bb258bafc (patch)
tree6f7fcf7d777dfd84e748eca0e837ddcf57926a2c /graphics
parentefc1aca09ea4c5853fd00f78b38b010b5f86d24a (diff)
downloadfreebsd-ports-gnome-0641fbcea740aa59f688c494dcf0d59bb258bafc.tar.gz
freebsd-ports-gnome-0641fbcea740aa59f688c494dcf0d59bb258bafc.tar.zst
freebsd-ports-gnome-0641fbcea740aa59f688c494dcf0d59bb258bafc.zip
Update to 4.9.0
- Add ImageMagick 7 support Changes: https://github.com/minimagick/minimagick/releases
Diffstat (limited to 'graphics')
-rw-r--r--graphics/rubygem-mini_magick/Makefile30
-rw-r--r--graphics/rubygem-mini_magick/distinfo6
2 files changed, 27 insertions, 9 deletions
diff --git a/graphics/rubygem-mini_magick/Makefile b/graphics/rubygem-mini_magick/Makefile
index d8d35023b197..ff7f1b9f11b0 100644
--- a/graphics/rubygem-mini_magick/Makefile
+++ b/graphics/rubygem-mini_magick/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mini_magick
-PORTVERSION= 4.8.0
+PORTVERSION= 4.9.0
CATEGORIES= graphics rubygems
MASTER_SITES= RG
@@ -13,13 +13,31 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
OPTIONS_DEFINE= X11
-OPTIONS_DEFAULT=X11
+OPTIONS_SINGLE= IMAGEMAGICK
+OPTIONS_SINGLE_IMAGEMAGICK= IMAGEMAGICK6 IMAGEMAGICK7
+OPTIONS_DEFAULT=IMAGEMAGICK6 X11
+IMAGEMAGICK6_DESC= Use ImageMagick 6.x (graphics/ImageMagick)
+IMAGEMAGICK7_DESC= Use ImageMagick 7.x (graphics/ImageMagick7)
-NO_ARCH= yes
-USE_RUBY= yes
USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.options.mk>
-X11_RUN_DEPENDS= convert:graphics/ImageMagick
-X11_RUN_DEPENDS_OFF= convert:graphics/ImageMagick-nox11
+.if ${PORT_OPTIONS:MX11}
+.if ${PORT_OPTIONS:MIMAGEMAGICK6}
+RUN_DEPENDS+= convert:graphics/ImageMagick
+.else
+RUN_DEPENDS+= convert:graphics/ImageMagick7
+.endif
+.else
+.if ${PORT_OPTIONS:MIMAGEMAGICK6}
+RUN_DEPENDS+= convert:graphics/ImageMagick-nox11
+.else
+RUN_DEPENDS+= convert:graphics/ImageMagick7-nox11
+.endif
+.endif
.include <bsd.port.mk>
diff --git a/graphics/rubygem-mini_magick/distinfo b/graphics/rubygem-mini_magick/distinfo
index 9296780b3a5c..5d9a73fc4ba8 100644
--- a/graphics/rubygem-mini_magick/distinfo
+++ b/graphics/rubygem-mini_magick/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1499439036
-SHA256 (rubygem/mini_magick-4.8.0.gem) = 163ccc757d7fa55f8d9b4197b2f8fa41ee70616f962c6ef236d8f09e93765db6
-SIZE (rubygem/mini_magick-4.8.0.gem) = 17920
+TIMESTAMP = 1537547702
+SHA256 (rubygem/mini_magick-4.9.0.gem) = 15fa2425aeeb519b8dcf74c7f2514bb193e076b2b37ad9a0fc811f48780cead1
+SIZE (rubygem/mini_magick-4.9.0.gem) = 17920