aboutsummaryrefslogtreecommitdiff
path: root/graphics/rubygem-ruby-vips
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-08-15 09:46:16 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-08-15 11:47:38 +0000
commite72ba6453422807521418bc76e5b352f42e5dbfa (patch)
tree5a73a860589ac259aaa3959b4153bde63c2be18a /graphics/rubygem-ruby-vips
parent606efbe70dc5c406103affda8d888471d881baa4 (diff)
Diffstat (limited to 'graphics/rubygem-ruby-vips')
-rw-r--r--graphics/rubygem-ruby-vips/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/rubygem-ruby-vips/Makefile b/graphics/rubygem-ruby-vips/Makefile
index d7827c4bb4f2..5227b23e9c7f 100644
--- a/graphics/rubygem-ruby-vips/Makefile
+++ b/graphics/rubygem-ruby-vips/Makefile
@@ -10,7 +10,7 @@ WWW= https://github.com/libvips/ruby-vips
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-LIB_DEPENDS= libvips.so:graphics/vips
+LIB_DEPENDS= libvips.so:graphics/vips@${FLAVOR}
RUN_DEPENDS= rubygem-ffi>=1.12<2:devel/rubygem-ffi \
rubygem-logger>=0:devel/rubygem-logger
@@ -19,6 +19,10 @@ USE_GNOME= glib20
NO_ARCH= yes
+FLAVORS= x11 nox11
+FLAVOR?= ${FLAVORS:[1]}
+nox11_PKGNAMESUFFIX= -nox11
+
SHEBANG_FILES= example/*.rb
.include <bsd.port.mk>