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
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
mail/rubygem-mail: Add dependencies for Ruby 3.1+
- Bump PORTREVISION for dependency change
This commit also reverts da6b7803d1f8bccac09d69a6d2eaa96e93522743.
Reference: https://github.com/mikel/mail/pull/1439
mail/rubygem-mail: Fix dependency with Ruby 3.1
In Ruby 3.1 net/smtp is distributed as bundled gem. On the other hand,
our ruby ports (lang/rubyXY) don't include bundled gems in their
packages and it also applies to lang/ruby31. That means net/smtp isn't
include in the package of Ruby 3.1. So add mail/rubygem-net-smtp to
RUN_DEPENDS so this port works fine with Ruby 3.1.
PR: 262088
Approved by: portmgr (blanket: dependency fix)
MFH: 2022Q1 (dependency fix)
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
Set NO_ARCH for remaining rubygem-* ports with no arch dependent files
Obtained from: DEVELOPER_MODE
With Hat: ruby@
Sponsored by: RideCharge Inc / Curb
www/rubygem-rails4: create port for rails4
This port required creating a number of new ports, old versions of existing
ports and other adjustments, so do all that while here too.
Rails is a web-application framework for the MVC pattern that includes
both a template engine, controller framework, and object-relational
mapping package. Everything needed to develop web-apps that can run on
CGI, FastCGI, and mod_ruby
Being a full-stack framework means that all layers are built to work
seamlessly together. That way you Don't Repeat Yourself (DRY) and you
can use a single language from top to bottom. Everything from templates
to control flow to business logic is written in Ruby - The language of
love for industry heavy-weights.
WWW: http://www.rubyonrails.org
Submitted by: xmj (based on)
misc/rubygem-mime-types117: rename to misc/rubygem-mime-types1
Update misc/rubygem-mime-types117 to the latest version that will work with
rails 3.x and rename to properly reflect the version.
- Update to 2.4.4 which fixes several security issues
PR: ports/167363
Submitted by: Eric Freeman <freebsdports@chillibear.com>
Security: 3d55b961-9a2e-11e1-a2ef-001fd0af1a4c
- Revert previous update as mail/rubygem-actionmailer does not install
with rubygem-mail-2.3.0 (see ports/159255)
- Bump PORTEPOCH as we go back to version 2.2.19
Reported by: swills@ (via email)
Approved by: Eric <freebsdports@chillibear.com> (maintainer, via email)
- Update to 2.3.0
- Add LICENSE (MIT)
- drop dependency on activesupport (now optional - will be used
automatically if installed)
PR: ports/157960
Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Approved by: Eric <freebsdports@chillibear.com> (maintainer)
Mail is an library for Ruby to handle email generation,
parsing and sending in a simple, rubyesque manner.
WWW: http://github.com/mikel/mail
PR: ports/150112
Submitted by: Eric Freeman <freebsdports at chillibear.com>