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
This commit is contained in:
Muhammad Moinur Rahman 2023-01-14 17:05:28 -06:00
parent 74d5524557
commit 18c6e18276
2868 changed files with 167 additions and 3006 deletions

View File

@ -19,6 +19,9 @@ IGNORE= Incorrect 'USES+= gem:${gem_ARGS}' usage: argument [${arg}] is not recog
. endif
. endfor
# "USES=gem" implies "USES=ruby"
.include "${USESDIR}/ruby.mk"
PKGNAMEPREFIX?= rubygem-
EXTRACT_SUFX= .gem
EXTRACT_ONLY=

View File

@ -1,11 +1,16 @@
# bsd.ruby.mk - Utility definitions for Ruby related ports.
# Provide support for Ruby releated ports.
#
.if !defined(Ruby_Include)
Ruby_Include= bsd.ruby.mk
Ruby_Include_MAINTAINER= ruby@FreeBSD.org
# Feature: ruby
# Usage: USES=ruby[:args,..]
# Valid ARGS: build, extconf, run, setup
# ARGS description:
# build Says that ruby is required only for build time.
# extconf Says that the port uses extconf.rb to configure.
# none Says that no dependency is added to the port.
# Intended to be used with lang/ruby*.
# run Says that ruby is required only for run time.
# setup Says that the port uses setup.rb to configure and
# build.
#
# [variables that a user may define]
#
@ -23,20 +28,12 @@ Ruby_Include_MAINTAINER= ruby@FreeBSD.org
# RUBY_SITELIBDIR, and RUBY_SITEARCHLIBDIR.
# RUBY_VER - Set to the alternative short version of ruby in the
# form of `x.y' (see below for current value).
# USE_RUBY - Says that the port uses ruby for building and running.
# RUBY_NO_BUILD_DEPENDS - Says that the port should not build-depend on ruby.
# RUBY_NO_RUN_DEPENDS - Says that the port should not run-depend on ruby.
# USE_RUBY_EXTCONF - Says that the port uses extconf.rb to configure.
# Implies USE_RUBY.
# RUBY_EXTCONF - Set to the alternative name of extconf.rb
# (default: extconf.rb).
# RUBY_EXTCONF_SUBDIRS - Set to list of subdirectories, if multiple modules
# are included.
# USE_RUBY_SETUP - Says that the port uses setup.rb to configure and
# build.
# RUBY_SETUP - Set to the alternative name of setup.rb
# (default: setup.rb).
# USE_RUBYGEMS - Do not use this -- instead USES=gem
#
# [variables that each port should not (re)define]
#
@ -44,7 +41,7 @@ Ruby_Include_MAINTAINER= ruby@FreeBSD.org
# (default: ruby${RUBY_SUFFIX}-)
# RUBY_VERSION - Full version of ruby without preview/beta suffix in
# the form of `x.y.z' (see below for current value).
# RUBY_VERSION_CODE - Integer version of RUBY_VERSION in the form of
# RUBY_VERSION_CODE - Integer version of RUBY_VERSION in the form of
# `xyz'.
# RUBY_DISTVERSION - DISTVERSION for the standard ruby ports (ruby,
# ruby-gdbm, etc.).
@ -93,6 +90,25 @@ Ruby_Include_MAINTAINER= ruby@FreeBSD.org
# RUBY_MODDOCDIR - Installation path for the module's documents.
# RUBY_MODEXAMPLESDIR - Installation path for the module's examples.
#
# MAINTAINER: ruby@FreeBSD.org
.if !defined(_INCLUDE_USES_RUBY_MK)
_INCLUDE_USES_RUBY_MK= yes
_valid_ARGS= build extconf none run setup
# "USES=gem" implies "USES=ruby"
. if defined(_INCLUDE_USES_GEM_MK)
ruby_ARGS=
. endif
# Sanity check
. for arg in ${ruby_ARGS}
. if empty(_valid_ARGS:M${arg})
IGNORE= Incorrect 'USES+= ruby:${ruby_ARGS}' usage: argument [${arg}] is not recognized
. endif
. endfor
. if defined(RUBY_DEFAULT_VER)
WARNING+= "RUBY_DEFAULT_VER is defined, consider using DEFAULT_VERSIONS=ruby=${RUBY_DEFAULT_VER} instead"
@ -282,8 +298,7 @@ RUBY_FLAGS+= -d
#
# extconf.rb support
#
. if defined(USE_RUBY_EXTCONF)
USE_RUBY= yes
. if ${ruby_ARGS:Mextconf}
RUBY_EXTCONF?= extconf.rb
CONFIGURE_ARGS+= --with-opt-dir="${LOCALBASE}"
@ -308,7 +323,7 @@ ruby-extconf-configure:
#
# setup.rb support
#
. if defined(USE_RUBY_SETUP)
. if ${ruby_ARGS:Msetup}
RUBY_SETUP?= setup.rb
do-configure: ruby-setup-configure
@ -333,15 +348,17 @@ ruby-setup-install:
${SETENV} ${MAKE_ENV} ${RUBY} ${RUBY_FLAGS} ${RUBY_SETUP} install --prefix=${STAGEDIR}
. endif
. if defined(USE_RUBY)
. if !defined(RUBY_NO_BUILD_DEPENDS)
. if !${ruby_ARGS:Mbuild} && !${ruby_ARGS:Mrun} && !${ruby_ARGS:Mnone}
EXTRACT_DEPENDS+= ${DEPEND_RUBY}
PATCH_DEPENDS+= ${DEPEND_RUBY}
BUILD_DEPENDS+= ${DEPEND_RUBY}
. endif
. if !defined(RUBY_NO_RUN_DEPENDS)
RUN_DEPENDS+= ${DEPEND_RUBY}
. endif
. elif ${ruby_ARGS:Mbuild}
EXTRACT_DEPENDS+= ${DEPEND_RUBY}
PATCH_DEPENDS+= ${DEPEND_RUBY}
BUILD_DEPENDS+= ${DEPEND_RUBY}
. elif ${ruby_ARGS:Mrun}
RUN_DEPENDS+= ${DEPEND_RUBY}
. endif
. endif # _INVALID_RUBY_VER

