git: ff20a70597bc - main - graphics/rubygem-image_processing: Add x11 and nox11 flavors
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Aug 2024 11:56:00 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ff20a70597bc7987d3fd0fda19acc31c67848d7b
commit ff20a70597bc7987d3fd0fda19acc31c67848d7b
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-15 11:46:45 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-15 11:47:37 +0000
graphics/rubygem-image_processing: Add x11 and nox11 flavors
---
graphics/rubygem-image_processing/Makefile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/graphics/rubygem-image_processing/Makefile b/graphics/rubygem-image_processing/Makefile
index fa707968a80f..1789a6c6fa75 100644
--- a/graphics/rubygem-image_processing/Makefile
+++ b/graphics/rubygem-image_processing/Makefile
@@ -10,11 +10,15 @@ WWW= https://github.com/janko/image_processing
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-RUN_DEPENDS= rubygem-mini_magick4>=4.9.5<5:graphics/rubygem-mini_magick4 \
- rubygem-ruby-vips>=2.0.17<3:graphics/rubygem-ruby-vips
+RUN_DEPENDS= rubygem-mini_magick4${PKGNAMESUFFIX}>=4.9.5<5:graphics/rubygem-mini_magick4@${FLAVOR} \
+ rubygem-ruby-vips${PKGNAMESUFFIX}>=2.0.17<3:graphics/rubygem-ruby-vips@${FLAVOR}
USES= gem
NO_ARCH= yes
+FLAVORS= x11 nox11
+FLAVOR?= ${FLAVORS:[1]}
+nox11_PKGNAMESUFFIX= -nox11
+
.include <bsd.port.mk>