graphics/rubygem-mini_magick: Convert to USES=magick

Use the default ImageMagick since all of them (ImageMagick{6,7}{,-nox11}) are mutually exclusive.
This commit is contained in:
Po-Chuan Hsieh 2023-01-31 07:49:18 +08:00
parent c7b0f1d199
commit 82803a0404
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -10,31 +10,8 @@ WWW= https://github.com/minimagick/minimagick
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
OPTIONS_DEFINE= X11
OPTIONS_SINGLE= IMAGEMAGICK
OPTIONS_SINGLE_IMAGEMAGICK= IMAGEMAGICK6 IMAGEMAGICK7
OPTIONS_DEFAULT=IMAGEMAGICK7 X11
IMAGEMAGICK6_DESC= Use ImageMagick 6.x (graphics/ImageMagick6*)
IMAGEMAGICK7_DESC= Use ImageMagick 7.x (graphics/ImageMagick7*)
USES= gem
USES= gem magick
NO_ARCH= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MX11}
.if ${PORT_OPTIONS:MIMAGEMAGICK7}
USES+= magick:7
.else
USES+= magick:6
.endif
.else
.if ${PORT_OPTIONS:MIMAGEMAGICK7}
USES+= magick:7,nox11
.else
USES+= magick:6,nox11
.endif
.endif
.include <bsd.port.mk>