From 606efbe70dc5c406103affda8d888471d881baa4 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Thu, 15 Aug 2024 19:45:28 +0800 Subject: [PATCH] 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