Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2024 11:56:02 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: 606efbe70dc5 - main - graphics/rubygem-mini_magick4: Add x11 and nox11 flavors
Message-ID:  <202408151156.47FBu2ii060075@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=606efbe70dc5c406103affda8d888471d881baa4

commit 606efbe70dc5c406103affda8d888471d881baa4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-15 11:45:28 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-15 11:47:38 +0000

    graphics/rubygem-mini_magick4: Add x11 and nox11 flavors
---
 graphics/rubygem-mini_magick4/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/graphics/rubygem-mini_magick4/Makefile b/graphics/rubygem-mini_magick4/Makefile
index e6c139bd6aff..84fa9dfbb1ba 100644
--- a/graphics/rubygem-mini_magick4/Makefile
+++ b/graphics/rubygem-mini_magick4/Makefile
@@ -2,7 +2,7 @@ PORTNAME=	mini_magick
 PORTVERSION=	4.13.2
 CATEGORIES=	graphics rubygems
 MASTER_SITES=	RG
-PKGNAMESUFFIX=	4
+PKGNAMESUFFIX?=	4
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Manipulate images with minimal use of memory via ImageMagick
@@ -11,10 +11,14 @@ WWW=		https://github.com/minimagick/minimagick
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
 
-USES=		gem magick
+USES=		gem magick:${FLAVOR}
 
 NO_ARCH=	yes
 
+FLAVORS=	x11 nox11
+FLAVOR?=	${FLAVORS:[1]}
+nox11_PKGNAMESUFFIX=	4-nox11
+
 PORTSCOUT=	limit:^4\.
 
 .include <bsd.port.mk>



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