aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2016-04-28 00:36:41 +0800
committerswills <swills@FreeBSD.org>2016-04-28 00:36:41 +0800
commit900b8428054e4288c9669f4f17359be2ae8a45c3 (patch)
tree146c1b1aad08357a95df3348dea477d956cd3816 /graphics
parentc5f5d48270cbe2ede4cb24ba577ced5ea769dd2f (diff)
downloadfreebsd-ports-gnome-900b8428054e4288c9669f4f17359be2ae8a45c3.tar.gz
freebsd-ports-gnome-900b8428054e4288c9669f4f17359be2ae8a45c3.tar.zst
freebsd-ports-gnome-900b8428054e4288c9669f4f17359be2ae8a45c3.zip
create USES=gem and update rubygem- ports to use it
Note that for now ports still have to have USE_RUBY=yes to use USES=gem PR: 209041 Differential Revision: https://reviews.freebsd.org/D6070
Diffstat (limited to 'graphics')
-rw-r--r--graphics/rubygem-cairo/Makefile4
-rw-r--r--graphics/rubygem-captcha/Makefile3
-rw-r--r--graphics/rubygem-chunky_png/Makefile3
-rw-r--r--graphics/rubygem-clutter-gtk/Makefile3
-rw-r--r--graphics/rubygem-clutter/Makefile3
-rw-r--r--graphics/rubygem-dragonfly/Makefile4
-rw-r--r--graphics/rubygem-emoji/Makefile3
-rw-r--r--graphics/rubygem-exifr/Makefile3
-rw-r--r--graphics/rubygem-ezprint/Makefile3
-rw-r--r--graphics/rubygem-fastimage/Makefile3
-rw-r--r--graphics/rubygem-flamegraph/Makefile3
-rw-r--r--graphics/rubygem-gd2/Makefile3
-rw-r--r--graphics/rubygem-gdk_pixbuf2/Makefile3
-rw-r--r--graphics/rubygem-gemojione/Makefile3
-rw-r--r--graphics/rubygem-geokit/Makefile3
-rw-r--r--graphics/rubygem-gitlab_emoji/Makefile3
-rw-r--r--graphics/rubygem-goocanvas/Makefile3
-rw-r--r--graphics/rubygem-gruff/Makefile4
-rw-r--r--graphics/rubygem-image_science/Makefile3
-rw-r--r--graphics/rubygem-imagesize/Makefile3
-rw-r--r--graphics/rubygem-mini_magick/Makefile3
-rw-r--r--graphics/rubygem-objectdetect/Makefile4
-rw-r--r--graphics/rubygem-opengl/Makefile3
-rw-r--r--graphics/rubygem-pdfkit/Makefile3
-rw-r--r--graphics/rubygem-png/Makefile3
-rw-r--r--graphics/rubygem-railroad/Makefile3
-rw-r--r--graphics/rubygem-rmagick/Makefile4
-rw-r--r--graphics/rubygem-rsvg2/Makefile3
-rw-r--r--graphics/rubygem-ruby-graphviz/Makefile3
-rw-r--r--graphics/rubygem-scruffy/Makefile3
30 files changed, 30 insertions, 65 deletions
diff --git a/graphics/rubygem-cairo/Makefile b/graphics/rubygem-cairo/Makefile
index a5f12b4aabb2..32d3e6035c39 100644
--- a/graphics/rubygem-cairo/Makefile
+++ b/graphics/rubygem-cairo/Makefile
@@ -14,10 +14,8 @@ LICENSE_COMB= dual
RUN_DEPENDS= rubygem-pkg-config>=1.1.5:devel/rubygem-pkg-config
-USES= pkgconfig
USE_GNOME= cairo
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist pkgconfig
.include <bsd.port.mk>
diff --git a/graphics/rubygem-captcha/Makefile b/graphics/rubygem-captcha/Makefile
index 742bf042b79a..eaf3719162d2 100644
--- a/graphics/rubygem-captcha/Makefile
+++ b/graphics/rubygem-captcha/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-rmagick>=2.9.2:graphics/rubygem-rmagick
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-chunky_png/Makefile b/graphics/rubygem-chunky_png/Makefile
index 3b48ac3d1772..eca788838fff 100644
--- a/graphics/rubygem-chunky_png/Makefile
+++ b/graphics/rubygem-chunky_png/Makefile
@@ -15,7 +15,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-clutter-gtk/Makefile b/graphics/rubygem-clutter-gtk/Makefile
index b4f3ba80f158..953a03d52e9a 100644
--- a/graphics/rubygem-clutter-gtk/Makefile
+++ b/graphics/rubygem-clutter-gtk/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-clutter>=${PORTVERSION}:graphics/rubygem-clutter \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-clutter/Makefile b/graphics/rubygem-clutter/Makefile
index 17636da88944..129e82b5cfe7 100644
--- a/graphics/rubygem-clutter/Makefile
+++ b/graphics/rubygem-clutter/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-cairo-gobject>=${PORTVERSION}:devel/rubygem-cairo-gobject \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-dragonfly/Makefile b/graphics/rubygem-dragonfly/Makefile
index 0696a1bf4003..f3b03e60c180 100644
--- a/graphics/rubygem-dragonfly/Makefile
+++ b/graphics/rubygem-dragonfly/Makefile
@@ -19,9 +19,7 @@ RUN_DEPENDS= rubygem-addressable>=2.3:www/rubygem-addressable \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= shebangfix
+USES= gem:autoplist shebangfix
SHEBANG_FILES= dev/test_rails
ruby_OLD_CMD= "env ruby"
diff --git a/graphics/rubygem-emoji/Makefile b/graphics/rubygem-emoji/Makefile
index c85f53963719..97a00d2b4f87 100644
--- a/graphics/rubygem-emoji/Makefile
+++ b/graphics/rubygem-emoji/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-json>=0:devel/rubygem-json
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-exifr/Makefile b/graphics/rubygem-exifr/Makefile
index a684971700ae..bcd1c987c41e 100644
--- a/graphics/rubygem-exifr/Makefile
+++ b/graphics/rubygem-exifr/Makefile
@@ -13,8 +13,7 @@ LICENSE= MIT
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/exifr
diff --git a/graphics/rubygem-ezprint/Makefile b/graphics/rubygem-ezprint/Makefile
index 0f693a89cc2a..69635a31b88a 100644
--- a/graphics/rubygem-ezprint/Makefile
+++ b/graphics/rubygem-ezprint/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-pdfkit>=0.5.0:graphics/rubygem-pdfkit
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-fastimage/Makefile b/graphics/rubygem-fastimage/Makefile
index 9e509ec92d63..fd63ddbf8de5 100644
--- a/graphics/rubygem-fastimage/Makefile
+++ b/graphics/rubygem-fastimage/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-addressable>=2.3.5:www/rubygem-addressable
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-flamegraph/Makefile b/graphics/rubygem-flamegraph/Makefile
index 2ae79969323b..4c6cb1217435 100644
--- a/graphics/rubygem-flamegraph/Makefile
+++ b/graphics/rubygem-flamegraph/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-fast_stack>=0:devel/rubygem-fast_stack
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-gd2/Makefile b/graphics/rubygem-gd2/Makefile
index 779ba3df16eb..73c9a6ea8002 100644
--- a/graphics/rubygem-gd2/Makefile
+++ b/graphics/rubygem-gd2/Makefile
@@ -17,8 +17,7 @@ LIB_DEPENDS= libgd.so:graphics/gd
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
post-patch:
@${REINPLACE_CMD} 's|libgd.so.2|libgd.so.5|' ${WRKSRC}/lib/gd2.rb
diff --git a/graphics/rubygem-gdk_pixbuf2/Makefile b/graphics/rubygem-gdk_pixbuf2/Makefile
index 58a6a057ccb6..09c88919419e 100644
--- a/graphics/rubygem-gdk_pixbuf2/Makefile
+++ b/graphics/rubygem-gdk_pixbuf2/Makefile
@@ -14,7 +14,6 @@ RUN_DEPENDS= rubygem-glib2>=${PORTVERSION}:devel/rubygem-glib2
USE_GNOME= gdkpixbuf2
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-gemojione/Makefile b/graphics/rubygem-gemojione/Makefile
index 5de26e1fd97b..2f8877c437ae 100644
--- a/graphics/rubygem-gemojione/Makefile
+++ b/graphics/rubygem-gemojione/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-json>=0:devel/rubygem-json
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-geokit/Makefile b/graphics/rubygem-geokit/Makefile
index ae9981d3836d..b30901b2061e 100644
--- a/graphics/rubygem-geokit/Makefile
+++ b/graphics/rubygem-geokit/Makefile
@@ -13,7 +13,6 @@ LICENSE= MIT
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-gitlab_emoji/Makefile b/graphics/rubygem-gitlab_emoji/Makefile
index 0fdbc5d44b73..80bbf58ae6c5 100644
--- a/graphics/rubygem-gitlab_emoji/Makefile
+++ b/graphics/rubygem-gitlab_emoji/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-gemojione>=2.2.1:graphics/rubygem-gemojione
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-goocanvas/Makefile b/graphics/rubygem-goocanvas/Makefile
index c679d238eb09..91a5784a3e84 100644
--- a/graphics/rubygem-goocanvas/Makefile
+++ b/graphics/rubygem-goocanvas/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-gobject-introspection>=${PORTVERSION}:devel/rubygem-gobject
rubygem-gtk3>=${PORTVERSION}:x11-toolkits/rubygem-gtk3
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-gruff/Makefile b/graphics/rubygem-gruff/Makefile
index 32c27b25e533..54dc0b37d458 100644
--- a/graphics/rubygem-gruff/Makefile
+++ b/graphics/rubygem-gruff/Makefile
@@ -17,9 +17,7 @@ RUN_DEPENDS= rubygem-rmagick>=2.13.4:graphics/rubygem-rmagick
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= shebangfix
+USES= gem:autoplist shebangfix
SHEBANG_FILES= test/image_compare.rb
ruby_OLD_CMD= ruby
diff --git a/graphics/rubygem-image_science/Makefile b/graphics/rubygem-image_science/Makefile
index a1b217dd24aa..8c1ce6ec1b96 100644
--- a/graphics/rubygem-image_science/Makefile
+++ b/graphics/rubygem-image_science/Makefile
@@ -17,8 +17,7 @@ RUN_DEPENDS= rubygem-rubyinline>=3.9:devel/rubygem-rubyinline
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/image_science_thumb
diff --git a/graphics/rubygem-imagesize/Makefile b/graphics/rubygem-imagesize/Makefile
index 5da5eba61974..c3a92c5e2628 100644
--- a/graphics/rubygem-imagesize/Makefile
+++ b/graphics/rubygem-imagesize/Makefile
@@ -15,7 +15,6 @@ LICENSE_COMB= dual
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-mini_magick/Makefile b/graphics/rubygem-mini_magick/Makefile
index 82ecb8749dff..2e4569602df1 100644
--- a/graphics/rubygem-mini_magick/Makefile
+++ b/graphics/rubygem-mini_magick/Makefile
@@ -16,8 +16,7 @@ OPTIONS_DEFAULT=X11
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
X11_RUN_DEPENDS= convert:graphics/ImageMagick
X11_RUN_DEPENDS_OFF= convert:graphics/ImageMagick-nox11
diff --git a/graphics/rubygem-objectdetect/Makefile b/graphics/rubygem-objectdetect/Makefile
index f507cbc398cc..bf9dab658197 100644
--- a/graphics/rubygem-objectdetect/Makefile
+++ b/graphics/rubygem-objectdetect/Makefile
@@ -14,10 +14,8 @@ LICENSE= MIT
LIB_DEPENDS= libopencv_legacy.so:graphics/opencv
-USES= pkgconfig
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist pkgconfig
post-patch:
${REINPLACE_CMD} -E 's|(objectdetect)|\1/version|' ${WRKSRC}/test/test_helper.rb
diff --git a/graphics/rubygem-opengl/Makefile b/graphics/rubygem-opengl/Makefile
index 3b052478a50c..4a67c28bdf83 100644
--- a/graphics/rubygem-opengl/Makefile
+++ b/graphics/rubygem-opengl/Makefile
@@ -15,7 +15,6 @@ LICENSE= MIT
USE_GL= glut
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-pdfkit/Makefile b/graphics/rubygem-pdfkit/Makefile
index 2ad4861ac191..0824f458a405 100644
--- a/graphics/rubygem-pdfkit/Makefile
+++ b/graphics/rubygem-pdfkit/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= wkhtmltopdf:converters/wkhtmltopdf
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-png/Makefile b/graphics/rubygem-png/Makefile
index c48bb53ba8b7..91bc476b6ecf 100644
--- a/graphics/rubygem-png/Makefile
+++ b/graphics/rubygem-png/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-rubyinline>=3.9:devel/rubygem-rubyinline
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-railroad/Makefile b/graphics/rubygem-railroad/Makefile
index 5ccac65a197c..572822bd66c6 100644
--- a/graphics/rubygem-railroad/Makefile
+++ b/graphics/rubygem-railroad/Makefile
@@ -15,8 +15,7 @@ LICENSE_COMB= dual
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/railroad
diff --git a/graphics/rubygem-rmagick/Makefile b/graphics/rubygem-rmagick/Makefile
index 7ae970c11dde..6b1013de6a9c 100644
--- a/graphics/rubygem-rmagick/Makefile
+++ b/graphics/rubygem-rmagick/Makefile
@@ -14,9 +14,7 @@ OPTIONS_DEFINE= X11
OPTIONS_DEFAULT=X11
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= pkgconfig
+USES= gem:autoplist pkgconfig
X11_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick
X11_LIB_DEPENDS_OFF= libMagickWand-6.so:graphics/ImageMagick-nox11
diff --git a/graphics/rubygem-rsvg2/Makefile b/graphics/rubygem-rsvg2/Makefile
index f36ff54ad08b..a93c6118f3dc 100644
--- a/graphics/rubygem-rsvg2/Makefile
+++ b/graphics/rubygem-rsvg2/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-cairo>=1.12.8:graphics/rubygem-cairo \
USE_GNOME= librsvg2
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/graphics/rubygem-ruby-graphviz/Makefile b/graphics/rubygem-ruby-graphviz/Makefile
index a836719c150e..e89785afa0a8 100644
--- a/graphics/rubygem-ruby-graphviz/Makefile
+++ b/graphics/rubygem-ruby-graphviz/Makefile
@@ -16,8 +16,7 @@ RUN_DEPENDS= ${LOCALBASE}/bin/gxl2dot:graphics/graphviz
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/dot2ruby bin/gem2gv bin/git2gv bin/ruby2gv bin/xml2gv
diff --git a/graphics/rubygem-scruffy/Makefile b/graphics/rubygem-scruffy/Makefile
index f4233dcd966a..6749a6030e90 100644
--- a/graphics/rubygem-scruffy/Makefile
+++ b/graphics/rubygem-scruffy/Makefile
@@ -15,8 +15,7 @@ LICENSE= MIT
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
post-patch:
@${REINPLACE_CMD} -e 's|#{options|0 0 #{options|' ${WRKSRC}/lib/scruffy/renderers/base.rb