View File

@ -371,9 +371,6 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# USE_OCAML - If set, this port relies on the OCaml language.
# Implies inclusion of bsd.ocaml.mk. (Also see
# that file for more information on USE_OCAML*).
# USE_RUBY - If set, this port relies on the Ruby language.
# Implies inclusion of bsd.ruby.mk. (Also see
# that file for more information on USE_RUBY_*).
##
# USE_GECKO - If set, this port uses the Gecko/Mozilla product.
# See bsd.gecko.mk for more details.
@ -1391,10 +1388,6 @@ PKGCOMPATDIR?= ${LOCALBASE}/lib/compat/pkg
.include "${PORTSDIR}/Mk/bsd.java.mk"
. endif
. if defined(USE_RUBY)
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
. endif
. if defined(USE_OCAML)
.include "${PORTSDIR}/Mk/bsd.ocaml.mk"
. endif
@ -1640,8 +1633,7 @@ QA_ENV+= STAGEDIR=${STAGEDIR} \
DISABLE_LICENSES="${DISABLE_LICENSES:Dyes}" \
PORTNAME=${PORTNAME} \
NO_ARCH=${NO_ARCH} \
"NO_ARCH_IGNORE=${NO_ARCH_IGNORE}" \
USE_RUBY=${USE_RUBY}
"NO_ARCH_IGNORE=${NO_ARCH_IGNORE}"
. if !empty(USES:Mssl)
QA_ENV+= USESSSL=yes
. endif

View File

