freebsd-ports/graphics/rubygem-mini_magick/Makefile
Koop Mast 289883b11b Update ImageMagick to 6.9.10.14 [1]
* Add PKGNAMESUFFIX and rename the directory. This was done to show
  that IM6 is not the "main" version. But still fully supported by upstream.
* Convert a number of options to optionhelpers.
* Add option for ISO/IEC 23008-12:2017 HEIF suport
* Add comment to pkg-descr explaining IM6's "legacy" tag.
* Add comment to the patch-config_policy.xml file why it still needed.

Please note that IM7 is not a drop in replacement due to library API and
command arguments changes. And as a result ports need to decide for themself
which version to use.

Chase these changes in all the ports that using IM6.

PR:		225102 (based on, only the version update) [1]
Submitted by:	Pascal Christen <pascal.christen@hostpoint.ch>
2018-11-10 19:57:07 +00:00

44 lines
992 B
Makefile

# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= mini_magick
PORTVERSION= 4.9.2
PORTREVISION= 1
CATEGORIES= graphics rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= Manipulate images with minimal use of memory via ImageMagick
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
OPTIONS_DEFINE= X11
OPTIONS_SINGLE= IMAGEMAGICK
OPTIONS_SINGLE_IMAGEMAGICK= IMAGEMAGICK6 IMAGEMAGICK7
OPTIONS_DEFAULT=IMAGEMAGICK6 X11
IMAGEMAGICK6_DESC= Use ImageMagick 6.x (graphics/ImageMagick6)
IMAGEMAGICK7_DESC= Use ImageMagick 7.x (graphics/ImageMagick7)
USES= gem
USE_RUBY= yes
NO_ARCH= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MX11}
.if ${PORT_OPTIONS:MIMAGEMAGICK6}
RUN_DEPENDS+= convert:graphics/ImageMagick6
.else
RUN_DEPENDS+= convert:graphics/ImageMagick7
.endif
.else
.if ${PORT_OPTIONS:MIMAGEMAGICK6}
RUN_DEPENDS+= convert:graphics/ImageMagick6-nox11
.else
RUN_DEPENDS+= convert:graphics/ImageMagick7-nox11
.endif
.endif
.include <bsd.port.mk>