git: df7041a2ce93 - main - graphics/py-wand: Convert to USES=magick

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 10 Sep 2022 13:04:08 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=df7041a2ce93a83385a2db6d69fa421a72ecdcd6

commit df7041a2ce93a83385a2db6d69fa421a72ecdcd6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-09-10 12:53:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-09-10 13:02:46 +0000

    graphics/py-wand: Convert to USES=magick
    
    Use the default ImageMagick since all of them (ImageMagick{6,7}{,-nox11}) are mutually exclusive.
---
 graphics/py-wand/Makefile | 25 +------------------------
 1 file changed, 1 insertion(+), 24 deletions(-)

diff --git a/graphics/py-wand/Makefile b/graphics/py-wand/Makefile
index 552aabeaff68..8466489ecd36 100644
--- a/graphics/py-wand/Makefile
+++ b/graphics/py-wand/Makefile
@@ -11,32 +11,9 @@ WWW=		https://github.com/emcconville/wand
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		python:3.6+
+USES=		magick python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-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*)
-
-.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>