@ -161,6 +161,10 @@ DEV_ERROR+= "USE_TCL and USE_TK are no longer supported, please use USES=tcl or
DEV_ERROR+= "USE_FPC=yes is no longer supported, please use USES=fpc"
.endif
.if ! empty(USES:Mruby) && ! empty(USES:Mgem)
DEV_ERROR= "'USES=gem' implies 'USES=ruby'. You should not specify both of them"
.endif
.for _type in EXAMPLES DOCS
. if defined(PORT${_type}) && empty(_REALLY_ALL_POSSIBLE_OPTIONS:M${_type})
DEV_ERROR+= "PORT${_type} does not do anything unless the ${_type} option is present."
@ -203,7 +207,9 @@ SANITY_UNSUPPORTED= USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \
INSTALLS_EGGINFO USE_DOS2UNIX NO_STAGE USE_RUBYGEMS USE_GHOSTSCRIPT \
USE_GHOSTSCRIPT_BUILD USE_GHOSTSCRIPT_RUN USE_AUTOTOOLS APACHE_PORT \
USE_FPC_RUN WANT_FPC_BASE WANT_FPC_ALL USE_QT4 USE_QT5 QT_NONSTANDARD \
XORG_CAT CARGO_USE_GITHUB CARGO_USE_GITLAB CARGO_GIT_SUBDIR
XORG_CAT CARGO_USE_GITHUB CARGO_USE_GITLAB CARGO_GIT_SUBDIR \
USE_RUBY USE_RUBY_EXTCONF USE_RUBY_SETUP RUBY_NO_BUILD_DEPENDS \
RUBY_NO_RUN_DEPENDS
SANITY_DEPRECATED= MLINKS \
USE_MYSQL WANT_MYSQL_VER \
PYDISTUTILS_INSTALLNOSINGLE \
@ -294,6 +300,11 @@ XORG_CAT_ALT= USES=xorg-cat:${XORG_CAT}
CARGO_USE_GITHUB_ALT= CARGO_CRATES \(regenerate it with make cargo-crates\)
CARGO_USE_GITLAB_ALT= CARGO_CRATES \(regenerate it with make cargo-crates\)
CARGO_GIT_SUBDIR_ALT= CARGO_CRATES \(regenerate it with make cargo-crates\)
USE_RUBY_ALT= USES=ruby
USE_RUBY_EXTCONF_ALT= USES=ruby:extconf
USE_RUBY_SETUP_ALT= USES=ruby:setup
RUBY_NO_BUILD_DEPENDS_ALT= USES=ruby:run
RUBY_NO_RUN_DEPENDS_ALT= USES=ruby:build
.for a in ${SANITY_DEPRECATED}
. if defined(${a})

View File

@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-glib2>=${PORTVERSION}:devel/rubygem-glib2
USES= gem gnome
USE_GNOME= atk
USE_RUBY= yes
NO_ARCH= yes

View File

@ -14,7 +14,6 @@ RUN_DEPENDS= rubygem-minitar>=${PORTVERSION}<1:archivers/rubygem-minitar \
rubygem-minitar-cli>=${PORTVERSION}<1:archivers/rubygem-minitar-cli
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -13,7 +13,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-io-like>=0.3.0<0.4:devel/rubygem-io-like
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -11,7 +11,6 @@ WWW= https://github.com/brianmario/bzip2-ruby
LICENSE= BSD2CLAUSE RUBY
LICENSE_COMB= dual
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -19,7 +19,6 @@ RUN_DEPENDS= rubygem-arr-pm>=0.0.11<0.1:devel/rubygem-arr-pm \
rubygem-stud>=0:devel/rubygem-stud
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -10,7 +10,6 @@ WWW= https://bitbucket.org/winebarrel/libarchive-ruby
LICENSE= BSD3CLAUSE
USE_RUBY= yes
USES= dos2unix gem libarchive
DOS2UNIX_FILES= ext/depend

View File

@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-minitar>=0.8.0<1:archivers/rubygem-minitar \
rubygem-powerbar>=1.0<2:devel/rubygem-powerbar
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -13,7 +13,6 @@ LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/docs/bsdl.txt
LICENSE_FILE_RUBY= ${WRKSRC}/docs/ruby.txt
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -11,7 +11,6 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -11,7 +11,6 @@ LICENSE= BSD2CLAUSE RUBY
LICENSE_COMB= dual
USES= cpe gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -12,7 +12,6 @@ LICENSE= BSD2CLAUSE RUBY
LICENSE_COMB= dual
USES= cpe gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -9,7 +9,6 @@ WWW= https://github.com/postmodern/rubyzip2
NO_ARCH= yes
USE_RUBY= yes
USES= cpe gem
CPE_VENDOR= rubyzip_project

View File

