mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
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:
parent
c7b0f1d199
commit
82803a0404
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user