aboutsummaryrefslogtreecommitdiffstats
path: root/www
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 /www
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 'www')
-rw-r--r--www/rubygem-ace-rails-ap/Makefile4
-rw-r--r--www/rubygem-actionpack/Makefile3
-rw-r--r--www/rubygem-actionpack4/Makefile3
-rw-r--r--www/rubygem-activeresource/Makefile3
-rw-r--r--www/rubygem-activeresource4/Makefile3
-rw-r--r--www/rubygem-acts-as-taggable-on/Makefile3
-rw-r--r--www/rubygem-acts-as-taggable-on3/Makefile3
-rw-r--r--www/rubygem-acts_as_taggable/Makefile3
-rw-r--r--www/rubygem-addressable/Makefile3
-rw-r--r--www/rubygem-akami/Makefile3
-rw-r--r--www/rubygem-amazon-ecs/Makefile3
-rw-r--r--www/rubygem-anemone/Makefile3
-rw-r--r--www/rubygem-asana/Makefile3
-rw-r--r--www/rubygem-async_sinatra/Makefile3
-rw-r--r--www/rubygem-bluecloth/Makefile4
-rw-r--r--www/rubygem-bootstrap-sass/Makefile3
-rw-r--r--www/rubygem-browser/Makefile3
-rw-r--r--www/rubygem-cal-heatmap-rails-rails4/Makefile3
-rw-r--r--www/rubygem-cal-heatmap-rails/Makefile3
-rw-r--r--www/rubygem-carrierwave/Makefile3
-rw-r--r--www/rubygem-cgi_multipart_eof_fix/Makefile3
-rw-r--r--www/rubygem-chosen-rails/Makefile3
-rw-r--r--www/rubygem-cookiejar/Makefile3
-rw-r--r--www/rubygem-crass/Makefile3
-rw-r--r--www/rubygem-cuba/Makefile3
-rw-r--r--www/rubygem-d3_rails-rails4/Makefile3
-rw-r--r--www/rubygem-d3_rails/Makefile3
-rw-r--r--www/rubygem-dashing/Makefile3
-rw-r--r--www/rubygem-davclient/Makefile3
-rw-r--r--www/rubygem-domainatrix/Makefile3
-rw-r--r--www/rubygem-dropzonejs-rails/Makefile3
-rw-r--r--www/rubygem-em-http-request/Makefile3
-rw-r--r--www/rubygem-em-socksify/Makefile3
-rw-r--r--www/rubygem-em-twitter/Makefile3
-rw-r--r--www/rubygem-em-websocket/Makefile3
-rw-r--r--www/rubygem-emk-sinatra-url-for/Makefile3
-rw-r--r--www/rubygem-erubis/Makefile3
-rw-r--r--www/rubygem-ethon/Makefile3
-rw-r--r--www/rubygem-eventmachine_httpserver/Makefile3
-rw-r--r--www/rubygem-faraday/Makefile3
-rw-r--r--www/rubygem-faraday_middleware/Makefile3
-rw-r--r--www/rubygem-fcgi/Makefile3
-rw-r--r--www/rubygem-feed-normalizer/Makefile3
-rw-r--r--www/rubygem-feedjira/Makefile3
-rw-r--r--www/rubygem-flowdock/Makefile3
-rw-r--r--www/rubygem-geminabox/Makefile3
-rw-r--r--www/rubygem-gitlab-flowdock-git-hook/Makefile3
-rw-r--r--www/rubygem-gitlab-gollum-lib/Makefile3
-rw-r--r--www/rubygem-gitlab-grack/Makefile3
-rw-r--r--www/rubygem-gollum-grit_adapter/Makefile3
-rw-r--r--www/rubygem-gollum-lib/Makefile3
-rw-r--r--www/rubygem-gollum-rugged_adapter/Makefile3
-rw-r--r--www/rubygem-gon-rails4/Makefile3
-rw-r--r--www/rubygem-gon/Makefile3
-rw-r--r--www/rubygem-hackpad-cli/Makefile3
-rw-r--r--www/rubygem-haml-coderay/Makefile3
-rw-r--r--www/rubygem-haml-contrib/Makefile3
-rw-r--r--www/rubygem-haml-rails-rails4/Makefile3
-rw-r--r--www/rubygem-haml-rails/Makefile3
-rw-r--r--www/rubygem-haml/Makefile3
-rw-r--r--www/rubygem-hashicorp-checkpoint/Makefile3
-rw-r--r--www/rubygem-heroku-api/Makefile3
-rw-r--r--www/rubygem-heroku-nav/Makefile3
-rw-r--r--www/rubygem-heroku/Makefile3
-rw-r--r--www/rubygem-hpricot/Makefile3
-rw-r--r--www/rubygem-html2haml/Makefile3
-rw-r--r--www/rubygem-http-cookie/Makefile3
-rw-r--r--www/rubygem-http-form_data/Makefile3
-rw-r--r--www/rubygem-http/Makefile3
-rw-r--r--www/rubygem-http_router/Makefile3
-rw-r--r--www/rubygem-httparty/Makefile3
-rw-r--r--www/rubygem-httpclient/Makefile3
-rw-r--r--www/rubygem-httpi/Makefile3
-rw-r--r--www/rubygem-innate/Makefile4
-rw-r--r--www/rubygem-jekyll-watch/Makefile3
-rw-r--r--www/rubygem-jekyll/Makefile3
-rw-r--r--www/rubygem-jekyll2/Makefile3
-rw-r--r--www/rubygem-journey/Makefile3
-rw-r--r--www/rubygem-jquery-atwho-rails-rails4/Makefile3
-rw-r--r--www/rubygem-jquery-atwho-rails/Makefile3
-rw-r--r--www/rubygem-jquery-rails/Makefile3
-rw-r--r--www/rubygem-jquery-rails4/Makefile3
-rw-r--r--www/rubygem-jquery-scrollto-rails/Makefile3
-rw-r--r--www/rubygem-jquery-turbolinks/Makefile3
-rw-r--r--www/rubygem-jquery-ui-rails-rails4/Makefile3
-rw-r--r--www/rubygem-jquery-ui-rails/Makefile3
-rw-r--r--www/rubygem-jruby-rack/Makefile3
-rw-r--r--www/rubygem-jsobfu/Makefile3
-rw-r--r--www/rubygem-jwt/Makefile3
-rw-r--r--www/rubygem-kaminari-rails4/Makefile3
-rw-r--r--www/rubygem-kaminari/Makefile3
-rw-r--r--www/rubygem-kensa/Makefile3
-rw-r--r--www/rubygem-layout_yullio_generator/Makefile3
-rw-r--r--www/rubygem-less/Makefile3
-rw-r--r--www/rubygem-lighthouse-api/Makefile3
-rw-r--r--www/rubygem-maruku/Makefile3
-rw-r--r--www/rubygem-mechanize/Makefile3
-rw-r--r--www/rubygem-mechanize26/Makefile3
-rw-r--r--www/rubygem-merb-assets/Makefile3
-rw-r--r--www/rubygem-merb-core/Makefile4
-rw-r--r--www/rubygem-merb-haml/Makefile3
-rw-r--r--www/rubygem-merb-helpers/Makefile3
-rw-r--r--www/rubygem-merb-param-protection/Makefile3
-rw-r--r--www/rubygem-mousetrap-rails/Makefile3
-rw-r--r--www/rubygem-multipart-post/Makefile3
-rw-r--r--www/rubygem-nanoc/Makefile3
-rw-r--r--www/rubygem-nested_form/Makefile3
-rw-r--r--www/rubygem-net-http-digest_auth/Makefile3
-rw-r--r--www/rubygem-net-http-digest_auth11/Makefile3
-rw-r--r--www/rubygem-net-http-persistent/Makefile3
-rw-r--r--www/rubygem-net-http-persistent25/Makefile3
-rw-r--r--www/rubygem-net-http-pipeline/Makefile3
-rw-r--r--www/rubygem-nicovideo/Makefile3
-rw-r--r--www/rubygem-ntlm-http/Makefile3
-rw-r--r--www/rubygem-octopress/Makefile3
-rw-r--r--www/rubygem-pagerduty/Makefile4
-rw-r--r--www/rubygem-passenger/Makefile5
-rw-r--r--www/rubygem-puma/Makefile4
-rw-r--r--www/rubygem-pusher-client/Makefile3
-rw-r--r--www/rubygem-rabbirack/Makefile4
-rw-r--r--www/rubygem-rack-accept/Makefile3
-rw-r--r--www/rubygem-rack-attack/Makefile3
-rw-r--r--www/rubygem-rack-cache/Makefile3
-rw-r--r--www/rubygem-rack-contrib/Makefile3
-rw-r--r--www/rubygem-rack-cors/Makefile3
-rw-r--r--www/rubygem-rack-mount/Makefile3
-rw-r--r--www/rubygem-rack-openid/Makefile3
-rw-r--r--www/rubygem-rack-protection/Makefile3
-rw-r--r--www/rubygem-rack-ssl/Makefile3
-rw-r--r--www/rubygem-rack-test/Makefile3
-rw-r--r--www/rubygem-rack/Makefile4
-rw-r--r--www/rubygem-rack15/Makefile4
-rw-r--r--www/rubygem-rack16/Makefile4
-rw-r--r--www/rubygem-rails/Makefile5
-rw-r--r--www/rubygem-rails4/Makefile4
-rw-r--r--www/rubygem-rails_autolink/Makefile3
-rw-r--r--www/rubygem-railties/Makefile3
-rw-r--r--www/rubygem-railties4/Makefile3
-rw-r--r--www/rubygem-raindrops/Makefile4
-rw-r--r--www/rubygem-ramaze/Makefile3
-rw-r--r--www/rubygem-raphael-rails/Makefile3
-rw-r--r--www/rubygem-redcloth/Makefile3
-rw-r--r--www/rubygem-redis-rack/Makefile3
-rw-r--r--www/rubygem-redis-rails/Makefile3
-rw-r--r--www/rubygem-redmine_acts_as_taggable_on/Makefile3
-rw-r--r--www/rubygem-responders-rails3/Makefile3
-rw-r--r--www/rubygem-responders/Makefile3
-rw-r--r--www/rubygem-rest-client/Makefile3
-rw-r--r--www/rubygem-rfacebook/Makefile3
-rw-r--r--www/rubygem-rfeedfinder/Makefile3
-rw-r--r--www/rubygem-rinku/Makefile3
-rw-r--r--www/rubygem-rkelly-remix/Makefile3
-rw-r--r--www/rubygem-robotex/Makefile3
-rw-r--r--www/rubygem-robots/Makefile3
-rw-r--r--www/rubygem-rqrcode-rails3/Makefile3
-rw-r--r--www/rubygem-rqrcode/Makefile3
-rw-r--r--www/rubygem-rtlit/Makefile3
-rw-r--r--www/rubygem-ruby-readability/Makefile3
-rw-r--r--www/rubygem-savon/Makefile3
-rw-r--r--www/rubygem-sawyer/Makefile3
-rw-r--r--www/rubygem-scrapi/Makefile3
-rw-r--r--www/rubygem-select2-rails/Makefile3
-rw-r--r--www/rubygem-selenium-webdriver/Makefile3
-rw-r--r--www/rubygem-semantic-ui-sass/Makefile3
-rw-r--r--www/rubygem-simple-rss/Makefile3
-rw-r--r--www/rubygem-sinatra-contrib/Makefile3
-rw-r--r--www/rubygem-sinatra-r18n/Makefile3
-rw-r--r--www/rubygem-sinatra-respond_to/Makefile3
-rw-r--r--www/rubygem-sinatra/Makefile3
-rw-r--r--www/rubygem-task_list/Makefile3
-rw-r--r--www/rubygem-thin/Makefile3
-rw-r--r--www/rubygem-tinyatom/Makefile3
-rw-r--r--www/rubygem-tinymce-rails/Makefile3
-rw-r--r--www/rubygem-totoridipjp/Makefile3
-rw-r--r--www/rubygem-tumblr_client/Makefile3
-rw-r--r--www/rubygem-turbolinks/Makefile3
-rw-r--r--www/rubygem-typhoeus/Makefile3
-rw-r--r--www/rubygem-uglifier/Makefile3
-rw-r--r--www/rubygem-underscore-rails/Makefile3
-rw-r--r--www/rubygem-unicorn-worker-killer/Makefile3
-rw-r--r--www/rubygem-unicorn/Makefile4
-rw-r--r--www/rubygem-url-mount/Makefile3
-rw-r--r--www/rubygem-url_escape/Makefile3
-rw-r--r--www/rubygem-wasabi/Makefile3
-rw-r--r--www/rubygem-webkit-gtk/Makefile3
-rw-r--r--www/rubygem-webkit-gtk2/Makefile3
-rw-r--r--www/rubygem-webmock/Makefile3
-rw-r--r--www/rubygem-webrobots/Makefile3
-rw-r--r--www/rubygem-websocket/Makefile3
-rw-r--r--www/rubygem-yapra/Makefile3
190 files changed, 190 insertions, 397 deletions
diff --git a/www/rubygem-ace-rails-ap/Makefile b/www/rubygem-ace-rails-ap/Makefile
index 84e7f33b89e6..9a40267381c5 100644
--- a/www/rubygem-ace-rails-ap/Makefile
+++ b/www/rubygem-ace-rails-ap/Makefile
@@ -14,9 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= shebangfix
+USES= gem:autoplist shebangfix
SHEBANG_FILES= update.sh
diff --git a/www/rubygem-actionpack/Makefile b/www/rubygem-actionpack/Makefile
index 0b2d9d7c137b..7e32e5aa539f 100644
--- a/www/rubygem-actionpack/Makefile
+++ b/www/rubygem-actionpack/Makefile
@@ -24,7 +24,6 @@ RUN_DEPENDS= rubygem-activemodel>=${PORTVERSION}:databases/rubygem-activemodel \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-actionpack4/Makefile b/www/rubygem-actionpack4/Makefile
index 7566bf734e4e..52311bcb2e70 100644
--- a/www/rubygem-actionpack4/Makefile
+++ b/www/rubygem-actionpack4/Makefile
@@ -22,7 +22,6 @@ RUN_DEPENDS= rubygem-actionview>=${PORTVERSION}:devel/rubygem-actionview \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-activeresource/Makefile b/www/rubygem-activeresource/Makefile
index d767ae0cc558..25cee76438a2 100644
--- a/www/rubygem-activeresource/Makefile
+++ b/www/rubygem-activeresource/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-activemodel>=${PORTVERSION}:databases/rubygem-activemodel \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-activeresource4/Makefile b/www/rubygem-activeresource4/Makefile
index 40a8bed4935d..9799b6673a8e 100644
--- a/www/rubygem-activeresource4/Makefile
+++ b/www/rubygem-activeresource4/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= rubygem-activemodel4>=${PORTVERSION}:databases/rubygem-activemodel4
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-acts-as-taggable-on/Makefile b/www/rubygem-acts-as-taggable-on/Makefile
index 48d0fe693a2c..c836082f2e99 100644
--- a/www/rubygem-acts-as-taggable-on/Makefile
+++ b/www/rubygem-acts-as-taggable-on/Makefile
@@ -15,8 +15,7 @@ RUN_DEPENDS= rubygem-rails>=3.0:www/rubygem-rails
NO_ARCH= yes
USE_RUBY= YES
-USE_RUBYGEMS= YES
-RUBYGEM_AUTOPLIST= YES
+USES= gem:autoplist
BROKEN_RUBY23= yes
diff --git a/www/rubygem-acts-as-taggable-on3/Makefile b/www/rubygem-acts-as-taggable-on3/Makefile
index 78d36fe7d003..1c2cf90e5ce7 100644
--- a/www/rubygem-acts-as-taggable-on3/Makefile
+++ b/www/rubygem-acts-as-taggable-on3/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-activerecord4>=4.1.6:databases/rubygem-activerecord4
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-acts_as_taggable/Makefile b/www/rubygem-acts_as_taggable/Makefile
index 9f0aa0f2d194..103cdfc39bb9 100644
--- a/www/rubygem-acts_as_taggable/Makefile
+++ b/www/rubygem-acts_as_taggable/Makefile
@@ -12,7 +12,6 @@ COMMENT= Add tagging capabilities to your ActiveRecord objects
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-addressable/Makefile b/www/rubygem-addressable/Makefile
index 507660c22928..7a08b786f601 100644
--- a/www/rubygem-addressable/Makefile
+++ b/www/rubygem-addressable/Makefile
@@ -14,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-akami/Makefile b/www/rubygem-akami/Makefile
index 3009ded306af..429bea5c1d6f 100644
--- a/www/rubygem-akami/Makefile
+++ b/www/rubygem-akami/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-gyoku>=0.4.6:devel/rubygem-gyoku
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-amazon-ecs/Makefile b/www/rubygem-amazon-ecs/Makefile
index f81b7873b7c5..0ab3afb460e1 100644
--- a/www/rubygem-amazon-ecs/Makefile
+++ b/www/rubygem-amazon-ecs/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-nokogiri>=1.4:textproc/rubygem-nokogiri \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-anemone/Makefile b/www/rubygem-anemone/Makefile
index 9347d136d7c4..0561d1257e28 100644
--- a/www/rubygem-anemone/Makefile
+++ b/www/rubygem-anemone/Makefile
@@ -17,8 +17,7 @@ RUN_DEPENDS= rubygem-nokogiri>=1.3.0:textproc/rubygem-nokogiri \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/anemone
diff --git a/www/rubygem-asana/Makefile b/www/rubygem-asana/Makefile
index 7feb331982f2..85fb4ac4efaf 100644
--- a/www/rubygem-asana/Makefile
+++ b/www/rubygem-asana/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= rubygem-faraday>=0.9:www/rubygem-faraday \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-async_sinatra/Makefile b/www/rubygem-async_sinatra/Makefile
index 2f729c6e739c..61c6763b6eea 100644
--- a/www/rubygem-async_sinatra/Makefile
+++ b/www/rubygem-async_sinatra/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-rack16>=1.4.1:www/rubygem-rack16 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-bluecloth/Makefile b/www/rubygem-bluecloth/Makefile
index 851aa28a1c38..bb5739621019 100644
--- a/www/rubygem-bluecloth/Makefile
+++ b/www/rubygem-bluecloth/Makefile
@@ -12,9 +12,7 @@ COMMENT= Ruby implementation of Markdown, a text-to-HTML conversion tool
LICENSE= BSD3CLAUSE
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= shebangfix
+USES= gem:autoplist shebangfix
SHEBANG_FILES= bin/bluecloth
PLIST_FILES= bin/bluecloth
diff --git a/www/rubygem-bootstrap-sass/Makefile b/www/rubygem-bootstrap-sass/Makefile
index 215714476db1..7852f36a213b 100644
--- a/www/rubygem-bootstrap-sass/Makefile
+++ b/www/rubygem-bootstrap-sass/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-autoprefixer-rails>=5.2.1:textproc/rubygem-autoprefixer-rai
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-browser/Makefile b/www/rubygem-browser/Makefile
index 08b532337aa0..51285abb8af0 100644
--- a/www/rubygem-browser/Makefile
+++ b/www/rubygem-browser/Makefile
@@ -12,7 +12,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/www/rubygem-cal-heatmap-rails-rails4/Makefile b/www/rubygem-cal-heatmap-rails-rails4/Makefile
index df6326f01f78..344dde30ce99 100644
--- a/www/rubygem-cal-heatmap-rails-rails4/Makefile
+++ b/www/rubygem-cal-heatmap-rails-rails4/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-d3_rails-rails4>=3.4.6:www/rubygem-d3_rails-rails4
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-cal-heatmap-rails/Makefile b/www/rubygem-cal-heatmap-rails/Makefile
index e583528b3ec0..7d990644f7d3 100644
--- a/www/rubygem-cal-heatmap-rails/Makefile
+++ b/www/rubygem-cal-heatmap-rails/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-d3_rails>=3.4.6:www/rubygem-d3_rails
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-carrierwave/Makefile b/www/rubygem-carrierwave/Makefile
index dad642f4f8fb..f89f93583738 100644
--- a/www/rubygem-carrierwave/Makefile
+++ b/www/rubygem-carrierwave/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-activemodel4>=3.2.0:databases/rubygem-activemodel4 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-cgi_multipart_eof_fix/Makefile b/www/rubygem-cgi_multipart_eof_fix/Makefile
index 3e7640ee90d3..b18f90065dcf 100644
--- a/www/rubygem-cgi_multipart_eof_fix/Makefile
+++ b/www/rubygem-cgi_multipart_eof_fix/Makefile
@@ -14,7 +14,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/www/rubygem-chosen-rails/Makefile b/www/rubygem-chosen-rails/Makefile
index ace9513e4d06..1812204df75b 100644
--- a/www/rubygem-chosen-rails/Makefile
+++ b/www/rubygem-chosen-rails/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= rubygem-coffee-rails4>=3.2:devel/rubygem-coffee-rails4 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-cookiejar/Makefile b/www/rubygem-cookiejar/Makefile
index f33f2179686b..a97c15fb557c 100644
--- a/www/rubygem-cookiejar/Makefile
+++ b/www/rubygem-cookiejar/Makefile
@@ -14,7 +14,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/www/rubygem-crass/Makefile b/www/rubygem-crass/Makefile
index 08c8bdfbc5c8..95ab18d32924 100644
--- a/www/rubygem-crass/Makefile
+++ b/www/rubygem-crass/Makefile
@@ -14,7 +14,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/www/rubygem-cuba/Makefile b/www/rubygem-cuba/Makefile
index 077ac2d74a0c..18050f9d74e4 100644
--- a/www/rubygem-cuba/Makefile
+++ b/www/rubygem-cuba/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-rack16>=1.6.0:www/rubygem-rack16
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-d3_rails-rails4/Makefile b/www/rubygem-d3_rails-rails4/Makefile
index c35fbf4fc711..3939389574e3 100644
--- a/www/rubygem-d3_rails-rails4/Makefile
+++ b/www/rubygem-d3_rails-rails4/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-railties4>=3.1.0:www/rubygem-railties4
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-d3_rails/Makefile b/www/rubygem-d3_rails/Makefile
index 2407bbb36ce2..d1c1665739f3 100644
--- a/www/rubygem-d3_rails/Makefile
+++ b/www/rubygem-d3_rails/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-railties>=3.1.0:www/rubygem-railties
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-dashing/Makefile b/www/rubygem-dashing/Makefile
index 948a46325517..931fb564d4c3 100644
--- a/www/rubygem-dashing/Makefile
+++ b/www/rubygem-dashing/Makefile
@@ -28,8 +28,7 @@ RUN_DEPENDS= rubygem-sass32>=3.2.12:textproc/rubygem-sass32 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/dashing
diff --git a/www/rubygem-davclient/Makefile b/www/rubygem-davclient/Makefile
index 73ab26131546..4d55119016e7 100644
--- a/www/rubygem-davclient/Makefile
+++ b/www/rubygem-davclient/Makefile
@@ -14,8 +14,7 @@ LICENSE= GPLv2
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/dav
diff --git a/www/rubygem-domainatrix/Makefile b/www/rubygem-domainatrix/Makefile
index 5685406973ee..0031dda600df 100644
--- a/www/rubygem-domainatrix/Makefile
+++ b/www/rubygem-domainatrix/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-addressable>=0: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/www/rubygem-dropzonejs-rails/Makefile b/www/rubygem-dropzonejs-rails/Makefile
index 5192e29b362d..e8e5ed48dca3 100644
--- a/www/rubygem-dropzonejs-rails/Makefile
+++ b/www/rubygem-dropzonejs-rails/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-rails4>=3.1:www/rubygem-rails4
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-em-http-request/Makefile b/www/rubygem-em-http-request/Makefile
index f1f9a775606a..6dc9af94d3c0 100644
--- a/www/rubygem-em-http-request/Makefile
+++ b/www/rubygem-em-http-request/Makefile
@@ -19,7 +19,6 @@ RUN_DEPENDS= rubygem-addressable>=2.3.4: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/www/rubygem-em-socksify/Makefile b/www/rubygem-em-socksify/Makefile
index 1d4dcaab4ab9..2a42278de7a1 100644
--- a/www/rubygem-em-socksify/Makefile
+++ b/www/rubygem-em-socksify/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-eventmachine>=1.0.0:devel/rubygem-eventmachine
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-em-twitter/Makefile b/www/rubygem-em-twitter/Makefile
index 195302874701..2c034e948040 100644
--- a/www/rubygem-em-twitter/Makefile
+++ b/www/rubygem-em-twitter/Makefile
@@ -19,7 +19,6 @@ RUN_DEPENDS= rubygem-buftok>=0.2:devel/rubygem-buftok \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-em-websocket/Makefile b/www/rubygem-em-websocket/Makefile
index 9950396ebd70..b3455091965f 100644
--- a/www/rubygem-em-websocket/Makefile
+++ b/www/rubygem-em-websocket/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-eventmachine>=0.12.9:devel/rubygem-eventmachine \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-emk-sinatra-url-for/Makefile b/www/rubygem-emk-sinatra-url-for/Makefile
index d116ba6f78a0..1e7e9efa82ed 100644
--- a/www/rubygem-emk-sinatra-url-for/Makefile
+++ b/www/rubygem-emk-sinatra-url-for/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-sinatra>=0.9.1.1:www/rubygem-sinatra
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-erubis/Makefile b/www/rubygem-erubis/Makefile
index 58190bc12c01..265aa6f23067 100644
--- a/www/rubygem-erubis/Makefile
+++ b/www/rubygem-erubis/Makefile
@@ -15,8 +15,7 @@ LICENSE= MIT
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/erubis
diff --git a/www/rubygem-ethon/Makefile b/www/rubygem-ethon/Makefile
index 6df82009a043..eaef6b4db182 100644
--- a/www/rubygem-ethon/Makefile
+++ b/www/rubygem-ethon/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-ffi>=1.3.0:devel/rubygem-ffi
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-eventmachine_httpserver/Makefile b/www/rubygem-eventmachine_httpserver/Makefile
index 85b7d691d326..62ea99496792 100644
--- a/www/rubygem-eventmachine_httpserver/Makefile
+++ b/www/rubygem-eventmachine_httpserver/Makefile
@@ -12,7 +12,6 @@ COMMENT= EventMachine HTTP Server
LICENSE= GPLv2
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-faraday/Makefile b/www/rubygem-faraday/Makefile
index 555d4083c853..25c180d9e265 100644
--- a/www/rubygem-faraday/Makefile
+++ b/www/rubygem-faraday/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-multipart-post>=1.2:www/rubygem-multipart-post
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-faraday_middleware/Makefile b/www/rubygem-faraday_middleware/Makefile
index f83fb3d865ec..ebef90dd934b 100644
--- a/www/rubygem-faraday_middleware/Makefile
+++ b/www/rubygem-faraday_middleware/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-faraday>=0.7.4:www/rubygem-faraday
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-fcgi/Makefile b/www/rubygem-fcgi/Makefile
index 63e5968a98b0..43937cdfb727 100644
--- a/www/rubygem-fcgi/Makefile
+++ b/www/rubygem-fcgi/Makefile
@@ -13,7 +13,6 @@ LICENSE= MIT
LIB_DEPENDS= libfcgi.so:www/fcgi
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-feed-normalizer/Makefile b/www/rubygem-feed-normalizer/Makefile
index 1119a52f97a3..2965c590cfca 100644
--- a/www/rubygem-feed-normalizer/Makefile
+++ b/www/rubygem-feed-normalizer/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= rubygem-hpricot>=0.6:www/rubygem-hpricot \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-feedjira/Makefile b/www/rubygem-feedjira/Makefile
index a6ffd1ad3ada..8c04a7cb446c 100644
--- a/www/rubygem-feedjira/Makefile
+++ b/www/rubygem-feedjira/Makefile
@@ -19,7 +19,6 @@ RUN_DEPENDS= rubygem-faraday>=0.9:www/rubygem-faraday \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-flowdock/Makefile b/www/rubygem-flowdock/Makefile
index 9021b51be947..21d1d936e688 100644
--- a/www/rubygem-flowdock/Makefile
+++ b/www/rubygem-flowdock/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-httparty>=0.7:www/rubygem-httparty \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-geminabox/Makefile b/www/rubygem-geminabox/Makefile
index 2d0067e00854..a89559af6225 100644
--- a/www/rubygem-geminabox/Makefile
+++ b/www/rubygem-geminabox/Makefile
@@ -20,7 +20,6 @@ RUN_DEPENDS= rubygem-builder32>=0:devel/rubygem-builder32 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-gitlab-flowdock-git-hook/Makefile b/www/rubygem-gitlab-flowdock-git-hook/Makefile
index 201e21b722c7..f98319bab59d 100644
--- a/www/rubygem-gitlab-flowdock-git-hook/Makefile
+++ b/www/rubygem-gitlab-flowdock-git-hook/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= rubygem-flowdock>=0.7:www/rubygem-flowdock \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-gitlab-gollum-lib/Makefile b/www/rubygem-gitlab-gollum-lib/Makefile
index b9beee06efc7..77c266e28afb 100644
--- a/www/rubygem-gitlab-gollum-lib/Makefile
+++ b/www/rubygem-gitlab-gollum-lib/Makefile
@@ -21,7 +21,6 @@ RUN_DEPENDS= rubygem-github-markdown>=0.5.3:textproc/rubygem-github-markdown \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-gitlab-grack/Makefile b/www/rubygem-gitlab-grack/Makefile
index f387663bd37d..bf108b8c412e 100644
--- a/www/rubygem-gitlab-grack/Makefile
+++ b/www/rubygem-gitlab-grack/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-rack15>=1.5.1:www/rubygem-rack15
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-gollum-grit_adapter/Makefile b/www/rubygem-gollum-grit_adapter/Makefile
index 9a5c2aac5f41..40154e942b11 100644
--- a/www/rubygem-gollum-grit_adapter/Makefile
+++ b/www/rubygem-gollum-grit_adapter/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-gitlab-grit>=2.7.1:textproc/rubygem-gitlab-grit
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-gollum-lib/Makefile b/www/rubygem-gollum-lib/Makefile
index d0bf386628a0..afd58a28c18d 100644
--- a/www/rubygem-gollum-lib/Makefile
+++ b/www/rubygem-gollum-lib/Makefile
@@ -21,7 +21,6 @@ RUN_DEPENDS= rubygem-github-markup>=1.4.0:textproc/rubygem-github-markup \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-gollum-rugged_adapter/Makefile b/www/rubygem-gollum-rugged_adapter/Makefile
index cf4b16d2ea78..ebfe3652fdfa 100644
--- a/www/rubygem-gollum-rugged_adapter/Makefile
+++ b/www/rubygem-gollum-rugged_adapter/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-mime-types>=1.1.5:misc/rubygem-mime-types \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-gon-rails4/Makefile b/www/rubygem-gon-rails4/Makefile
index c0bf50e65ad7..3f83c82cd1e6 100644
--- a/www/rubygem-gon-rails4/Makefile
+++ b/www/rubygem-gon-rails4/Makefile
@@ -19,7 +19,6 @@ RUN_DEPENDS= rubygem-actionpack4>=3.0:www/rubygem-actionpack4 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-gon/Makefile b/www/rubygem-gon/Makefile
index 9235e06a4840..d68609788de9 100644
--- a/www/rubygem-gon/Makefile
+++ b/www/rubygem-gon/Makefile
@@ -19,7 +19,6 @@ RUN_DEPENDS= rubygem-actionpack4>=3.0:www/rubygem-actionpack4 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-hackpad-cli/Makefile b/www/rubygem-hackpad-cli/Makefile
index 4e38939e8638..0a8f4637b124 100644
--- a/www/rubygem-hackpad-cli/Makefile
+++ b/www/rubygem-hackpad-cli/Makefile
@@ -20,8 +20,7 @@ RUN_DEPENDS= rubygem-cliprompt>=0.1.2:devel/rubygem-cliprompt \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/hpcli
.include <bsd.port.mk>
diff --git a/www/rubygem-haml-coderay/Makefile b/www/rubygem-haml-coderay/Makefile
index 1cc2067ddf13..e30a41e8aedb 100644
--- a/www/rubygem-haml-coderay/Makefile
+++ b/www/rubygem-haml-coderay/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-coderay>=0:textproc/rubygem-coderay \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-haml-contrib/Makefile b/www/rubygem-haml-contrib/Makefile
index 4938df06667e..18273e854718 100644
--- a/www/rubygem-haml-contrib/Makefile
+++ b/www/rubygem-haml-contrib/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-haml>=4.0.0:www/rubygem-haml
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-haml-rails-rails4/Makefile b/www/rubygem-haml-rails-rails4/Makefile
index bb4dfe608f75..1bb627a3ef29 100644
--- a/www/rubygem-haml-rails-rails4/Makefile
+++ b/www/rubygem-haml-rails-rails4/Makefile
@@ -20,7 +20,6 @@ RUN_DEPENDS= rubygem-actionpack4>=4.0.1:www/rubygem-actionpack4 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-haml-rails/Makefile b/www/rubygem-haml-rails/Makefile
index 62b563d0d7a6..30d666fbfddf 100644
--- a/www/rubygem-haml-rails/Makefile
+++ b/www/rubygem-haml-rails/Makefile
@@ -20,7 +20,6 @@ PORTSCOUT= limit:0.4
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-haml/Makefile b/www/rubygem-haml/Makefile
index a674821cfddf..67a88b8ff503 100644
--- a/www/rubygem-haml/Makefile
+++ b/www/rubygem-haml/Makefile
@@ -16,8 +16,7 @@ RUN_DEPENDS= rubygem-tilt>=0:devel/rubygem-tilt
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/haml
diff --git a/www/rubygem-hashicorp-checkpoint/Makefile b/www/rubygem-hashicorp-checkpoint/Makefile
index 31eecd2f0fbd..e176feb14708 100644
--- a/www/rubygem-hashicorp-checkpoint/Makefile
+++ b/www/rubygem-hashicorp-checkpoint/Makefile
@@ -14,7 +14,6 @@ LICENSE= MPL
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-heroku-api/Makefile b/www/rubygem-heroku-api/Makefile
index 05b405b580aa..623e6c39c50d 100644
--- a/www/rubygem-heroku-api/Makefile
+++ b/www/rubygem-heroku-api/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/www/rubygem-heroku-nav/Makefile b/www/rubygem-heroku-nav/Makefile
index 9bfc74abfb6a..60bcc809039c 100644
--- a/www/rubygem-heroku-nav/Makefile
+++ b/www/rubygem-heroku-nav/Makefile
@@ -13,8 +13,7 @@ LICENSE= MIT
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
RUN_DEPENDS+= rubygem-sinatra>=0:www/rubygem-sinatra
diff --git a/www/rubygem-heroku/Makefile b/www/rubygem-heroku/Makefile
index ae4c388b114b..337cdd659eb6 100644
--- a/www/rubygem-heroku/Makefile
+++ b/www/rubygem-heroku/Makefile
@@ -14,8 +14,7 @@ LICENSE= MIT
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/heroku
diff --git a/www/rubygem-hpricot/Makefile b/www/rubygem-hpricot/Makefile
index 7fe525f03241..b6b7d5b61d65 100644
--- a/www/rubygem-hpricot/Makefile
+++ b/www/rubygem-hpricot/Makefile
@@ -12,7 +12,6 @@ COMMENT= Fast, Enjoyable HTML Parser for Ruby
LICENSE= MIT
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-html2haml/Makefile b/www/rubygem-html2haml/Makefile
index 1b287d47b292..ab62c3a366f8 100644
--- a/www/rubygem-html2haml/Makefile
+++ b/www/rubygem-html2haml/Makefile
@@ -18,10 +18,9 @@ RUN_DEPENDS= rubygem-erubis>=2.7.0:www/rubygem-erubis \
rubygem-ruby_parser>=3.5:devel/rubygem-ruby_parser
USE_RUBY= yes
-USE_RUBYGEMS= yes
NO_ARCH= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/html2haml
.include <bsd.port.mk>
diff --git a/www/rubygem-http-cookie/Makefile b/www/rubygem-http-cookie/Makefile
index a6d69212aaa4..0afaf62f8e36 100644
--- a/www/rubygem-http-cookie/Makefile
+++ b/www/rubygem-http-cookie/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-domain_name>=0.5.1:net/rubygem-domain_name
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-http-form_data/Makefile b/www/rubygem-http-form_data/Makefile
index 74360b90b904..ab3bac05b419 100644
--- a/www/rubygem-http-form_data/Makefile
+++ b/www/rubygem-http-form_data/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/www/rubygem-http/Makefile b/www/rubygem-http/Makefile
index eb454ef7acd0..c56e5cc8c4c7 100644
--- a/www/rubygem-http/Makefile
+++ b/www/rubygem-http/Makefile
@@ -19,7 +19,6 @@ RUN_DEPENDS= rubygem-addressable>=2.3: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/www/rubygem-http_router/Makefile b/www/rubygem-http_router/Makefile
index 6aed86feecb5..8f4a06be1cff 100644
--- a/www/rubygem-http_router/Makefile
+++ b/www/rubygem-http_router/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-rack16>=1.0.0:www/rubygem-rack16 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-httparty/Makefile b/www/rubygem-httparty/Makefile
index 8d31a1716a6c..fc5e4a421dd5 100644
--- a/www/rubygem-httparty/Makefile
+++ b/www/rubygem-httparty/Makefile
@@ -17,8 +17,7 @@ RUN_DEPENDS= rubygem-json>=1.8:devel/rubygem-json \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/httparty
diff --git a/www/rubygem-httpclient/Makefile b/www/rubygem-httpclient/Makefile
index 6cab0d77287b..870e856499f0 100644
--- a/www/rubygem-httpclient/Makefile
+++ b/www/rubygem-httpclient/Makefile
@@ -13,8 +13,7 @@ LICENSE_COMB= dual
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/httpclient
diff --git a/www/rubygem-httpi/Makefile b/www/rubygem-httpi/Makefile
index 68906fd912de..4de4438f64fc 100644
--- a/www/rubygem-httpi/Makefile
+++ b/www/rubygem-httpi/Makefile
@@ -16,8 +16,7 @@ RUN_DEPENDS= rubygem-rack>=1.4.5:www/rubygem-rack
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PORTSCOUT= limit:^0\.9\.
diff --git a/www/rubygem-innate/Makefile b/www/rubygem-innate/Makefile
index 6f775bef9b93..aab78f6f1cf9 100644
--- a/www/rubygem-innate/Makefile
+++ b/www/rubygem-innate/Makefile
@@ -17,9 +17,7 @@ RUN_DEPENDS= rubygem-rack15>=1.5.2:www/rubygem-rack15
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist shebangfix
SHEBANG_FILES= .load_gemset
-USES= shebangfix
.include <bsd.port.mk>
diff --git a/www/rubygem-jekyll-watch/Makefile b/www/rubygem-jekyll-watch/Makefile
index fefb4e4e51d4..f8a612abd4d4 100644
--- a/www/rubygem-jekyll-watch/Makefile
+++ b/www/rubygem-jekyll-watch/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-listen>=3.0:devel/rubygem-listen
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-jekyll/Makefile b/www/rubygem-jekyll/Makefile
index 2fb6e9efeb25..ec46ebd088a4 100644
--- a/www/rubygem-jekyll/Makefile
+++ b/www/rubygem-jekyll/Makefile
@@ -25,8 +25,7 @@ CONFLICTS_INSTALL= rubygem-jekyll2-*
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/jekyll
diff --git a/www/rubygem-jekyll2/Makefile b/www/rubygem-jekyll2/Makefile
index ce4fd8c91bf8..2750653f0fa8 100644
--- a/www/rubygem-jekyll2/Makefile
+++ b/www/rubygem-jekyll2/Makefile
@@ -35,8 +35,7 @@ PORTSCOUT= limit:^2\.
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/jekyll
diff --git a/www/rubygem-journey/Makefile b/www/rubygem-journey/Makefile
index cf3106947f4c..62c657f7c17e 100644
--- a/www/rubygem-journey/Makefile
+++ b/www/rubygem-journey/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/www/rubygem-jquery-atwho-rails-rails4/Makefile b/www/rubygem-jquery-atwho-rails-rails4/Makefile
index 695112f31f37..c7e1509c355d 100644
--- a/www/rubygem-jquery-atwho-rails-rails4/Makefile
+++ b/www/rubygem-jquery-atwho-rails-rails4/Makefile
@@ -14,7 +14,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/www/rubygem-jquery-atwho-rails/Makefile b/www/rubygem-jquery-atwho-rails/Makefile
index a11a6fed0fb6..349c5a04567b 100644
--- a/www/rubygem-jquery-atwho-rails/Makefile
+++ b/www/rubygem-jquery-atwho-rails/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/www/rubygem-jquery-rails/Makefile b/www/rubygem-jquery-rails/Makefile
index ed92cad8e9f0..f0f583331e7a 100644
--- a/www/rubygem-jquery-rails/Makefile
+++ b/www/rubygem-jquery-rails/Makefile
@@ -19,7 +19,6 @@ PORTSCOUT= limit:^3.*
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-jquery-rails4/Makefile b/www/rubygem-jquery-rails4/Makefile
index 39b863526790..cc0ff4e1a0c8 100644
--- a/www/rubygem-jquery-rails4/Makefile
+++ b/www/rubygem-jquery-rails4/Makefile
@@ -19,7 +19,6 @@ RUN_DEPENDS= rubygem-rails-dom-testing>=1.0:textproc/rubygem-rails-dom-testing \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-jquery-scrollto-rails/Makefile b/www/rubygem-jquery-scrollto-rails/Makefile
index 7773b6a13834..67aa083ec2a3 100644
--- a/www/rubygem-jquery-scrollto-rails/Makefile
+++ b/www/rubygem-jquery-scrollto-rails/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-railties4>=4.1.4:www/rubygem-railties4
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-jquery-turbolinks/Makefile b/www/rubygem-jquery-turbolinks/Makefile
index f95b1b91ddb8..279dd7505136 100644
--- a/www/rubygem-jquery-turbolinks/Makefile
+++ b/www/rubygem-jquery-turbolinks/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-railties4>=4.1.6:www/rubygem-railties4 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-jquery-ui-rails-rails4/Makefile b/www/rubygem-jquery-ui-rails-rails4/Makefile
index b5ff975ce900..2378f215606a 100644
--- a/www/rubygem-jquery-ui-rails-rails4/Makefile
+++ b/www/rubygem-jquery-ui-rails-rails4/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-railties4>=4.1.4:www/rubygem-railties4
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-jquery-ui-rails/Makefile b/www/rubygem-jquery-ui-rails/Makefile
index 3c99f1c055c2..d6f27218f8b2 100644
--- a/www/rubygem-jquery-ui-rails/Makefile
+++ b/www/rubygem-jquery-ui-rails/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-railties>=3.2.16:www/rubygem-railties
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-jruby-rack/Makefile b/www/rubygem-jruby-rack/Makefile
index eab732ae470a..104fd428faf3 100644
--- a/www/rubygem-jruby-rack/Makefile
+++ b/www/rubygem-jruby-rack/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= jruby:lang/jruby
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-jsobfu/Makefile b/www/rubygem-jsobfu/Makefile
index b2b610002f99..38a476b89e65 100644
--- a/www/rubygem-jsobfu/Makefile
+++ b/www/rubygem-jsobfu/Makefile
@@ -15,8 +15,7 @@ RUN_DEPENDS= rubygem-rkelly-remix>=0.0.6:www/rubygem-rkelly-remix
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/jsobfu
.include <bsd.port.mk>
diff --git a/www/rubygem-jwt/Makefile b/www/rubygem-jwt/Makefile
index 9da6922647c5..5e62d8055ca0 100644
--- a/www/rubygem-jwt/Makefile
+++ b/www/rubygem-jwt/Makefile
@@ -14,7 +14,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/www/rubygem-kaminari-rails4/Makefile b/www/rubygem-kaminari-rails4/Makefile
index db6b5723286a..5a0d17b02bea 100644
--- a/www/rubygem-kaminari-rails4/Makefile
+++ b/www/rubygem-kaminari-rails4/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= rubygem-actionpack4>=4.0.0:www/rubygem-actionpack4 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-kaminari/Makefile b/www/rubygem-kaminari/Makefile
index b10154b98004..999285ecc5be 100644
--- a/www/rubygem-kaminari/Makefile
+++ b/www/rubygem-kaminari/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-actionpack>=3.0.0:www/rubygem-actionpack \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-kensa/Makefile b/www/rubygem-kensa/Makefile
index fc447212d7de..c775019e166c 100644
--- a/www/rubygem-kensa/Makefile
+++ b/www/rubygem-kensa/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/kensa
diff --git a/www/rubygem-layout_yullio_generator/Makefile b/www/rubygem-layout_yullio_generator/Makefile
index 4cba8ad195cc..cc8369abf57d 100644
--- a/www/rubygem-layout_yullio_generator/Makefile
+++ b/www/rubygem-layout_yullio_generator/Makefile
@@ -14,7 +14,6 @@ RUN_DEPENDS= rubygem-hoe>=1.1.6:devel/rubygem-hoe
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-less/Makefile b/www/rubygem-less/Makefile
index 456331e9c017..9bd44443090b 100644
--- a/www/rubygem-less/Makefile
+++ b/www/rubygem-less/Makefile
@@ -16,8 +16,7 @@ RUN_DEPENDS= rubygem-treetop>=1.4.2:devel/rubygem-treetop \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/lessc
diff --git a/www/rubygem-lighthouse-api/Makefile b/www/rubygem-lighthouse-api/Makefile
index 76037baca04c..552bac3644ea 100644
--- a/www/rubygem-lighthouse-api/Makefile
+++ b/www/rubygem-lighthouse-api/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-activeresource4>=3.0.0:www/rubygem-activeresource4 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-maruku/Makefile b/www/rubygem-maruku/Makefile
index 2b5bf3fdada8..c3f04a951744 100644
--- a/www/rubygem-maruku/Makefile
+++ b/www/rubygem-maruku/Makefile
@@ -14,8 +14,7 @@ LICENSE= MIT
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/maruku bin/marutex
diff --git a/www/rubygem-mechanize/Makefile b/www/rubygem-mechanize/Makefile
index def6227a8251..58e904d915d6 100644
--- a/www/rubygem-mechanize/Makefile
+++ b/www/rubygem-mechanize/Makefile
@@ -23,7 +23,6 @@ RUN_DEPENDS= rubygem-domain_name>=0.5.1:net/rubygem-domain_name \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-mechanize26/Makefile b/www/rubygem-mechanize26/Makefile
index 1548aef55cbc..4302bd77fcaf 100644
--- a/www/rubygem-mechanize26/Makefile
+++ b/www/rubygem-mechanize26/Makefile
@@ -24,8 +24,7 @@ RUN_DEPENDS= rubygem-domain_name>=0.5.1:net/rubygem-domain_name \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PORTSCOUT= limit:^2\.6
diff --git a/www/rubygem-merb-assets/Makefile b/www/rubygem-merb-assets/Makefile
index 6f2cd49e221c..ca40dd5d5290 100644
--- a/www/rubygem-merb-assets/Makefile
+++ b/www/rubygem-merb-assets/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-merb-core>=1.1.3:www/rubygem-merb-core
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-merb-core/Makefile b/www/rubygem-merb-core/Makefile
index 5068e102d586..04bdf399be0e 100644
--- a/www/rubygem-merb-core/Makefile
+++ b/www/rubygem-merb-core/Makefile
@@ -21,9 +21,7 @@ RUN_DEPENDS= rubygem-bundler>=0:sysutils/rubygem-bundler \
rubygem-rake>=0:devel/rubygem-rake
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= shebangfix
+USES= gem:autoplist shebangfix
SHEBANG_FILES= spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/bin/erubis \
spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/contrib/erubis
diff --git a/www/rubygem-merb-haml/Makefile b/www/rubygem-merb-haml/Makefile
index 7a73fc3cc360..ee1c09f45eed 100644
--- a/www/rubygem-merb-haml/Makefile
+++ b/www/rubygem-merb-haml/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-haml>=2.0.3:www/rubygem-haml \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-merb-helpers/Makefile b/www/rubygem-merb-helpers/Makefile
index 9170ac522925..73e128dfc278 100644
--- a/www/rubygem-merb-helpers/Makefile
+++ b/www/rubygem-merb-helpers/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-merb-core>=1.1.3:www/rubygem-merb-core
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-merb-param-protection/Makefile b/www/rubygem-merb-param-protection/Makefile
index fe94e1893f85..4b2e6dea5670 100644
--- a/www/rubygem-merb-param-protection/Makefile
+++ b/www/rubygem-merb-param-protection/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-merb-core>=1.1.3:www/rubygem-merb-core
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-mousetrap-rails/Makefile b/www/rubygem-mousetrap-rails/Makefile
index 2390b85b7f53..a5674d2fbbc3 100644
--- a/www/rubygem-mousetrap-rails/Makefile
+++ b/www/rubygem-mousetrap-rails/Makefile
@@ -15,7 +15,6 @@ LICENSE_FILE= LICENSE.md
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-multipart-post/Makefile b/www/rubygem-multipart-post/Makefile
index 51365c35b52b..a46a2fdd60c5 100644
--- a/www/rubygem-multipart-post/Makefile
+++ b/www/rubygem-multipart-post/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/www/rubygem-nanoc/Makefile b/www/rubygem-nanoc/Makefile
index 4c02b689bf9d..ea00199f9aae 100644
--- a/www/rubygem-nanoc/Makefile
+++ b/www/rubygem-nanoc/Makefile
@@ -16,9 +16,8 @@ RUN_DEPENDS= rubygem-cri>=2.3:devel/rubygem-cri
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
USE_RAKE= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/nanoc
diff --git a/www/rubygem-nested_form/Makefile b/www/rubygem-nested_form/Makefile
index 7193a5e7e0b5..f1cdbaefe693 100644
--- a/www/rubygem-nested_form/Makefile
+++ b/www/rubygem-nested_form/Makefile
@@ -13,7 +13,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/www/rubygem-net-http-digest_auth/Makefile b/www/rubygem-net-http-digest_auth/Makefile
index 53b508476e9e..8e2493ee7107 100644
--- a/www/rubygem-net-http-digest_auth/Makefile
+++ b/www/rubygem-net-http-digest_auth/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/www/rubygem-net-http-digest_auth11/Makefile b/www/rubygem-net-http-digest_auth11/Makefile
index bbb038708d7a..84db27ca23f3 100644
--- a/www/rubygem-net-http-digest_auth11/Makefile
+++ b/www/rubygem-net-http-digest_auth11/Makefile
@@ -14,8 +14,7 @@ LICENSE= MIT
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PORTSCOUT= limit:^1\.1
diff --git a/www/rubygem-net-http-persistent/Makefile b/www/rubygem-net-http-persistent/Makefile
index bd73fce8f1b7..10ff3f8660f3 100644
--- a/www/rubygem-net-http-persistent/Makefile
+++ b/www/rubygem-net-http-persistent/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/www/rubygem-net-http-persistent25/Makefile b/www/rubygem-net-http-persistent25/Makefile
index faad6efeaa28..761c5a611cb2 100644
--- a/www/rubygem-net-http-persistent25/Makefile
+++ b/www/rubygem-net-http-persistent25/Makefile
@@ -14,8 +14,7 @@ LICENSE= MIT
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PORTSCOUT= limit:^2\.5
diff --git a/www/rubygem-net-http-pipeline/Makefile b/www/rubygem-net-http-pipeline/Makefile
index 344f2df886a1..4ddbe246c52d 100644
--- a/www/rubygem-net-http-pipeline/Makefile
+++ b/www/rubygem-net-http-pipeline/Makefile
@@ -14,7 +14,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/www/rubygem-nicovideo/Makefile b/www/rubygem-nicovideo/Makefile
index cfc9304be1c7..cda3a3e0a256 100644
--- a/www/rubygem-nicovideo/Makefile
+++ b/www/rubygem-nicovideo/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= rubygem-hoe>=1.7.0:devel/rubygem-hoe \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-ntlm-http/Makefile b/www/rubygem-ntlm-http/Makefile
index e45dee1094ed..86255f531da8 100644
--- a/www/rubygem-ntlm-http/Makefile
+++ b/www/rubygem-ntlm-http/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/www/rubygem-octopress/Makefile b/www/rubygem-octopress/Makefile
index c91101a2eb8d..39d9818cb5d4 100644
--- a/www/rubygem-octopress/Makefile
+++ b/www/rubygem-octopress/Makefile
@@ -22,8 +22,7 @@ RUN_DEPENDS= rubygem-jekyll>=2.0:www/rubygem-jekyll \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/octopress
diff --git a/www/rubygem-pagerduty/Makefile b/www/rubygem-pagerduty/Makefile
index ebb9b4153a5d..7839ed116041 100644
--- a/www/rubygem-pagerduty/Makefile
+++ b/www/rubygem-pagerduty/Makefile
@@ -16,9 +16,7 @@ RUN_DEPENDS= rubygem-json>=1.7.7:devel/rubygem-json
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= shebangfix
+USES= gem:autoplist shebangfix
SHEBANG_FILES= script/setup.sh
.include <bsd.port.mk>
diff --git a/www/rubygem-passenger/Makefile b/www/rubygem-passenger/Makefile
index a9dfb643154a..dd18b86e6855 100644
--- a/www/rubygem-passenger/Makefile
+++ b/www/rubygem-passenger/Makefile
@@ -10,8 +10,6 @@ PKGNAMEPREFIX= rubygem-
MAINTAINER= osa@FreeBSD.org
COMMENT= Modules for running Ruby on Rails and Rack applications
-USES+= cpe
-
CPE_VENDOR= phusion
CPE_PRODUCT= passenger
@@ -25,8 +23,7 @@ OPTIONS_DEFAULT= APACHE22
USE_RUBY= yes
USE_RAKE= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= cpe gem:autoplist
NOPORTDOCS= yes
.include <bsd.port.options.mk>
diff --git a/www/rubygem-puma/Makefile b/www/rubygem-puma/Makefile
index be6e87240dcc..c9f17ca56cbb 100644
--- a/www/rubygem-puma/Makefile
+++ b/www/rubygem-puma/Makefile
@@ -13,9 +13,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= shebangfix
+USES= gem:autoplist shebangfix
PLIST_FILES= bin/puma bin/pumactl
diff --git a/www/rubygem-pusher-client/Makefile b/www/rubygem-pusher-client/Makefile
index 76bd9bdb14c0..2a33f763e787 100644
--- a/www/rubygem-pusher-client/Makefile
+++ b/www/rubygem-pusher-client/Makefile
@@ -18,7 +18,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/www/rubygem-rabbirack/Makefile b/www/rubygem-rabbirack/Makefile
index 03c8c649ae68..5e23206dc5fa 100644
--- a/www/rubygem-rabbirack/Makefile
+++ b/www/rubygem-rabbirack/Makefile
@@ -18,10 +18,8 @@ RUN_DEPENDS= rubygem-haml>0:www/rubygem-haml \
rubygem-sinatra>0:www/rubygem-sinatra
NO_ARCH= yes
-USES= gettext
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist gettext
PLIST_FILES= bin/rabbirack
.include <bsd.port.mk>
diff --git a/www/rubygem-rack-accept/Makefile b/www/rubygem-rack-accept/Makefile
index 7b7a9120f783..2576755ad524 100644
--- a/www/rubygem-rack-accept/Makefile
+++ b/www/rubygem-rack-accept/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-rack16>=0.4:www/rubygem-rack16
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-rack-attack/Makefile b/www/rubygem-rack-attack/Makefile
index 9690f172bb86..86623c55a5b3 100644
--- a/www/rubygem-rack-attack/Makefile
+++ b/www/rubygem-rack-attack/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-rack16>=0:www/rubygem-rack16
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-rack-cache/Makefile b/www/rubygem-rack-cache/Makefile
index 648b05079276..e724630ee20a 100644
--- a/www/rubygem-rack-cache/Makefile
+++ b/www/rubygem-rack-cache/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-rack16>=0.4:www/rubygem-rack16
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-rack-contrib/Makefile b/www/rubygem-rack-contrib/Makefile
index f1ab14e39544..a4ee33cc1495 100644
--- a/www/rubygem-rack-contrib/Makefile
+++ b/www/rubygem-rack-contrib/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-git-version-bump>=0.15:devel/rubygem-git-version-bump \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-rack-cors/Makefile b/www/rubygem-rack-cors/Makefile
index 5dbd790e6408..75ca184010d4 100644
--- a/www/rubygem-rack-cors/Makefile
+++ b/www/rubygem-rack-cors/Makefile
@@ -14,7 +14,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/www/rubygem-rack-mount/Makefile b/www/rubygem-rack-mount/Makefile
index d65332aee053..d10a3021b696 100644
--- a/www/rubygem-rack-mount/Makefile
+++ b/www/rubygem-rack-mount/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-rack16>=1.0.0:www/rubygem-rack16
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-rack-openid/Makefile b/www/rubygem-rack-openid/Makefile
index 29f9e45df563..2b1c60911674 100644
--- a/www/rubygem-rack-openid/Makefile
+++ b/www/rubygem-rack-openid/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-rack16>=1.1.0:www/rubygem-rack16 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-rack-protection/Makefile b/www/rubygem-rack-protection/Makefile
index cc7a7f05944d..c852243f7564 100644
--- a/www/rubygem-rack-protection/Makefile
+++ b/www/rubygem-rack-protection/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-rack16>=0:www/rubygem-rack16
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-rack-ssl/Makefile b/www/rubygem-rack-ssl/Makefile
index 75547ebe1508..292658cf614c 100644
--- a/www/rubygem-rack-ssl/Makefile
+++ b/www/rubygem-rack-ssl/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-rack16>=0:www/rubygem-rack16
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-rack-test/Makefile b/www/rubygem-rack-test/Makefile
index df03a28f2b78..011cd1f98847 100644
--- a/www/rubygem-rack-test/Makefile
+++ b/www/rubygem-rack-test/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-rack16>=1.0:www/rubygem-rack16
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-rack/Makefile b/www/rubygem-rack/Makefile
index 876fcbbba165..8ddc80d82e4e 100644
--- a/www/rubygem-rack/Makefile
+++ b/www/rubygem-rack/Makefile
@@ -20,9 +20,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= shebangfix
+USES= gem:autoplist shebangfix
SHEBANG_FILES= test/cgi/test.ru
SHEBANG_LANG= rackup
diff --git a/www/rubygem-rack15/Makefile b/www/rubygem-rack15/Makefile
index 9b10be973f66..ac170ddcaf3f 100644
--- a/www/rubygem-rack15/Makefile
+++ b/www/rubygem-rack15/Makefile
@@ -21,9 +21,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= shebangfix
+USES= gem:autoplist shebangfix
SHEBANG_FILES= test/cgi/test.ru
SHEBANG_LANG= rackup
diff --git a/www/rubygem-rack16/Makefile b/www/rubygem-rack16/Makefile
index d0fc53a95b61..e6eede70e870 100644
--- a/www/rubygem-rack16/Makefile
+++ b/www/rubygem-rack16/Makefile
@@ -20,9 +20,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= shebangfix
+USES= gem:autoplist shebangfix
SHEBANG_FILES= test/cgi/test.ru
SHEBANG_LANG= rackup
diff --git a/www/rubygem-rails/Makefile b/www/rubygem-rails/Makefile
index 486a905a9c4b..30a92ebf7550 100644
--- a/www/rubygem-rails/Makefile
+++ b/www/rubygem-rails/Makefile
@@ -43,13 +43,10 @@ NOPORTDOCS= yes
NO_ARCH= yes
USE_RUBY= yes
USE_RUBY_RDOC= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= cpe gem:autoplist
PLIST_DIRS= ${GEM_LIB_DIR}
-USES= cpe
-
CPE_VENDOR= rubyonrails
CPE_PRODUCT= ruby_on_rails
diff --git a/www/rubygem-rails4/Makefile b/www/rubygem-rails4/Makefile
index 9e91bedc6cc5..5d84dbbb4677 100644
--- a/www/rubygem-rails4/Makefile
+++ b/www/rubygem-rails4/Makefile
@@ -44,9 +44,7 @@ RUN_DEPENDS= rubygem-actionmailer4>=${PORTVERSION}:mail/rubygem-actionmailer4 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= cpe
+USES= cpe gem:autoplist
CPE_VENDOR= rubyonrails
CPE_PRODUCT= ruby_on_rails
diff --git a/www/rubygem-rails_autolink/Makefile b/www/rubygem-rails_autolink/Makefile
index 21894e4bb85e..0babc08fb617 100644
--- a/www/rubygem-rails_autolink/Makefile
+++ b/www/rubygem-rails_autolink/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-rails4>=${PORTVERSION}:www/rubygem-rails4
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-railties/Makefile b/www/rubygem-railties/Makefile
index ca27da4d4a7b..ee10a03124e7 100644
--- a/www/rubygem-railties/Makefile
+++ b/www/rubygem-railties/Makefile
@@ -21,8 +21,7 @@ CONFLICTS_INSTALL= rubygem-railties4-[0-9]* rubygem-railties41-[0-9]*
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/rails
diff --git a/www/rubygem-railties4/Makefile b/www/rubygem-railties4/Makefile
index 5b9bd28b402e..5ebf1d0acbfe 100644
--- a/www/rubygem-railties4/Makefile
+++ b/www/rubygem-railties4/Makefile
@@ -21,8 +21,7 @@ CONFLICTS_INSTALL= rubygem-railties-[0-9]* rubygem-railties41-[0-9]*
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/rails
diff --git a/www/rubygem-raindrops/Makefile b/www/rubygem-raindrops/Makefile
index 699c5fcf549e..566d785604d8 100644
--- a/www/rubygem-raindrops/Makefile
+++ b/www/rubygem-raindrops/Makefile
@@ -14,9 +14,7 @@ LICENSE_COMB= dual
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= shebangfix
+USES= gem:autoplist shebangfix
SHEBANG_FILES= examples/linux-listener-stats.rb
diff --git a/www/rubygem-ramaze/Makefile b/www/rubygem-ramaze/Makefile
index 58f48d468069..9cc9659a8b0d 100644
--- a/www/rubygem-ramaze/Makefile
+++ b/www/rubygem-ramaze/Makefile
@@ -16,8 +16,7 @@ RUN_DEPENDS= rubygem-innate>=2012.12:www/rubygem-innate \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/ramaze
diff --git a/www/rubygem-raphael-rails/Makefile b/www/rubygem-raphael-rails/Makefile
index dcce2dc0d2a0..eeb522e9348e 100644
--- a/www/rubygem-raphael-rails/Makefile
+++ b/www/rubygem-raphael-rails/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/www/rubygem-redcloth/Makefile b/www/rubygem-redcloth/Makefile
index 2560a97cc616..15a2f678b6e4 100644
--- a/www/rubygem-redcloth/Makefile
+++ b/www/rubygem-redcloth/Makefile
@@ -14,8 +14,7 @@ LICENSE= MIT
GEM_NAME= ${DISTNAME}
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/redcloth
diff --git a/www/rubygem-redis-rack/Makefile b/www/rubygem-redis-rack/Makefile
index a94b0afc995a..06abbec16fc4 100644
--- a/www/rubygem-redis-rack/Makefile
+++ b/www/rubygem-redis-rack/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-rack16>=1.5:www/rubygem-rack16 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-redis-rails/Makefile b/www/rubygem-redis-rails/Makefile
index 5cfbd7d81eb3..713130b57adb 100644
--- a/www/rubygem-redis-rails/Makefile
+++ b/www/rubygem-redis-rails/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-redis-actionpack>=4:databases/rubygem-redis-actionpack \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-redmine_acts_as_taggable_on/Makefile b/www/rubygem-redmine_acts_as_taggable_on/Makefile
index ae119153fc8e..258910490ddc 100644
--- a/www/rubygem-redmine_acts_as_taggable_on/Makefile
+++ b/www/rubygem-redmine_acts_as_taggable_on/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-acts-as-taggable-on>=2.3:www/rubygem-acts-as-taggable-on
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-responders-rails3/Makefile b/www/rubygem-responders-rails3/Makefile
index d642e244cb0f..6efa4864772b 100644
--- a/www/rubygem-responders-rails3/Makefile
+++ b/www/rubygem-responders-rails3/Makefile
@@ -19,7 +19,6 @@ PORTSCOUT= limit:^1\.[0-9]*
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-responders/Makefile b/www/rubygem-responders/Makefile
index 87b1b83999c0..3ae666ef919d 100644
--- a/www/rubygem-responders/Makefile
+++ b/www/rubygem-responders/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-railties4>=4.2.0:www/rubygem-railties4
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-rest-client/Makefile b/www/rubygem-rest-client/Makefile
index 0021c01b6a5b..a3106ced40f9 100644
--- a/www/rubygem-rest-client/Makefile
+++ b/www/rubygem-rest-client/Makefile
@@ -16,8 +16,7 @@ RUN_DEPENDS= rubygem-http-cookie>=1.0.2:www/rubygem-http-cookie \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/restclient
.include <bsd.port.mk>
diff --git a/www/rubygem-rfacebook/Makefile b/www/rubygem-rfacebook/Makefile
index ca01939a9f68..7356dd501c4b 100644
--- a/www/rubygem-rfacebook/Makefile
+++ b/www/rubygem-rfacebook/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= rubygem-hpricot>=0.6.0:www/rubygem-hpricot \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-rfeedfinder/Makefile b/www/rubygem-rfeedfinder/Makefile
index 4a871fa33186..1dbe3c02ec15 100644
--- a/www/rubygem-rfeedfinder/Makefile
+++ b/www/rubygem-rfeedfinder/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-hpricot>=0.6:www/rubygem-hpricot \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-rinku/Makefile b/www/rubygem-rinku/Makefile
index 4db5195a63b0..4114590ad2fc 100644
--- a/www/rubygem-rinku/Makefile
+++ b/www/rubygem-rinku/Makefile
@@ -12,7 +12,6 @@ COMMENT= Fast and smart autolinking drop-in replacement for Rails auto_link
LICENSE= ISCL
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-rkelly-remix/Makefile b/www/rubygem-rkelly-remix/Makefile
index b478486e7fb7..a02ca1991961 100644
--- a/www/rubygem-rkelly-remix/Makefile
+++ b/www/rubygem-rkelly-remix/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/www/rubygem-robotex/Makefile b/www/rubygem-robotex/Makefile
index 90f5612e18e8..bcf64582a559 100644
--- a/www/rubygem-robotex/Makefile
+++ b/www/rubygem-robotex/Makefile
@@ -14,7 +14,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/www/rubygem-robots/Makefile b/www/rubygem-robots/Makefile
index 6f68675674fc..de8dd30de8c5 100644
--- a/www/rubygem-robots/Makefile
+++ b/www/rubygem-robots/Makefile
@@ -14,8 +14,7 @@ LICENSE= MIT
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
post-extract:
${CHMOD} -R a+r ${WRKSRC}
diff --git a/www/rubygem-rqrcode-rails3/Makefile b/www/rubygem-rqrcode-rails3/Makefile
index 041d73b18aed..536d818371c1 100644
--- a/www/rubygem-rqrcode-rails3/Makefile
+++ b/www/rubygem-rqrcode-rails3/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-rqrcode>=0.4.2:www/rubygem-rqrcode
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-rqrcode/Makefile b/www/rubygem-rqrcode/Makefile
index 9d2aafd7cd29..d7d774b6b295 100644
--- a/www/rubygem-rqrcode/Makefile
+++ b/www/rubygem-rqrcode/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/www/rubygem-rtlit/Makefile b/www/rubygem-rtlit/Makefile
index 6da6dcf1226c..56143876434a 100644
--- a/www/rubygem-rtlit/Makefile
+++ b/www/rubygem-rtlit/Makefile
@@ -14,8 +14,7 @@ LICENSE= MIT
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/rtlit
diff --git a/www/rubygem-ruby-readability/Makefile b/www/rubygem-ruby-readability/Makefile
index a9f8bdc6bd2d..4b10e58ccc15 100644
--- a/www/rubygem-ruby-readability/Makefile
+++ b/www/rubygem-ruby-readability/Makefile
@@ -17,8 +17,7 @@ RUN_DEPENDS= rubygem-guess_html_encoding>=0.0.4:devel/rubygem-guess_html_encodin
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/readability
diff --git a/www/rubygem-savon/Makefile b/www/rubygem-savon/Makefile
index 647766bbecbb..808f7954bc37 100644
--- a/www/rubygem-savon/Makefile
+++ b/www/rubygem-savon/Makefile
@@ -22,7 +22,6 @@ RUN_DEPENDS= rubygem-builder>=2.1.2:devel/rubygem-builder \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-sawyer/Makefile b/www/rubygem-sawyer/Makefile
index dd2a8d6937ce..6f1d462953a4 100644
--- a/www/rubygem-sawyer/Makefile
+++ b/www/rubygem-sawyer/Makefile
@@ -17,7 +17,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/www/rubygem-scrapi/Makefile b/www/rubygem-scrapi/Makefile
index 95fb4ef1eb5d..2a3046dad37c 100644
--- a/www/rubygem-scrapi/Makefile
+++ b/www/rubygem-scrapi/Makefile
@@ -15,9 +15,8 @@ BUILD_DEPENDS= ${LOCALBASE}/${SPEC_DIR}/tidy-1.1.2.gemspec:textproc/rubygem-tidy
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
USE_LDCONFIG= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= ${GEM_LIB_DIR}/lib/tidy/libtidy.so
.include <bsd.port.pre.mk>
diff --git a/www/rubygem-select2-rails/Makefile b/www/rubygem-select2-rails/Makefile
index 2093010f77fa..1ef011eb58d5 100644
--- a/www/rubygem-select2-rails/Makefile
+++ b/www/rubygem-select2-rails/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-thor>=0.14:devel/rubygem-thor
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-selenium-webdriver/Makefile b/www/rubygem-selenium-webdriver/Makefile
index a4202f3d7025..bf970efddac8 100644
--- a/www/rubygem-selenium-webdriver/Makefile
+++ b/www/rubygem-selenium-webdriver/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-childprocess>=0.5:devel/rubygem-childprocess \
rubygem-websocket>=1.0:www/rubygem-websocket
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-semantic-ui-sass/Makefile b/www/rubygem-semantic-ui-sass/Makefile
index 5cf98511c9f0..7b4b313fe3c0 100644
--- a/www/rubygem-semantic-ui-sass/Makefile
+++ b/www/rubygem-semantic-ui-sass/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-sass>=3.2:textproc/rubygem-sass
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-simple-rss/Makefile b/www/rubygem-simple-rss/Makefile
index ccedde424e9e..2758e0260e2f 100644
--- a/www/rubygem-simple-rss/Makefile
+++ b/www/rubygem-simple-rss/Makefile
@@ -12,7 +12,6 @@ COMMENT= Simple, flexible, extensible, and liberal RSS and Atom reader for Ruby
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-sinatra-contrib/Makefile b/www/rubygem-sinatra-contrib/Makefile
index 1d3837a28b7e..7aa28409f444 100644
--- a/www/rubygem-sinatra-contrib/Makefile
+++ b/www/rubygem-sinatra-contrib/Makefile
@@ -21,7 +21,6 @@ RUN_DEPENDS= rubygem-backports>=2.0:devel/rubygem-backports \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-sinatra-r18n/Makefile b/www/rubygem-sinatra-r18n/Makefile
index 669ccfba9a21..bc2c8317a496 100644
--- a/www/rubygem-sinatra-r18n/Makefile
+++ b/www/rubygem-sinatra-r18n/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-r18n-core=${PORTVERSION}:devel/rubygem-r18n-core \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-sinatra-respond_to/Makefile b/www/rubygem-sinatra-respond_to/Makefile
index 821740cbce20..e98ae64d41c5 100644
--- a/www/rubygem-sinatra-respond_to/Makefile
+++ b/www/rubygem-sinatra-respond_to/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-sinatra>=1.3:www/rubygem-sinatra
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-sinatra/Makefile b/www/rubygem-sinatra/Makefile
index 301591499a56..92de17e9cbcd 100644
--- a/www/rubygem-sinatra/Makefile
+++ b/www/rubygem-sinatra/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-rack16>=1.5:www/rubygem-rack16 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-task_list/Makefile b/www/rubygem-task_list/Makefile
index 850fb4d22171..a9f7cfedb16a 100644
--- a/www/rubygem-task_list/Makefile
+++ b/www/rubygem-task_list/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-html-pipeline1>=0:textproc/rubygem-html-pipeline1
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-thin/Makefile b/www/rubygem-thin/Makefile
index f3d8fd49b4ca..fe22039d5a6c 100644
--- a/www/rubygem-thin/Makefile
+++ b/www/rubygem-thin/Makefile
@@ -17,8 +17,7 @@ RUN_DEPENDS= rubygem-daemons>=1.0.9:devel/rubygem-daemons \
rubygem-rack16>=1.0:www/rubygem-rack16
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/thin
diff --git a/www/rubygem-tinyatom/Makefile b/www/rubygem-tinyatom/Makefile
index e239957e73c8..5d71041add85 100644
--- a/www/rubygem-tinyatom/Makefile
+++ b/www/rubygem-tinyatom/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= rubygem-builder32>=0:devel/rubygem-builder32 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-tinymce-rails/Makefile b/www/rubygem-tinymce-rails/Makefile
index 1d9be5082fd1..b7894048fbf5 100644
--- a/www/rubygem-tinymce-rails/Makefile
+++ b/www/rubygem-tinymce-rails/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-railties>=3.1.1:www/rubygem-railties
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-totoridipjp/Makefile b/www/rubygem-totoridipjp/Makefile
index 9e88558a442a..de871531b3df 100644
--- a/www/rubygem-totoridipjp/Makefile
+++ b/www/rubygem-totoridipjp/Makefile
@@ -14,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-tumblr_client/Makefile b/www/rubygem-tumblr_client/Makefile
index 86298d5d1290..496ce04e4c99 100644
--- a/www/rubygem-tumblr_client/Makefile
+++ b/www/rubygem-tumblr_client/Makefile
@@ -22,8 +22,7 @@ RUN_DEPENDS= rubygem-faraday>=0.9.0:www/rubygem-faraday \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/tumblr
diff --git a/www/rubygem-turbolinks/Makefile b/www/rubygem-turbolinks/Makefile
index 06d23aa58849..6bf4b2876254 100644
--- a/www/rubygem-turbolinks/Makefile
+++ b/www/rubygem-turbolinks/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS?= rubygem-coffee-rails4>=4.0.1:devel/rubygem-coffee-rails4
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-typhoeus/Makefile b/www/rubygem-typhoeus/Makefile
index 0124e60acaea..2bfda12ea195 100644
--- a/www/rubygem-typhoeus/Makefile
+++ b/www/rubygem-typhoeus/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-ethon>=0.8.0:www/rubygem-ethon
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-uglifier/Makefile b/www/rubygem-uglifier/Makefile
index 2969e169153f..a9920b64f475 100644
--- a/www/rubygem-uglifier/Makefile
+++ b/www/rubygem-uglifier/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-execjs>=0.3.0:devel/rubygem-execjs
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-underscore-rails/Makefile b/www/rubygem-underscore-rails/Makefile
index 98124b829dd1..809ee0775b9c 100644
--- a/www/rubygem-underscore-rails/Makefile
+++ b/www/rubygem-underscore-rails/Makefile
@@ -12,7 +12,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/www/rubygem-unicorn-worker-killer/Makefile b/www/rubygem-unicorn-worker-killer/Makefile
index 408fbaba6a1e..f7df3d45e27d 100644
--- a/www/rubygem-unicorn-worker-killer/Makefile
+++ b/www/rubygem-unicorn-worker-killer/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-get_process_mem>=0:devel/rubygem-get_process_mem \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-unicorn/Makefile b/www/rubygem-unicorn/Makefile
index 79490a254a54..13d30328857a 100644
--- a/www/rubygem-unicorn/Makefile
+++ b/www/rubygem-unicorn/Makefile
@@ -18,9 +18,7 @@ RUN_DEPENDS= rubygem-kgio>=2.6:devel/rubygem-kgio \
rubygem-raindrops>=0.7:www/rubygem-raindrops
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= shebangfix
+USES= gem:autoplist shebangfix
PLIST_FILES= bin/unicorn bin/unicorn_rails
diff --git a/www/rubygem-url-mount/Makefile b/www/rubygem-url-mount/Makefile
index db04ceddd351..e43602ff8cb8 100644
--- a/www/rubygem-url-mount/Makefile
+++ b/www/rubygem-url-mount/Makefile
@@ -14,7 +14,6 @@ RUN_DEPENDS= rubygem-rack>=0:www/rubygem-rack
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-url_escape/Makefile b/www/rubygem-url_escape/Makefile
index 4802469d6de8..ba849d79a4ae 100644
--- a/www/rubygem-url_escape/Makefile
+++ b/www/rubygem-url_escape/Makefile
@@ -12,7 +12,6 @@ COMMENT= Fast replacement for CGI.escape and Rack::Utils.escape
LICENSE= MIT
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-wasabi/Makefile b/www/rubygem-wasabi/Makefile
index b52bc6921c43..c8213ae2a546 100644
--- a/www/rubygem-wasabi/Makefile
+++ b/www/rubygem-wasabi/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-nokogiri>=1.6.1:textproc/rubygem-nokogiri
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-webkit-gtk/Makefile b/www/rubygem-webkit-gtk/Makefile
index f0394beb565f..194a39789752 100644
--- a/www/rubygem-webkit-gtk/Makefile
+++ b/www/rubygem-webkit-gtk/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-gobject-introspection>=${PORTVERSION}:devel/rubygem-gobject
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-webkit-gtk2/Makefile b/www/rubygem-webkit-gtk2/Makefile
index bc9e59f193be..3034ccbc498d 100644
--- a/www/rubygem-webkit-gtk2/Makefile
+++ b/www/rubygem-webkit-gtk2/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-gobject-introspection>=${PORTVERSION}:devel/rubygem-gobject
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-webmock/Makefile b/www/rubygem-webmock/Makefile
index beb2097d49a4..c8a6657e62b2 100644
--- a/www/rubygem-webmock/Makefile
+++ b/www/rubygem-webmock/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-addressable>=2.3.6: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/www/rubygem-webrobots/Makefile b/www/rubygem-webrobots/Makefile
index 38aa28db6d88..0dbda090ff06 100644
--- a/www/rubygem-webrobots/Makefile
+++ b/www/rubygem-webrobots/Makefile
@@ -14,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/www/rubygem-websocket/Makefile b/www/rubygem-websocket/Makefile
index c8d4bcadab0e..0d108011ec9e 100644
--- a/www/rubygem-websocket/Makefile
+++ b/www/rubygem-websocket/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/www/rubygem-yapra/Makefile b/www/rubygem-yapra/Makefile
index 69f534978a4e..da25021b3770 100644
--- a/www/rubygem-yapra/Makefile
+++ b/www/rubygem-yapra/Makefile
@@ -15,8 +15,7 @@ RUN_DEPENDS= rubygem-mechanize>=0:www/rubygem-mechanize
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/yapra