@ -12,7 +12,6 @@ LICENSE= BSD2CLAUSE RUBY
LICENSE_COMB= dual
USES= cpe gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -14,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libsnappy.so:archivers/snappy
USES= gem shebangfix
USE_RUBY= yes
SHEBANG_FILES= smoke.sh \
vendor/snappy/config.status \

View File

@ -12,9 +12,7 @@ WWW= http://www.funaba.org/code #smf
LICENSE= BSD2CLAUSE
USE_RUBY= yes
USES= shebangfix
USE_RUBY_SETUP= yes
USES= ruby:setup shebangfix
RUBY_SETUP= install.rb
SHEBANG_FILES= sample/*.rb

View File

@ -17,8 +17,7 @@ LIB_DEPENDS= libtag.so:audio/taglib
NO_ARCH= yes
NO_BUILD= yes
USE_RUBY= yes
USES= tar:bzip2
USES= ruby tar:bzip2
OPTIONS_DEFINE= DOCS

View File

@ -11,7 +11,6 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -10,7 +10,6 @@ WWW= https://github.com/moumar/ruby-mp3info
LICENSE= MIT
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -10,7 +10,6 @@ WWW= https://github.com/moumar/ruby-ogginfo
LICENSE= GPLv3
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -12,7 +12,6 @@ LICENSE= BSD3CLAUSE
LIB_DEPENDS= libshout.so:audio/libshout
CONFIGURE_ARGS= --with-opt-include="${LOCALBASE}/include"
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -18,8 +18,7 @@ LIB_DEPENDS+= libao.so:audio/libao \
libvorbis.so:audio/libvorbis
RUN_DEPENDS= id3v2:audio/id3v2
USES= compiler:c11 gmake ncurses tar:bzip2
USE_RUBY= yes
USES= compiler:c11 gmake ncurses ruby tar:bzip2
MAKE_ARGS= CC="${CC}"
CFLAGS+= -fcommon

View File

@ -11,7 +11,6 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -13,7 +13,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md
RUN_DEPENDS= rubygem-memory_profiler>=1<2:devel/rubygem-memory_profiler
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -12,7 +12,6 @@ LICENSE_COMB= dual
LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -21,7 +21,6 @@ RUN_DEPENDS= rubygem-benchmark-ips>=2.0.0:benchmarks/rubygem-benchmark-ips \
rubygem-unicode_plot>=0.0.4<1.0.0:textproc/rubygem-unicode_plot
USES= gem
USE_RUBY= yes
CONFLICTS_INSTALL= rubygem-gitlab-derailed_benchmarks

View File

@ -19,7 +19,6 @@ RUN_DEPENDS= rubygem-benchmark-ips>=2.0.0:benchmarks/rubygem-benchmark-ips \
rubygem-thor>=0.19:devel/rubygem-thor
USES= gem
USE_RUBY= yes
CONFLICTS_INSTALL= rubygem-derailed_benchmarks

View File

@ -12,7 +12,6 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -17,9 +17,7 @@ OPTIONS_DEFINE= BDB4 MYSQL PGSQL DOCS
BDB4_DESC= bdb4 support for faster flat file indexing
NO_ARCH= yes
USES= shebangfix
USE_RUBY= yes
USE_RUBY_SETUP= yes
USES= ruby:setup shebangfix
SHEBANG_FILES= sample/biofetch.rb
ruby_OLD_CMD= /usr/proj/bioruby/bin/ruby

View File

@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-bio>=2.0.0:biology/rubygem-bio \
rubygem-bio-old-biofetch-emulator>=0.0.1:biology/rubygem-bio-old-biofetch-emulator
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -13,7 +13,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= rubygem-bio>=1.4.2:biology/rubygem-bio
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -15,7 +15,6 @@ LICENSE_FILE_RUBY= ${WRKSRC}/COPYING
RUN_DEPENDS= rubygem-bio>=2.0.0:biology/rubygem-bio
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -13,7 +13,6 @@ LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/BSDL
LICENSE_FILE_RUBY= ${WRKSRC}/COPYING
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -13,11 +13,10 @@ BROKEN_i386= type 'hash<long long>' does not provide a call operator
BROKEN_powerpc= type 'hash<long long>' does not provide a call operator
BROKEN_sparc64= does not compile on sparc64: gcc bug
USES= compiler:c++0x gmake gl python qt:5
USES= compiler:c++0x gmake gl python ruby qt:5
USE_GITHUB= yes
GH_ACCOUNT= KLayout
USE_GL= gl
USE_RUBY= yes
USE_QT= core buildtools designer gui multimedia network printsupport \
qmake sql svg testlib uitools widgets xml xmlpatterns
USE_LDCONFIG= yes

View File

@ -11,6 +11,5 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= gem
USE_RUBY= yes
.include <bsd.port.mk>

View File

@ -13,7 +13,6 @@ RUN_DEPENDS= rubygem-hashie>=0:devel/rubygem-hashie \
rubygem-json>=0:devel/rubygem-json
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -11,6 +11,5 @@ LICENSE= BSD2CLAUSE RUBY
LICENSE_COMB= dual
USES= gem
USE_RUBY= yes
.include <bsd.port.mk>

View File

@ -10,7 +10,6 @@ WWW= https://rubygems.org/gems/serialport
LICENSE= GPLv2
USES= gem shebangfix
USE_RUBY= yes
SHEBANG_FILES= test/set_readtimeout.rb
.include <bsd.port.mk>

View File

@ -8,7 +8,6 @@ COMMENT= Ruby extension for base32 encoding and decoding
WWW= https://github.com/stesla/base32
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -12,7 +12,6 @@ LICENSE_COMB= dual
LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -13,6 +13,5 @@ LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/BSDL
LICENSE_FILE_RUBY= ${WRKSRC}/LICENSE.txt
USES= gem iconv
USE_RUBY= yes
.include <bsd.port.mk>

View File

@ -14,7 +14,6 @@ RUN_DEPENDS= rubygem-json-ld>=3.2<4:converters/rubygem-json-ld \
rubygem-rdf>=3.2<4:www/rubygem-rdf
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -19,7 +19,6 @@ RUN_DEPENDS= rubygem-json-canonicalization>=0.3<1:devel/rubygem-json-canonicaliz
rubygem-rdf>=3.2.9<4:www/rubygem-rdf
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -13,7 +13,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-json>=1.6.0:devel/rubygem-json
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -12,7 +12,6 @@ LICENSE= ISCL
LIB_DEPENDS= libbsdconv.so:converters/bsdconv
CONFIGURE_ARGS= --with-bsdconv-dir=${LOCALBASE}
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -11,7 +11,6 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -14,7 +14,6 @@ RUN_DEPENDS= rubygem-activemodel60>=6.0:databases/rubygem-activemodel60 \
rubygem-activesupport60>=6.0:devel/rubygem-activesupport60
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -14,9 +14,8 @@ LICENSE= APACHE20
BUILD_DEPENDS= puppet6>=0:sysutils/puppet6
CONFLICTS_INSTALL= puppetdb-terminus5 puppetdb-terminus7
USE_RUBY= yes
NO_BUILD= yes
USES= gmake
USES= gmake ruby
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/Makefile

View File

@ -14,9 +14,8 @@ LICENSE= APACHE20
BUILD_DEPENDS= puppet7>=0:sysutils/puppet7
CONFLICTS_INSTALL= puppetdb-terminus5 puppetdb-terminus6
USE_RUBY= yes
NO_BUILD= yes
USES= gmake
USES= gmake ruby
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/Makefile

View File

@ -43,7 +43,7 @@ TLS_USES= ssl
TLS_MAKE_ENV= BUILD_TLS=yes
TRIB_CATEGORIES= ruby
TRIB_RUN_DEPENDS= rubygem-redis>=2.2:databases/rubygem-redis
TRIB_USE= RUBY=yes
TRIB_USES= ruby
.include <bsd.port.pre.mk>

View File

@ -42,7 +42,7 @@ TLS_USES= ssl
TLS_MAKE_ENV= BUILD_TLS=yes
TRIB_CATEGORIES= ruby
TRIB_RUN_DEPENDS= rubygem-redis>=2.2:databases/rubygem-redis
TRIB_USE= RUBY=yes
TRIB_USES= ruby
.include <bsd.port.pre.mk>

View File

@ -44,7 +44,7 @@ TLS_USES= ssl
TLS_MAKE_ENV= BUILD_TLS=yes
TRIB_CATEGORIES= ruby
TRIB_RUN_DEPENDS= rubygem-redis>=2.2:databases/rubygem-redis
TRIB_USE= RUBY=yes
TRIB_USES= ruby
.include <bsd.port.pre.mk>

View File

@ -28,7 +28,7 @@ OPTIONS_DEFAULT= PERL
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MRUBY}
USE_RUBY= yes
USES+= ruby
PLIST_SUB+= WITH_RUBY=""
CONFIGURE_ARGS+= --enable-ruby
.else

View File

@ -18,9 +18,7 @@ BROKEN_RUBY32= yes
BUILD_DEPENDS= rubygem-rdoc>=0.a:devel/rubygem-rdoc
USES= bdb shebangfix tar:bzip2
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
USES= bdb ruby:extconf shebangfix tar:bzip2
SHEBANG_FILES= examples/basic.rb examples/cats.rb examples/cursor.rb \
examples/func.rb examples/join.rb examples/lock.rb \

View File

@ -14,9 +14,8 @@ LICENSE_FILE= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/COPYING
LIB_DEPENDS= libqdbm.so:databases/qdbm
USES= iconv shebangfix
USES= iconv ruby shebangfix
SHEBANG_FILES= curia/rbcrtest depot/rbdptest myrbdoc villa/rbvltest
USE_RUBY= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/ruby
GNU_CONFIGURE= yes
USE_LDCONFIG= yes

View File

@ -12,8 +12,7 @@ WWW= https://dbmx.net/tokyocabinet/
LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
USES= ruby:extconf
INSTALL_TARGET= site-install

View File

@ -17,8 +17,7 @@ BUILD_DEPENDS= rubygem-rdoc>=0:devel/rubygem-rdoc \
xapian-core>=${PORTVERSION}:databases/xapian-core
LIB_DEPENDS= libxapian.so:databases/xapian-core
USES= compiler:c++11-lang libtool tar:xz
USE_RUBY= yes
USES= compiler:c++11-lang libtool ruby tar:xz
CONFIGURE_ARGS= --datarootdir=${DATADIR} \
--docdir=${DOCSDIR} \

View File

@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-activemodel5>=4.1<7.1:databases/rubygem-activemodel5 \
rubygem-jsonapi-renderer>=0.1.1<0.3:devel/rubygem-jsonapi-renderer
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -17,7 +17,6 @@ RUN_DEPENDS= rubygem-activemodel61>=4.1<7.1:databases/rubygem-activemodel61 \
rubygem-jsonapi-renderer>=0.1.1<0.3:devel/rubygem-jsonapi-renderer
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -10,7 +10,6 @@ WWW= https://github.com/brunofacca/active-record-query-trace
LICENSE= MIT
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-activemodel5>=5.0:databases/rubygem-activemodel5 \
rubygem-builder>=3.1<4:devel/rubygem-builder
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-activesupport4>=${PORTVERSION}:devel/rubygem-activesupport4
rubygem-builder>=3.1<4:devel/rubygem-builder
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -14,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
RUN_DEPENDS= rubygem-activesupport5>=${PORTVERSION}:devel/rubygem-activesupport5
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -14,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
RUN_DEPENDS= rubygem-activesupport50>=${PORTVERSION}:devel/rubygem-activesupport50
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -14,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
RUN_DEPENDS= rubygem-activesupport52>=${PORTVERSION}:devel/rubygem-activesupport52
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -15,7 +15,6 @@ LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
RUN_DEPENDS= rubygem-activesupport60>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport60
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -15,7 +15,6 @@ LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
RUN_DEPENDS= rubygem-activesupport61>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport61
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -15,7 +15,6 @@ LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
RUN_DEPENDS= rubygem-activesupport70>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport70
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -14,7 +14,6 @@ RUN_DEPENDS= rubygem-activerecord61>=4:databases/rubygem-activerecord61 \
rubygem-pg>=0:databases/rubygem-pg
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -13,7 +13,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-activerecord4>=4.2:databases/rubygem-activerecord4
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -14,7 +14,6 @@ RUN_DEPENDS= jruby:lang/jruby \
rubygem-activerecord5>=5.1.0:databases/rubygem-activerecord5
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -15,7 +15,6 @@ RUN_DEPENDS= jruby:lang/jruby \
rubygem-jdbc-mysql>=5.1.36:databases/rubygem-jdbc-mysql
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -18,7 +18,6 @@ RUN_DEPENDS= rubygem-actionpack60>=5.2.4.1:www/rubygem-actionpack60 \
rubygem-railties60>=5.2.4.1:www/rubygem-railties60
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-activemodel4>=${PORTVERSION}:databases/rubygem-activemodel4
rubygem-arel6>=6.0<7:databases/rubygem-arel6
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-activemodel5>=${PORTVERSION}:databases/rubygem-activemodel5
rubygem-arel8>=8.0,1<9,1:databases/rubygem-arel8
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-activemodel50>=${PORTVERSION}:databases/rubygem-activemodel
rubygem-arel7>=7.0,1<8,1:databases/rubygem-arel7
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-activemodel52>=${PORTVERSION}:databases/rubygem-activemodel
rubygem-arel>=9.0:databases/rubygem-arel
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-activemodel60>=${PORTVERSION}<${PORTVERSION}_99:databases/r
rubygem-activesupport60>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport60
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-activemodel61>=${PORTVERSION}<${PORTVERSION}_99:databases/r
rubygem-activesupport61>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport61
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-activemodel70>=${PORTVERSION}<${PORTVERSION}_99:databases/r
rubygem-activesupport70>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport70
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -14,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
RUN_DEPENDS?= rubygem-activerecord4>=3.0:databases/rubygem-activerecord4
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -13,7 +13,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-arrayfields>=4.9<5:devel/rubygem-arrayfields
USES= gem
USE_RUBY= yes
PLIST_FILES= bin/amalgalite-pack

View File

@ -12,7 +12,6 @@ LICENSE= MIT
RUN_DEPENDS= rubygem-activerecord60>=6.0:databases/rubygem-activerecord60
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -12,7 +12,6 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE.txt
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -12,7 +12,6 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE.txt
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -13,7 +13,6 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE.txt
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -13,7 +13,6 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE.txt
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -13,7 +13,6 @@ LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
RUN_DEPENDS= rubygem-activerecord4>=4.0.0<7.1:databases/rubygem-activerecord4
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -11,7 +11,6 @@ WWW= https://github.com/knu/ruby-bdb1
LICENSE= BSD2CLAUSE RUBY
LICENSE_COMB= dual
USE_RUBY= yes
USES= gem shebangfix
SHEBANG_FILES= examples/*.rb

View File

@ -16,7 +16,6 @@ RUN_DEPENDS= rubygem-activerecord4>=0:databases/rubygem-activerecord4 \
rubygem-uuidtools>=2.0.0:devel/rubygem-uuidtools
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -14,7 +14,6 @@ RUN_DEPENDS= rubygem-concurrent-ruby>=1.0.5<2:devel/rubygem-concurrent-ruby \
rubygem-redis>=1.0<6:databases/rubygem-redis
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -14,7 +14,6 @@ RUN_DEPENDS= rubygem-httpclient>=2.8<3:www/rubygem-httpclient \
rubygem-multi_json>=1.7<2:devel/rubygem-multi_json
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -11,7 +11,6 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gem
USE_RUBY= yes
NO_ARCH= yes

View File

@ -13,7 +13,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-addressable>=2.1:www/rubygem-addressable
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -22,7 +22,6 @@ RUN_DEPENDS= rubygem-dm-aggregates>=${PORTVERSION}:databases/rubygem-dm-aggregat
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -13,7 +13,6 @@ LICENSE= BSD3CLAUSE
RUN_DEPENDS= rubygem-dbi>=0:databases/rubygem-dbi \
rubygem-mysql>=0:databases/rubygem-mysql
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -15,7 +15,6 @@ RUN_DEPENDS= rubygem-dbi>=0.4.0:databases/rubygem-dbi \
rubygem-pg>=0:databases/rubygem-pg
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

Some files were not shown because too many files have changed in this diff Show More