summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-01-14 17:05:28 -0600
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-01-14 17:08:33 -0600
commit18c6e18276691edf5274406bf82a3b06792ff9ae (patch)
tree23a66e6997d92422bec9960a22edc07e5386d547 /irc
parentdevel/py-types-Pillow: update 9.4.0.1 → 9.4.0.2 (diff)
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk Notable changes are. - Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk. - USE_RUBY=yes is replaced with USES=ruby. - USE_RUBY_EXTCONF is replaced with USES=ruby:extconf. - USE_RUBY_RDOC is replaced with USES=ruby:rdoc. - USE_RUBY_SETUP is replaces with USES=ruby:setup. - RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with USES=ruby:{build,none,run}. - RUBY_REQUIRE isn't used anywhere, so removed. - USES=gem now implies USES=ruby. This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863 I have just made some cosmetic changes and ran exp-run to test that the tree is not in a BROKEN state. Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D37925
Diffstat (limited to 'irc')
-rw-r--r--irc/rbot/Makefile4
-rw-r--r--irc/rubygem-cinch/Makefile1
-rw-r--r--irc/rubygem-cogbot/Makefile1
-rw-r--r--irc/rubygem-lita-irc/Makefile1
-rw-r--r--irc/rubygem-net-irc/Makefile1
5 files changed, 1 insertions, 7 deletions
diff --git a/irc/rbot/Makefile b/irc/rbot/Makefile
index 2a2415fe5549..aca35f99db58 100644
--- a/irc/rbot/Makefile
+++ b/irc/rbot/Makefile
@@ -23,10 +23,8 @@ RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/tokyocabinet.so:databases/ruby-tokyocabinet
rubygem-oauth21>=0:net/rubygem-oauth21
LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet
-USES= cpe
+USES= cpe ruby:setup
-USE_RUBY= yes
-USE_RUBY_SETUP= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
NO_ARCH= yes
diff --git a/irc/rubygem-cinch/Makefile b/irc/rubygem-cinch/Makefile
index ef8d5426a67c..fec18aa0371b 100644
--- a/irc/rubygem-cinch/Makefile
+++ b/irc/rubygem-cinch/Makefile
@@ -11,7 +11,6 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
NO_ARCH= yes
-USE_RUBY= yes
USES= gem
.include <bsd.port.mk>
diff --git a/irc/rubygem-cogbot/Makefile b/irc/rubygem-cogbot/Makefile
index 62a298e17ddb..3984b818be8d 100644
--- a/irc/rubygem-cogbot/Makefile
+++ b/irc/rubygem-cogbot/Makefile
@@ -23,7 +23,6 @@ RUN_DEPENDS= rubygem-cinch>=2.3.3:irc/rubygem-cinch \
rubygem-fortune_gem>=0.0.9:games/rubygem-fortune_gem
NO_ARCH= yes
-USE_RUBY= yes
USES= gem
PLIST_FILES= bin/cogbot
diff --git a/irc/rubygem-lita-irc/Makefile b/irc/rubygem-lita-irc/Makefile
index 69af70fc24cc..29663f4b9ef2 100644
--- a/irc/rubygem-lita-irc/Makefile
+++ b/irc/rubygem-lita-irc/Makefile
@@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-cinch>=2.0:irc/rubygem-cinch \
rubygem-lita>=4.0:net-im/rubygem-lita
NO_ARCH= yes
-USE_RUBY= yes
USES= gem
.include <bsd.port.mk>
diff --git a/irc/rubygem-net-irc/Makefile b/irc/rubygem-net-irc/Makefile
index 79fc8d3c41c4..98e250415c43 100644
--- a/irc/rubygem-net-irc/Makefile
+++ b/irc/rubygem-net-irc/Makefile
@@ -13,7 +13,6 @@ LICENSE= RUBY
NO_ARCH= yes
REINPLACE_ARGS= -i ''
-USE_RUBY= yes
USES= gem
post-patch: