aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
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 /textproc
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 'textproc')
-rw-r--r--textproc/rubygem-actionpack-xml_parser/Makefile3
-rw-r--r--textproc/rubygem-albino/Makefile4
-rw-r--r--textproc/rubygem-amatch/Makefile3
-rw-r--r--textproc/rubygem-asciidoctor/Makefile3
-rw-r--r--textproc/rubygem-autoprefixer-rails/Makefile3
-rw-r--r--textproc/rubygem-babosa/Makefile3
-rw-r--r--textproc/rubygem-charlock_holmes/Makefile3
-rw-r--r--textproc/rubygem-coderay/Makefile3
-rw-r--r--textproc/rubygem-colorator/Makefile3
-rw-r--r--textproc/rubygem-colored/Makefile3
-rw-r--r--textproc/rubygem-compass-core/Makefile3
-rw-r--r--textproc/rubygem-compass-import-once/Makefile3
-rw-r--r--textproc/rubygem-compass-rails/Makefile3
-rw-r--r--textproc/rubygem-compass/Makefile3
-rw-r--r--textproc/rubygem-creole/Makefile3
-rw-r--r--textproc/rubygem-css_parser/Makefile3
-rw-r--r--textproc/rubygem-cssmin/Makefile3
-rw-r--r--textproc/rubygem-diff-lcs/Makefile4
-rw-r--r--textproc/rubygem-diffy/Makefile3
-rw-r--r--textproc/rubygem-elasticsearch-api/Makefile3
-rw-r--r--textproc/rubygem-elasticsearch-transport/Makefile3
-rw-r--r--textproc/rubygem-elasticsearch/Makefile3
-rw-r--r--textproc/rubygem-emot/Makefile3
-rw-r--r--textproc/rubygem-escape_utils-rails4/Makefile3
-rw-r--r--textproc/rubygem-escape_utils/Makefile3
-rw-r--r--textproc/rubygem-ezamar/Makefile3
-rw-r--r--textproc/rubygem-fast_xs/Makefile3
-rw-r--r--textproc/rubygem-fast_xs073/Makefile3
-rw-r--r--textproc/rubygem-ferret/Makefile3
-rw-r--r--textproc/rubygem-fog-xml/Makefile3
-rw-r--r--textproc/rubygem-gemoji/Makefile3
-rw-r--r--textproc/rubygem-gherkin/Makefile3
-rw-r--r--textproc/rubygem-gherkin3/Makefile3
-rw-r--r--textproc/rubygem-github-linguist/Makefile3
-rw-r--r--textproc/rubygem-github-markdown/Makefile3
-rw-r--r--textproc/rubygem-github-markup/Makefile4
-rw-r--r--textproc/rubygem-gitlab-grit/Makefile3
-rw-r--r--textproc/rubygem-gitlab-linguist/Makefile3
-rw-r--r--textproc/rubygem-heredoc_unindent/Makefile3
-rw-r--r--textproc/rubygem-hikidoc/Makefile3
-rw-r--r--textproc/rubygem-html-pipeline-gitlab/Makefile3
-rw-r--r--textproc/rubygem-html-pipeline/Makefile3
-rw-r--r--textproc/rubygem-html-pipeline1/Makefile3
-rw-r--r--textproc/rubygem-htmlentities/Makefile3
-rw-r--r--textproc/rubygem-ini/Makefile3
-rw-r--r--textproc/rubygem-itextomml/Makefile3
-rw-r--r--textproc/rubygem-jekyll-assets/Makefile3
-rw-r--r--textproc/rubygem-jekyll-feed/Makefile3
-rw-r--r--textproc/rubygem-jekyll-gist/Makefile3
-rw-r--r--textproc/rubygem-jekyll-mentions/Makefile3
-rw-r--r--textproc/rubygem-jekyll-paginate/Makefile4
-rw-r--r--textproc/rubygem-jekyll-redirect-from/Makefile3
-rw-r--r--textproc/rubygem-jekyll-sass-converter/Makefile3
-rw-r--r--textproc/rubygem-jekyll-sitemap/Makefile3
-rw-r--r--textproc/rubygem-jemoji/Makefile3
-rw-r--r--textproc/rubygem-jsmin/Makefile3
-rw-r--r--textproc/rubygem-kramdown/Makefile4
-rw-r--r--textproc/rubygem-kwalify/Makefile3
-rw-r--r--textproc/rubygem-libxml-ruby/Makefile3
-rw-r--r--textproc/rubygem-linguistics/Makefile4
-rw-r--r--textproc/rubygem-liquid/Makefile3
-rw-r--r--textproc/rubygem-liquid2/Makefile3
-rw-r--r--textproc/rubygem-loggability/Makefile3
-rw-r--r--textproc/rubygem-loofah/Makefile3
-rw-r--r--textproc/rubygem-ltsv/Makefile3
-rw-r--r--textproc/rubygem-markaby/Makefile3
-rw-r--r--textproc/rubygem-multi_xml/Makefile3
-rw-r--r--textproc/rubygem-nokogiri-diff/Makefile3
-rw-r--r--textproc/rubygem-nokogiri/Makefile4
-rw-r--r--textproc/rubygem-nokogiri14/Makefile4
-rw-r--r--textproc/rubygem-nokogumbo/Makefile4
-rw-r--r--textproc/rubygem-octopress-escape-code/Makefile3
-rw-r--r--textproc/rubygem-opml/Makefile3
-rw-r--r--textproc/rubygem-org-ruby/Makefile3
-rw-r--r--textproc/rubygem-parslet/Makefile3
-rw-r--r--textproc/rubygem-phone/Makefile3
-rw-r--r--textproc/rubygem-rails-dom-testing/Makefile3
-rw-r--r--textproc/rubygem-rails-html-sanitizer/Makefile3
-rw-r--r--textproc/rubygem-rak/Makefile3
-rw-r--r--textproc/rubygem-rchardet/Makefile3
-rw-r--r--textproc/rubygem-rdiscount/Makefile3
-rw-r--r--textproc/rubygem-rdtool/Makefile6
-rw-r--r--textproc/rubygem-redcarpet/Makefile3
-rw-r--r--textproc/rubygem-reverse_markdown/Makefile3
-rw-r--r--textproc/rubygem-ri_cal/Makefile3
-rw-r--r--textproc/rubygem-rich/Makefile3
-rw-r--r--textproc/rubygem-rmmseg-cpp/Makefile4
-rw-r--r--textproc/rubygem-rouge/Makefile3
-rw-r--r--textproc/rubygem-rttool/Makefile3
-rw-r--r--textproc/rubygem-ruby-augeas/Makefile4
-rw-r--r--textproc/rubygem-ruby-xslt/Makefile3
-rw-r--r--textproc/rubygem-rubypants/Makefile3
-rw-r--r--textproc/rubygem-rugments/Makefile3
-rw-r--r--textproc/rubygem-sanitize/Makefile3
-rw-r--r--textproc/rubygem-sass-rails/Makefile3
-rw-r--r--textproc/rubygem-sass-rails4/Makefile3
-rw-r--r--textproc/rubygem-sass-rails5/Makefile3
-rw-r--r--textproc/rubygem-sass/Makefile3
-rw-r--r--textproc/rubygem-sass32/Makefile3
-rw-r--r--textproc/rubygem-sax-machine/Makefile3
-rw-r--r--textproc/rubygem-scss_lint/Makefile3
-rw-r--r--textproc/rubygem-shell2html/Makefile3
-rw-r--r--textproc/rubygem-simplecov-html/Makefile3
-rw-r--r--textproc/rubygem-spreadsheet/Makefile3
-rw-r--r--textproc/rubygem-stamp/Makefile3
-rw-r--r--textproc/rubygem-string-scrub/Makefile3
-rw-r--r--textproc/rubygem-syntax/Makefile3
-rw-r--r--textproc/rubygem-termcolor/Makefile3
-rw-r--r--textproc/rubygem-terminal-table/Makefile3
-rw-r--r--textproc/rubygem-text/Makefile3
-rw-r--r--textproc/rubygem-tidy/Makefile3
-rw-r--r--textproc/rubygem-twitter-text/Makefile3
-rw-r--r--textproc/rubygem-unf/Makefile3
-rw-r--r--textproc/rubygem-unf_ext/Makefile3
-rw-r--r--textproc/rubygem-version_sorter/Makefile3
-rw-r--r--textproc/rubygem-wikicloth/Makefile3
-rw-r--r--textproc/rubygem-xml-simple/Makefile3
-rw-r--r--textproc/rubygem-ya2yaml/Makefile3
-rw-r--r--textproc/rubygem-yard-chef/Makefile3
-rw-r--r--textproc/rubygem-yard/Makefile3
-rw-r--r--textproc/rubygem-zmq/Makefile3
121 files changed, 122 insertions, 255 deletions
diff --git a/textproc/rubygem-actionpack-xml_parser/Makefile b/textproc/rubygem-actionpack-xml_parser/Makefile
index a4ebb1fc9b4c..63294c6386e8 100644
--- a/textproc/rubygem-actionpack-xml_parser/Makefile
+++ b/textproc/rubygem-actionpack-xml_parser/Makefile
@@ -16,7 +16,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/textproc/rubygem-albino/Makefile b/textproc/rubygem-albino/Makefile
index e1130ae7272b..463a4b679236 100644
--- a/textproc/rubygem-albino/Makefile
+++ b/textproc/rubygem-albino/Makefile
@@ -14,11 +14,9 @@ LICENSE= MIT
RUN_DEPENDS= rubygem-posix-spawn>=0.3.6:devel/rubygem-posix-spawn \
${PYTHON_PKGNAMEPREFIX}pygments>=0.8:textproc/py-pygments
-USES= python
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist python
.include <bsd.port.mk>
diff --git a/textproc/rubygem-amatch/Makefile b/textproc/rubygem-amatch/Makefile
index b15e61c53b24..2e7f145e3c7f 100644
--- a/textproc/rubygem-amatch/Makefile
+++ b/textproc/rubygem-amatch/Makefile
@@ -15,8 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= rubygem-tins>=1.0:devel/rubygem-tins
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/agrep.rb
diff --git a/textproc/rubygem-asciidoctor/Makefile b/textproc/rubygem-asciidoctor/Makefile
index 1694adcf73e8..550f03ae700a 100644
--- a/textproc/rubygem-asciidoctor/Makefile
+++ b/textproc/rubygem-asciidoctor/Makefile
@@ -13,8 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.adoc
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES+= bin/asciidoctor bin/asciidoctor-safe
diff --git a/textproc/rubygem-autoprefixer-rails/Makefile b/textproc/rubygem-autoprefixer-rails/Makefile
index b21934953e7e..be2de7f59481 100644
--- a/textproc/rubygem-autoprefixer-rails/Makefile
+++ b/textproc/rubygem-autoprefixer-rails/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-execjs>=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/textproc/rubygem-babosa/Makefile b/textproc/rubygem-babosa/Makefile
index 905baccea193..a85e56a855e9 100644
--- a/textproc/rubygem-babosa/Makefile
+++ b/textproc/rubygem-babosa/Makefile
@@ -13,7 +13,6 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-charlock_holmes/Makefile b/textproc/rubygem-charlock_holmes/Makefile
index c56ef351df38..29a00b23703a 100644
--- a/textproc/rubygem-charlock_holmes/Makefile
+++ b/textproc/rubygem-charlock_holmes/Makefile
@@ -12,8 +12,7 @@ COMMENT= Gems for character encoding detection
LIB_DEPENDS= libicui18n.so:devel/icu
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
CONFIGURE_ARGS= --with-icu-include=${LOCALBASE}/include
.include <bsd.port.mk>
diff --git a/textproc/rubygem-coderay/Makefile b/textproc/rubygem-coderay/Makefile
index 65fc75b880c8..faf0b9e72de5 100644
--- a/textproc/rubygem-coderay/Makefile
+++ b/textproc/rubygem-coderay/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/coderay
diff --git a/textproc/rubygem-colorator/Makefile b/textproc/rubygem-colorator/Makefile
index 9059dabbfb5d..95fa4733207d 100644
--- a/textproc/rubygem-colorator/Makefile
+++ b/textproc/rubygem-colorator/Makefile
@@ -15,7 +15,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/textproc/rubygem-colored/Makefile b/textproc/rubygem-colored/Makefile
index 223cda3f8b41..6ca183d39ca4 100644
--- a/textproc/rubygem-colored/Makefile
+++ b/textproc/rubygem-colored/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/textproc/rubygem-compass-core/Makefile b/textproc/rubygem-compass-core/Makefile
index a6dd208519c0..b49ae11ded26 100644
--- a/textproc/rubygem-compass-core/Makefile
+++ b/textproc/rubygem-compass-core/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-multi_json>=1.0:devel/rubygem-multi_json \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-compass-import-once/Makefile b/textproc/rubygem-compass-import-once/Makefile
index 6ffdbc0dafe1..16ef3d0a1e14 100644
--- a/textproc/rubygem-compass-import-once/Makefile
+++ b/textproc/rubygem-compass-import-once/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/textproc/rubygem-compass-rails/Makefile b/textproc/rubygem-compass-rails/Makefile
index a61b29c3ce04..d63236c966e4 100644
--- a/textproc/rubygem-compass-rails/Makefile
+++ b/textproc/rubygem-compass-rails/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-compass>=1.0.0:textproc/rubygem-compass \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-compass/Makefile b/textproc/rubygem-compass/Makefile
index 8a5f4651c3f9..97df060294b7 100644
--- a/textproc/rubygem-compass/Makefile
+++ b/textproc/rubygem-compass/Makefile
@@ -21,8 +21,7 @@ RUN_DEPENDS= rubygem-chunky_png>=1.2:graphics/rubygem-chunky_png \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/compass
diff --git a/textproc/rubygem-creole/Makefile b/textproc/rubygem-creole/Makefile
index f525f821031d..da98fcebd114 100644
--- a/textproc/rubygem-creole/Makefile
+++ b/textproc/rubygem-creole/Makefile
@@ -13,7 +13,6 @@ LICENSE= RUBY
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-css_parser/Makefile b/textproc/rubygem-css_parser/Makefile
index b62b5190d5ec..07623f2b9387 100644
--- a/textproc/rubygem-css_parser/Makefile
+++ b/textproc/rubygem-css_parser/Makefile
@@ -15,7 +15,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/textproc/rubygem-cssmin/Makefile b/textproc/rubygem-cssmin/Makefile
index 4070a158d656..2956ce8111e6 100644
--- a/textproc/rubygem-cssmin/Makefile
+++ b/textproc/rubygem-cssmin/Makefile
@@ -14,7 +14,6 @@ LICENSE= BSD3CLAUSE
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-diff-lcs/Makefile b/textproc/rubygem-diff-lcs/Makefile
index 9cb5be5ee9c6..85947963e560 100644
--- a/textproc/rubygem-diff-lcs/Makefile
+++ b/textproc/rubygem-diff-lcs/Makefile
@@ -16,9 +16,7 @@ LICENSE_COMB= dual
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= shebangfix
+USES= gem:autoplist shebangfix
ruby_OLD_CMD= ruby
SHEBANG_FILES= bin/htmldiff bin/ldiff
diff --git a/textproc/rubygem-diffy/Makefile b/textproc/rubygem-diffy/Makefile
index 44fb3e8734f2..683c6d0fd8ee 100644
--- a/textproc/rubygem-diffy/Makefile
+++ b/textproc/rubygem-diffy/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/textproc/rubygem-elasticsearch-api/Makefile b/textproc/rubygem-elasticsearch-api/Makefile
index b0097ffd8384..e0c15c387905 100644
--- a/textproc/rubygem-elasticsearch-api/Makefile
+++ b/textproc/rubygem-elasticsearch-api/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-multi_json>=0:devel/rubygem-multi_json
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-elasticsearch-transport/Makefile b/textproc/rubygem-elasticsearch-transport/Makefile
index a2bc8fdb4641..fa27998d626b 100644
--- a/textproc/rubygem-elasticsearch-transport/Makefile
+++ b/textproc/rubygem-elasticsearch-transport/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-faraday>=0: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/textproc/rubygem-elasticsearch/Makefile b/textproc/rubygem-elasticsearch/Makefile
index 17ae058590e1..0ea466cbe68f 100644
--- a/textproc/rubygem-elasticsearch/Makefile
+++ b/textproc/rubygem-elasticsearch/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-elasticsearch-api=${PORTVERSION}:textproc/rubygem-elasticse
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-emot/Makefile b/textproc/rubygem-emot/Makefile
index 97d3e6d23290..e981cf1f1d86 100644
--- a/textproc/rubygem-emot/Makefile
+++ b/textproc/rubygem-emot/Makefile
@@ -16,8 +16,7 @@ RUN_DEPENDS= rubygem-thor>=0:devel/rubygem-thor
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/emot
diff --git a/textproc/rubygem-escape_utils-rails4/Makefile b/textproc/rubygem-escape_utils-rails4/Makefile
index 1a50df92e4ed..ecff283c1f93 100644
--- a/textproc/rubygem-escape_utils-rails4/Makefile
+++ b/textproc/rubygem-escape_utils-rails4/Makefile
@@ -14,7 +14,6 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-escape_utils/Makefile b/textproc/rubygem-escape_utils/Makefile
index 82f554ad21ff..780ffa0b4acd 100644
--- a/textproc/rubygem-escape_utils/Makefile
+++ b/textproc/rubygem-escape_utils/Makefile
@@ -13,7 +13,6 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-ezamar/Makefile b/textproc/rubygem-ezamar/Makefile
index fe8c3209546d..81196e094775 100644
--- a/textproc/rubygem-ezamar/Makefile
+++ b/textproc/rubygem-ezamar/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/textproc/rubygem-fast_xs/Makefile b/textproc/rubygem-fast_xs/Makefile
index f735852c1ae9..38e0fbbc48c8 100644
--- a/textproc/rubygem-fast_xs/Makefile
+++ b/textproc/rubygem-fast_xs/Makefile
@@ -14,7 +14,6 @@ COMMENT= Systems integration framework. Expander
LICENSE= MIT
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-fast_xs073/Makefile b/textproc/rubygem-fast_xs073/Makefile
index 5b6419b67997..b98888075b68 100644
--- a/textproc/rubygem-fast_xs073/Makefile
+++ b/textproc/rubygem-fast_xs073/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= rubygem-hoe>=2.3.2:devel/rubygem-hoe
PORTSCOUT= limit:^0.7
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-ferret/Makefile b/textproc/rubygem-ferret/Makefile
index cb13135ed73a..be28d984d0e5 100644
--- a/textproc/rubygem-ferret/Makefile
+++ b/textproc/rubygem-ferret/Makefile
@@ -12,8 +12,7 @@ COMMENT= Ferret is a ruby port of Lucene
LICENSE= MIT
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/ferret-browser
diff --git a/textproc/rubygem-fog-xml/Makefile b/textproc/rubygem-fog-xml/Makefile
index a6298672fb7b..84d8eb46b587 100644
--- a/textproc/rubygem-fog-xml/Makefile
+++ b/textproc/rubygem-fog-xml/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-fog-core>=0:devel/rubygem-fog-core \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-gemoji/Makefile b/textproc/rubygem-gemoji/Makefile
index 543511989434..7d2a5e22041b 100644
--- a/textproc/rubygem-gemoji/Makefile
+++ b/textproc/rubygem-gemoji/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/textproc/rubygem-gherkin/Makefile b/textproc/rubygem-gherkin/Makefile
index 56169c0cb23d..f0f19c60c685 100644
--- a/textproc/rubygem-gherkin/Makefile
+++ b/textproc/rubygem-gherkin/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/textproc/rubygem-gherkin3/Makefile b/textproc/rubygem-gherkin3/Makefile
index 549b186c4a68..156669409362 100644
--- a/textproc/rubygem-gherkin3/Makefile
+++ b/textproc/rubygem-gherkin3/Makefile
@@ -17,7 +17,6 @@ EXPIRATION_DATE=2016-04-30
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-github-linguist/Makefile b/textproc/rubygem-github-linguist/Makefile
index 83ca241712d7..11ad847687a7 100644
--- a/textproc/rubygem-github-linguist/Makefile
+++ b/textproc/rubygem-github-linguist/Makefile
@@ -18,8 +18,7 @@ RUN_DEPENDS= rubygem-charlock_holmes>=0.7.3:textproc/rubygem-charlock_holmes \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/git-linguist bin/linguist
diff --git a/textproc/rubygem-github-markdown/Makefile b/textproc/rubygem-github-markdown/Makefile
index bb9e2a635185..0631f0374312 100644
--- a/textproc/rubygem-github-markdown/Makefile
+++ b/textproc/rubygem-github-markdown/Makefile
@@ -11,7 +11,6 @@ COMMENT= Self-contained Markdown parser for GitHub
DEPRECATED= This gem is not maintained and not supported by upstream
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-github-markup/Makefile b/textproc/rubygem-github-markup/Makefile
index a07cd355b7ad..afbb343f1c3a 100644
--- a/textproc/rubygem-github-markup/Makefile
+++ b/textproc/rubygem-github-markup/Makefile
@@ -15,9 +15,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= script/bootstrap \
script/cibuild
diff --git a/textproc/rubygem-gitlab-grit/Makefile b/textproc/rubygem-gitlab-grit/Makefile
index fa78b03aee2d..9b6b91670a2d 100644
--- a/textproc/rubygem-gitlab-grit/Makefile
+++ b/textproc/rubygem-gitlab-grit/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= rubygem-charlock_holmes>=0.6:textproc/rubygem-charlock_holmes \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-gitlab-linguist/Makefile b/textproc/rubygem-gitlab-linguist/Makefile
index 0bb1e963bd95..8dc3a0bbfb4f 100644
--- a/textproc/rubygem-gitlab-linguist/Makefile
+++ b/textproc/rubygem-gitlab-linguist/Makefile
@@ -16,8 +16,7 @@ RUN_DEPENDS= rubygem-charlock_holmes>=0.6.6:textproc/rubygem-charlock_holmes \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/linguist
diff --git a/textproc/rubygem-heredoc_unindent/Makefile b/textproc/rubygem-heredoc_unindent/Makefile
index bd6bff0a3371..bd95a90304ac 100644
--- a/textproc/rubygem-heredoc_unindent/Makefile
+++ b/textproc/rubygem-heredoc_unindent/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/textproc/rubygem-hikidoc/Makefile b/textproc/rubygem-hikidoc/Makefile
index 624a4a1b6873..ede0f6896306 100644
--- a/textproc/rubygem-hikidoc/Makefile
+++ b/textproc/rubygem-hikidoc/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/hikidoc
diff --git a/textproc/rubygem-html-pipeline-gitlab/Makefile b/textproc/rubygem-html-pipeline-gitlab/Makefile
index 1a716b42faec..7db15df8de06 100644
--- a/textproc/rubygem-html-pipeline-gitlab/Makefile
+++ b/textproc/rubygem-html-pipeline-gitlab/Makefile
@@ -19,7 +19,6 @@ RUN_DEPENDS= rubygem-actionpack4>=4: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/textproc/rubygem-html-pipeline/Makefile b/textproc/rubygem-html-pipeline/Makefile
index c534aa85f4f4..2e71ce2712fc 100644
--- a/textproc/rubygem-html-pipeline/Makefile
+++ b/textproc/rubygem-html-pipeline/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-activesupport4>=2:devel/rubygem-activesupport4 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-html-pipeline1/Makefile b/textproc/rubygem-html-pipeline1/Makefile
index f1fdcb0ee900..00f0f6f2079d 100644
--- a/textproc/rubygem-html-pipeline1/Makefile
+++ b/textproc/rubygem-html-pipeline1/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-activesupport4>=2:devel/rubygem-activesupport4 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-htmlentities/Makefile b/textproc/rubygem-htmlentities/Makefile
index bba065ef6918..9710201509a2 100644
--- a/textproc/rubygem-htmlentities/Makefile
+++ b/textproc/rubygem-htmlentities/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/textproc/rubygem-ini/Makefile b/textproc/rubygem-ini/Makefile
index 73464a9e2264..68fa9df7f5bc 100644
--- a/textproc/rubygem-ini/Makefile
+++ b/textproc/rubygem-ini/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/textproc/rubygem-itextomml/Makefile b/textproc/rubygem-itextomml/Makefile
index 3f488d10b694..756b21eb1c33 100644
--- a/textproc/rubygem-itextomml/Makefile
+++ b/textproc/rubygem-itextomml/Makefile
@@ -13,7 +13,6 @@ LICENSE= GPLv2 LGPL20 MPL
LICENSE_COMB= dual
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-jekyll-assets/Makefile b/textproc/rubygem-jekyll-assets/Makefile
index fdce167bf765..90b82ab92b41 100644
--- a/textproc/rubygem-jekyll-assets/Makefile
+++ b/textproc/rubygem-jekyll-assets/Makefile
@@ -20,7 +20,6 @@ RUN_DEPENDS= rubygem-fastimage>=1.8:graphics/rubygem-fastimage \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-jekyll-feed/Makefile b/textproc/rubygem-jekyll-feed/Makefile
index ad1f29044776..66858112a28e 100644
--- a/textproc/rubygem-jekyll-feed/Makefile
+++ b/textproc/rubygem-jekyll-feed/Makefile
@@ -13,7 +13,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/textproc/rubygem-jekyll-gist/Makefile b/textproc/rubygem-jekyll-gist/Makefile
index cee75bc2df12..1de1dbca031e 100644
--- a/textproc/rubygem-jekyll-gist/Makefile
+++ b/textproc/rubygem-jekyll-gist/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-octokit>=4.2:net/rubygem-octokit
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-jekyll-mentions/Makefile b/textproc/rubygem-jekyll-mentions/Makefile
index 9aee63b364ee..d2ac54b2b30f 100644
--- a/textproc/rubygem-jekyll-mentions/Makefile
+++ b/textproc/rubygem-jekyll-mentions/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-html-pipeline>=2.3:textproc/rubygem-html-pipeline \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-jekyll-paginate/Makefile b/textproc/rubygem-jekyll-paginate/Makefile
index a1b587a4ccd6..63532a3e41fb 100644
--- a/textproc/rubygem-jekyll-paginate/Makefile
+++ b/textproc/rubygem-jekyll-paginate/Makefile
@@ -16,9 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= shebangfix
+USES= gem:autoplist shebangfix
SHEBANG_FILES= script/bootstrap \
script/cibuild \
script/unbundle
diff --git a/textproc/rubygem-jekyll-redirect-from/Makefile b/textproc/rubygem-jekyll-redirect-from/Makefile
index f3e1eddee12a..a344d4f6db0b 100644
--- a/textproc/rubygem-jekyll-redirect-from/Makefile
+++ b/textproc/rubygem-jekyll-redirect-from/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-jekyll>=2.0:www/rubygem-jekyll
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-jekyll-sass-converter/Makefile b/textproc/rubygem-jekyll-sass-converter/Makefile
index 7cc7e7fddc6b..44ddbe0dff07 100644
--- a/textproc/rubygem-jekyll-sass-converter/Makefile
+++ b/textproc/rubygem-jekyll-sass-converter/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-sass>=3.4: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/textproc/rubygem-jekyll-sitemap/Makefile b/textproc/rubygem-jekyll-sitemap/Makefile
index a5f33292f8ce..6bf4f6c6c307 100644
--- a/textproc/rubygem-jekyll-sitemap/Makefile
+++ b/textproc/rubygem-jekyll-sitemap/Makefile
@@ -13,7 +13,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-jemoji/Makefile b/textproc/rubygem-jemoji/Makefile
index 08447db42867..8df3d6ebe740 100644
--- a/textproc/rubygem-jemoji/Makefile
+++ b/textproc/rubygem-jemoji/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-gemoji>=2.0:textproc/rubygem-gemoji \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-jsmin/Makefile b/textproc/rubygem-jsmin/Makefile
index 4b5bb579c49e..8e2708ee0c03 100644
--- a/textproc/rubygem-jsmin/Makefile
+++ b/textproc/rubygem-jsmin/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/textproc/rubygem-kramdown/Makefile b/textproc/rubygem-kramdown/Makefile
index e8e01674c251..f0f7631be8b5 100644
--- a/textproc/rubygem-kramdown/Makefile
+++ b/textproc/rubygem-kramdown/Makefile
@@ -14,9 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= shebangfix
+USES= gem:autoplist shebangfix
PLIST_FILES= bin/kramdown
diff --git a/textproc/rubygem-kwalify/Makefile b/textproc/rubygem-kwalify/Makefile
index 90c3e58da658..700f62c19772 100644
--- a/textproc/rubygem-kwalify/Makefile
+++ b/textproc/rubygem-kwalify/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/kwalify
diff --git a/textproc/rubygem-libxml-ruby/Makefile b/textproc/rubygem-libxml-ruby/Makefile
index 97cb67828cf8..d5b687479532 100644
--- a/textproc/rubygem-libxml-ruby/Makefile
+++ b/textproc/rubygem-libxml-ruby/Makefile
@@ -13,7 +13,6 @@ LICENSE= MIT
USE_GNOME= libxml2
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-linguistics/Makefile b/textproc/rubygem-linguistics/Makefile
index a796c3355874..9baca65f37e8 100644
--- a/textproc/rubygem-linguistics/Makefile
+++ b/textproc/rubygem-linguistics/Makefile
@@ -17,9 +17,7 @@ RUN_DEPENDS= rubygem-loggability>=0.11:textproc/rubygem-loggability
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= shebangfix
+USES= gem:autoplist shebangfix
SHEBANG_FILES= lib/linguistics.rb \
lib/linguistics/en/linkparser.rb
diff --git a/textproc/rubygem-liquid/Makefile b/textproc/rubygem-liquid/Makefile
index 26aa61114130..99d018f1a669 100644
--- a/textproc/rubygem-liquid/Makefile
+++ b/textproc/rubygem-liquid/Makefile
@@ -15,7 +15,6 @@ LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-liquid2/Makefile b/textproc/rubygem-liquid2/Makefile
index 408177e0fee3..23ace8510c2b 100644
--- a/textproc/rubygem-liquid2/Makefile
+++ b/textproc/rubygem-liquid2/Makefile
@@ -16,7 +16,6 @@ LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-loggability/Makefile b/textproc/rubygem-loggability/Makefile
index 2311fcb2fbd2..fb3a47930d3f 100644
--- a/textproc/rubygem-loggability/Makefile
+++ b/textproc/rubygem-loggability/Makefile
@@ -14,7 +14,6 @@ LICENSE= BSD3CLAUSE
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-loofah/Makefile b/textproc/rubygem-loofah/Makefile
index 5cd0483fc899..ec48389be706 100644
--- a/textproc/rubygem-loofah/Makefile
+++ b/textproc/rubygem-loofah/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-nokogiri>=1.5.9: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/textproc/rubygem-ltsv/Makefile b/textproc/rubygem-ltsv/Makefile
index 8ec0b50b5205..9eedc0e47628 100644
--- a/textproc/rubygem-ltsv/Makefile
+++ b/textproc/rubygem-ltsv/Makefile
@@ -11,7 +11,6 @@ COMMENT= Parser / Dumper for LTSV
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-markaby/Makefile b/textproc/rubygem-markaby/Makefile
index a33a417f2eee..6b4fe6875b04 100644
--- a/textproc/rubygem-markaby/Makefile
+++ b/textproc/rubygem-markaby/Makefile
@@ -16,7 +16,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/textproc/rubygem-multi_xml/Makefile b/textproc/rubygem-multi_xml/Makefile
index 3568fd6ea052..7d05873a3fb4 100644
--- a/textproc/rubygem-multi_xml/Makefile
+++ b/textproc/rubygem-multi_xml/Makefile
@@ -16,8 +16,7 @@ NOKOGIRI_DESC= Nokogiri is a HTML, XML, SAX, and Reader parser
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
NOKOGIRI_RUN_DEPENDS= rubygem-nokogiri>=0:textproc/rubygem-nokogiri
diff --git a/textproc/rubygem-nokogiri-diff/Makefile b/textproc/rubygem-nokogiri-diff/Makefile
index 140c92f804c4..4e506e974a3a 100644
--- a/textproc/rubygem-nokogiri-diff/Makefile
+++ b/textproc/rubygem-nokogiri-diff/Makefile
@@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-nokogiri>=1.5: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/textproc/rubygem-nokogiri/Makefile b/textproc/rubygem-nokogiri/Makefile
index 95d39a57cea8..e6d97b8b09b7 100644
--- a/textproc/rubygem-nokogiri/Makefile
+++ b/textproc/rubygem-nokogiri/Makefile
@@ -11,10 +11,8 @@ COMMENT= HTML, XML, SAX, and Reader parser
LICENSE= MIT
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist pkgconfig
USE_GNOME= libxml2 libxslt
-USES= pkgconfig
CONFIGURE_ARGS= --use-system-libraries
PLIST_FILES= bin/nokogiri
diff --git a/textproc/rubygem-nokogiri14/Makefile b/textproc/rubygem-nokogiri14/Makefile
index f6d5b7857986..371bfc3940c5 100644
--- a/textproc/rubygem-nokogiri14/Makefile
+++ b/textproc/rubygem-nokogiri14/Makefile
@@ -12,10 +12,8 @@ COMMENT= HTML, XML, SAX, and Reader parser
LICENSE= MIT
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist pkgconfig
USE_GNOME= libxml2 libxslt
-USES= pkgconfig
CONFIGURE_ARGS= --use-system-libraries
PLIST_FILES= bin/nokogiri14
diff --git a/textproc/rubygem-nokogumbo/Makefile b/textproc/rubygem-nokogumbo/Makefile
index 25fc9d1836db..30574859a13a 100644
--- a/textproc/rubygem-nokogumbo/Makefile
+++ b/textproc/rubygem-nokogumbo/Makefile
@@ -15,8 +15,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= rubygem-nokogiri>=0:textproc/rubygem-nokogiri
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= pkgconfig
+USES= gem:autoplist pkgconfig
.include <bsd.port.mk>
diff --git a/textproc/rubygem-octopress-escape-code/Makefile b/textproc/rubygem-octopress-escape-code/Makefile
index 6ec7b294141c..ea42b6b9c9d9 100644
--- a/textproc/rubygem-octopress-escape-code/Makefile
+++ b/textproc/rubygem-octopress-escape-code/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-jekyll>=3.0:www/rubygem-jekyll
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-opml/Makefile b/textproc/rubygem-opml/Makefile
index 6f99e7bde8fb..2aaa36bba24d 100644
--- a/textproc/rubygem-opml/Makefile
+++ b/textproc/rubygem-opml/Makefile
@@ -12,7 +12,6 @@ COMMENT= Simple wrapper for parsing OPML files
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-org-ruby/Makefile b/textproc/rubygem-org-ruby/Makefile
index a99380c86b28..e4c22bc9b6ad 100644
--- a/textproc/rubygem-org-ruby/Makefile
+++ b/textproc/rubygem-org-ruby/Makefile
@@ -16,8 +16,7 @@ RUN_DEPENDS= rubygem-rubypants>=0.2.0:textproc/rubygem-rubypants
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/org-ruby
diff --git a/textproc/rubygem-parslet/Makefile b/textproc/rubygem-parslet/Makefile
index b6437bb16a97..ef17c47be01e 100644
--- a/textproc/rubygem-parslet/Makefile
+++ b/textproc/rubygem-parslet/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-blankslate>=2:devel/rubygem-blankslate
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-phone/Makefile b/textproc/rubygem-phone/Makefile
index e3fe53e84e05..2789b8661864 100644
--- a/textproc/rubygem-phone/Makefile
+++ b/textproc/rubygem-phone/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/textproc/rubygem-rails-dom-testing/Makefile b/textproc/rubygem-rails-dom-testing/Makefile
index 1b83d4334f0f..6efdae85238d 100644
--- a/textproc/rubygem-rails-dom-testing/Makefile
+++ b/textproc/rubygem-rails-dom-testing/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= rubygem-activesupport4>=4.2.0:devel/rubygem-activesupport4 \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-rails-html-sanitizer/Makefile b/textproc/rubygem-rails-html-sanitizer/Makefile
index af680c703ffe..b93d5f3d716d 100644
--- a/textproc/rubygem-rails-html-sanitizer/Makefile
+++ b/textproc/rubygem-rails-html-sanitizer/Makefile
@@ -14,7 +14,6 @@ RUN_DEPENDS= rubygem-loofah>=2.0:textproc/rubygem-loofah
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-rak/Makefile b/textproc/rubygem-rak/Makefile
index 42fc1f2c4478..7cb9d2b4012e 100644
--- a/textproc/rubygem-rak/Makefile
+++ b/textproc/rubygem-rak/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/rak
diff --git a/textproc/rubygem-rchardet/Makefile b/textproc/rubygem-rchardet/Makefile
index 2fc0ebdc82c4..bde4a85399ae 100644
--- a/textproc/rubygem-rchardet/Makefile
+++ b/textproc/rubygem-rchardet/Makefile
@@ -13,7 +13,6 @@ LICENSE= LGPL21
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-rdiscount/Makefile b/textproc/rubygem-rdiscount/Makefile
index 913a0f821583..adbcaeaca055 100644
--- a/textproc/rubygem-rdiscount/Makefile
+++ b/textproc/rubygem-rdiscount/Makefile
@@ -12,8 +12,7 @@ COMMENT= Fast Markdown converter for ruby based on discount
LICENSE= BSD3CLAUSE
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/rdiscount
diff --git a/textproc/rubygem-rdtool/Makefile b/textproc/rubygem-rdtool/Makefile
index bc2492cdabd1..255ed7b23610 100644
--- a/textproc/rubygem-rdtool/Makefile
+++ b/textproc/rubygem-rdtool/Makefile
@@ -14,12 +14,10 @@ LICENSE_COMB= dual
NO_ARCH= yes
-USES= shebangfix
+USE_RUBY= yes
+USES= gem:autoplist shebangfix
SHEBANG_FILES= bin/rd2 bin/rdswap.rb
ruby_OLD_CMD= /usr/bin/ruby1.9.1
-USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
PLIST_FILES= bin/rd2 bin/rdswap.rb
diff --git a/textproc/rubygem-redcarpet/Makefile b/textproc/rubygem-redcarpet/Makefile
index f00a11d6ba13..f29847a301b7 100644
--- a/textproc/rubygem-redcarpet/Makefile
+++ b/textproc/rubygem-redcarpet/Makefile
@@ -13,8 +13,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/redcarpet
diff --git a/textproc/rubygem-reverse_markdown/Makefile b/textproc/rubygem-reverse_markdown/Makefile
index c84747dea5c9..f016474812bc 100644
--- a/textproc/rubygem-reverse_markdown/Makefile
+++ b/textproc/rubygem-reverse_markdown/Makefile
@@ -14,8 +14,7 @@ RUN_DEPENDS= rubygem-nokogiri>=1.6.6.2:textproc/rubygem-nokogiri
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/reverse_markdown
.include <bsd.port.mk>
diff --git a/textproc/rubygem-ri_cal/Makefile b/textproc/rubygem-ri_cal/Makefile
index 4a08ec254145..18401dbe6ede 100644
--- a/textproc/rubygem-ri_cal/Makefile
+++ b/textproc/rubygem-ri_cal/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/ri_cal
diff --git a/textproc/rubygem-rich/Makefile b/textproc/rubygem-rich/Makefile
index 7f4b62003ab4..faebc96459fb 100644
--- a/textproc/rubygem-rich/Makefile
+++ b/textproc/rubygem-rich/Makefile
@@ -22,7 +22,6 @@ RUN_DEPENDS= rubygem-jquery-rails>=0:www/rubygem-jquery-rails \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-rmmseg-cpp/Makefile b/textproc/rubygem-rmmseg-cpp/Makefile
index a53c1cfab0c2..73b5f4f57dd4 100644
--- a/textproc/rubygem-rmmseg-cpp/Makefile
+++ b/textproc/rubygem-rmmseg-cpp/Makefile
@@ -13,9 +13,7 @@ COMMENT= High performance Chinese word segmentation utility
LICENSE= MIT
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= shebangfix
+USES= gem:autoplist shebangfix
SHEBANG_FILES= misc/convert.rb
PLIST_FILES= bin/rmmseg
diff --git a/textproc/rubygem-rouge/Makefile b/textproc/rubygem-rouge/Makefile
index 66d9921feb88..04a8b274029d 100644
--- a/textproc/rubygem-rouge/Makefile
+++ b/textproc/rubygem-rouge/Makefile
@@ -14,8 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/rougify
.include <bsd.port.mk>
diff --git a/textproc/rubygem-rttool/Makefile b/textproc/rubygem-rttool/Makefile
index 67d66bd664f3..99105ed4b9b7 100644
--- a/textproc/rubygem-rttool/Makefile
+++ b/textproc/rubygem-rttool/Makefile
@@ -14,8 +14,7 @@ LICENSE_COMB= dual
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/rdrt2 bin/rt2
diff --git a/textproc/rubygem-ruby-augeas/Makefile b/textproc/rubygem-ruby-augeas/Makefile
index 7a190a92e87a..ae3a66f12174 100644
--- a/textproc/rubygem-ruby-augeas/Makefile
+++ b/textproc/rubygem-ruby-augeas/Makefile
@@ -17,8 +17,6 @@ LIB_DEPENDS= libaugeas.so:textproc/augeas
CONFIGURE_ARGS= --with-opt-include="${LOCALBASE}/include/libxml2"
USE_GNOME= libxml2
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
-USES= pkgconfig
+USES= gem:autoplist pkgconfig
.include <bsd.port.mk>
diff --git a/textproc/rubygem-ruby-xslt/Makefile b/textproc/rubygem-ruby-xslt/Makefile
index 0b385d100314..9f037fec2a12 100644
--- a/textproc/rubygem-ruby-xslt/Makefile
+++ b/textproc/rubygem-ruby-xslt/Makefile
@@ -13,7 +13,6 @@ LICENSE= GPLv2
USE_GNOME= libxslt
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-rubypants/Makefile b/textproc/rubygem-rubypants/Makefile
index 6bd0805a1dd1..739ec0229fcb 100644
--- a/textproc/rubygem-rubypants/Makefile
+++ b/textproc/rubygem-rubypants/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/textproc/rubygem-rugments/Makefile b/textproc/rubygem-rugments/Makefile
index de8519d61fab..43ae89fbd5ad 100644
--- a/textproc/rubygem-rugments/Makefile
+++ b/textproc/rubygem-rugments/Makefile
@@ -15,8 +15,7 @@ GEM_NAME= ${PORTNAME}-${DISTVERSION}
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/rugmentize
diff --git a/textproc/rubygem-sanitize/Makefile b/textproc/rubygem-sanitize/Makefile
index 0307059f2e47..ed7da57cefc8 100644
--- a/textproc/rubygem-sanitize/Makefile
+++ b/textproc/rubygem-sanitize/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= rubygem-crass>=1.0.2:www/rubygem-crass \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-sass-rails/Makefile b/textproc/rubygem-sass-rails/Makefile
index f27d969dce8f..8857ff1715f5 100644
--- a/textproc/rubygem-sass-rails/Makefile
+++ b/textproc/rubygem-sass-rails/Makefile
@@ -19,8 +19,7 @@ RUN_DEPENDS= rubygem-railties>=3.2.0:www/rubygem-railties \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PORTSCOUT= limit:^3\.
diff --git a/textproc/rubygem-sass-rails4/Makefile b/textproc/rubygem-sass-rails4/Makefile
index 0e86ed3db029..ef3aa80342a6 100644
--- a/textproc/rubygem-sass-rails4/Makefile
+++ b/textproc/rubygem-sass-rails4/Makefile
@@ -23,7 +23,6 @@ PORTSCOUT= limit:^4\.
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-sass-rails5/Makefile b/textproc/rubygem-sass-rails5/Makefile
index 3d35215d1a1f..3efef6b7ad26 100644
--- a/textproc/rubygem-sass-rails5/Makefile
+++ b/textproc/rubygem-sass-rails5/Makefile
@@ -22,7 +22,6 @@ RUN_DEPENDS= rubygem-railties4>=4.0.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/textproc/rubygem-sass/Makefile b/textproc/rubygem-sass/Makefile
index bd386afc1dbe..376d5ce68cd6 100644
--- a/textproc/rubygem-sass/Makefile
+++ b/textproc/rubygem-sass/Makefile
@@ -14,8 +14,7 @@ LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/sass bin/sass-convert bin/scss
diff --git a/textproc/rubygem-sass32/Makefile b/textproc/rubygem-sass32/Makefile
index 21f421c2fd71..5984ddecbc73 100644
--- a/textproc/rubygem-sass32/Makefile
+++ b/textproc/rubygem-sass32/Makefile
@@ -17,7 +17,6 @@ PORTSCOUT= limit:^3\.2\.
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-sax-machine/Makefile b/textproc/rubygem-sax-machine/Makefile
index 5a8cf8bda9d4..6271508389de 100644
--- a/textproc/rubygem-sax-machine/Makefile
+++ b/textproc/rubygem-sax-machine/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/textproc/rubygem-scss_lint/Makefile b/textproc/rubygem-scss_lint/Makefile
index 6e7274f666a3..ef19e1426242 100644
--- a/textproc/rubygem-scss_lint/Makefile
+++ b/textproc/rubygem-scss_lint/Makefile
@@ -16,8 +16,7 @@ RUN_DEPENDS= rubygem-rake>=0.9:devel/rubygem-rake \
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/scss-lint
diff --git a/textproc/rubygem-shell2html/Makefile b/textproc/rubygem-shell2html/Makefile
index 84729f525dba..36d6e18653b2 100644
--- a/textproc/rubygem-shell2html/Makefile
+++ b/textproc/rubygem-shell2html/Makefile
@@ -12,8 +12,7 @@ LICENSE= MIT
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/shell2css bin/shell2html
.include <bsd.port.mk>
diff --git a/textproc/rubygem-simplecov-html/Makefile b/textproc/rubygem-simplecov-html/Makefile
index 9370b9ea2bed..89cb38b83286 100644
--- a/textproc/rubygem-simplecov-html/Makefile
+++ b/textproc/rubygem-simplecov-html/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/textproc/rubygem-spreadsheet/Makefile b/textproc/rubygem-spreadsheet/Makefile
index f1493ca1468a..dd28078213fa 100644
--- a/textproc/rubygem-spreadsheet/Makefile
+++ b/textproc/rubygem-spreadsheet/Makefile
@@ -16,8 +16,7 @@ RUN_DEPENDS= rubygem-ruby-ole>=1.0:devel/rubygem-ruby-ole
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
PLIST_FILES= bin/xlsopcodes
diff --git a/textproc/rubygem-stamp/Makefile b/textproc/rubygem-stamp/Makefile
index ab6ae80de4cc..594c78aff54b 100644
--- a/textproc/rubygem-stamp/Makefile
+++ b/textproc/rubygem-stamp/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/textproc/rubygem-string-scrub/Makefile b/textproc/rubygem-string-scrub/Makefile
index a493e26ef239..da63996be3c1 100644
--- a/textproc/rubygem-string-scrub/Makefile
+++ b/textproc/rubygem-string-scrub/Makefile
@@ -13,8 +13,7 @@ LICENSE= MIT
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.pre.mk>
diff --git a/textproc/rubygem-syntax/Makefile b/textproc/rubygem-syntax/Makefile
index e04c57322be9..16d877e4e0c4 100644
--- a/textproc/rubygem-syntax/Makefile
+++ b/textproc/rubygem-syntax/Makefile
@@ -13,7 +13,6 @@ LICENSE= BSD3CLAUSE
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-termcolor/Makefile b/textproc/rubygem-termcolor/Makefile
index 061c6da5c23b..4c7cc3e14271 100644
--- a/textproc/rubygem-termcolor/Makefile
+++ b/textproc/rubygem-termcolor/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-highline>=1.5.0:devel/rubygem-highline
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-terminal-table/Makefile b/textproc/rubygem-terminal-table/Makefile
index 31df82815412..5ed0ea7a202d 100644
--- a/textproc/rubygem-terminal-table/Makefile
+++ b/textproc/rubygem-terminal-table/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/textproc/rubygem-text/Makefile b/textproc/rubygem-text/Makefile
index a44eac300676..960b8a68d2b9 100644
--- a/textproc/rubygem-text/Makefile
+++ b/textproc/rubygem-text/Makefile
@@ -15,7 +15,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING.txt
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-tidy/Makefile b/textproc/rubygem-tidy/Makefile
index 9e4acf05feed..4f3822da6a18 100644
--- a/textproc/rubygem-tidy/Makefile
+++ b/textproc/rubygem-tidy/Makefile
@@ -12,7 +12,6 @@ COMMENT= Ruby interface to HTML Tidy Library Project
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-twitter-text/Makefile b/textproc/rubygem-twitter-text/Makefile
index bdbc28e2152a..b856f7f9b0d2 100644
--- a/textproc/rubygem-twitter-text/Makefile
+++ b/textproc/rubygem-twitter-text/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-unf>=0.1.0:textproc/rubygem-unf
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-unf/Makefile b/textproc/rubygem-unf/Makefile
index 060b930bf327..7058b4fd5dc3 100644
--- a/textproc/rubygem-unf/Makefile
+++ b/textproc/rubygem-unf/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-unf_ext>=0:textproc/rubygem-unf_ext
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-unf_ext/Makefile b/textproc/rubygem-unf_ext/Makefile
index 9295e06d1712..f9d33c10d1c8 100644
--- a/textproc/rubygem-unf_ext/Makefile
+++ b/textproc/rubygem-unf_ext/Makefile
@@ -13,7 +13,6 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-version_sorter/Makefile b/textproc/rubygem-version_sorter/Makefile
index 86141b5a84d9..53ccfc6239cf 100644
--- a/textproc/rubygem-version_sorter/Makefile
+++ b/textproc/rubygem-version_sorter/Makefile
@@ -13,7 +13,6 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-wikicloth/Makefile b/textproc/rubygem-wikicloth/Makefile
index 1bb059569760..3972cb4fda0f 100644
--- a/textproc/rubygem-wikicloth/Makefile
+++ b/textproc/rubygem-wikicloth/Makefile
@@ -19,7 +19,6 @@ RUN_DEPENDS= rubygem-builder>=0: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/textproc/rubygem-xml-simple/Makefile b/textproc/rubygem-xml-simple/Makefile
index 4ca82d605409..05d9f8183a73 100644
--- a/textproc/rubygem-xml-simple/Makefile
+++ b/textproc/rubygem-xml-simple/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/textproc/rubygem-ya2yaml/Makefile b/textproc/rubygem-ya2yaml/Makefile
index 3dce49623fe6..6ecaab71e4fb 100644
--- a/textproc/rubygem-ya2yaml/Makefile
+++ b/textproc/rubygem-ya2yaml/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/textproc/rubygem-yard-chef/Makefile b/textproc/rubygem-yard-chef/Makefile
index c67389ae5041..800ac7b5ab59 100644
--- a/textproc/rubygem-yard-chef/Makefile
+++ b/textproc/rubygem-yard-chef/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-yard>=0.8:textproc/rubygem-yard
NO_ARCH= yes
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>
diff --git a/textproc/rubygem-yard/Makefile b/textproc/rubygem-yard/Makefile
index 32a130b9aeb7..c70f6625712a 100644
--- a/textproc/rubygem-yard/Makefile
+++ b/textproc/rubygem-yard/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/yard \
bin/yardoc \
diff --git a/textproc/rubygem-zmq/Makefile b/textproc/rubygem-zmq/Makefile
index 6f5cb23390b9..fc20af324185 100644
--- a/textproc/rubygem-zmq/Makefile
+++ b/textproc/rubygem-zmq/Makefile
@@ -14,7 +14,6 @@ LICENSE= LGPL3
LIB_DEPENDS= libzmq.so:net/libzmq2
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist
.include <bsd.port.mk>