Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Feb 2023 16:03:09 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 365cd368a16e - main - graphics/rubygem-mini_magick410: Convert to USES=magick
Message-ID:  <202302051603.315G39Ha055615@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 365cd368a16efe2514c8efac5a9f38830e0af7e1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-02-05 15:26:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-02-05 15:49:47 +0000

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

diff --git a/graphics/rubygem-mini_magick410/Makefile b/graphics/rubygem-mini_magick410/Makefile
index b9d2e089ef43..a828c855e890 100644
--- a/graphics/rubygem-mini_magick410/Makefile
+++ b/graphics/rubygem-mini_magick410/Makefile
@@ -11,33 +11,10 @@ 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
 
 PORTSCOUT=	limit:^4\.10\.
 
-.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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302051603.315G39Ha055615>