14 Commits

Author SHA1 Message Date
Muhammad Moinur Rahman
18c6e18276 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
2023-01-14 17:08:33 -06:00
Stefan Eßer
fb16dfecae 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)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 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.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Po-Chuan Hsieh
970cc76f3f
archivers/rubygem-ruby-xz: Update to 1.0.3
Changes:	https://github.com/win93/ruby-xz/blob/stable/HISTORY.rdoc
2022-04-16 12:19:46 +08:00
Po-Chuan Hsieh
13ad96a448
archivers/rubygem-ruby-xz: Update to 1.0.2
- Update WWW

Changes:	https://github.com/win93/ruby-xz/blob/stable/HISTORY.rdoc
2022-01-12 02:47:28 +08:00
Mathieu Arnold
cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Sunpoet Po-Chuan Hsieh
c57dbf1cf3 Cosmetic change 2020-01-23 04:23:19 +00:00
Sunpoet Po-Chuan Hsieh
d0a7b21f2f Update to 1.0.0
Changes:	https://github.com/Quintus/ruby-xz/blob/master/HISTORY.rdoc
2018-05-21 15:01:00 +00:00
Steve Wills
eed785560a archivers/rubygem-ruby-xz: fix dependencies 2017-02-03 17:14:33 +00:00
Sunpoet Po-Chuan Hsieh
b48e37c133 - Update to 0.2.3
- Add LICENSE
- Add NO_ARCH

Changes:	https://github.com/Quintus/ruby-xz/blob/master/HISTORY.rdoc
2016-04-28 19:05:17 +00:00
Steve Wills
462519941e Convert USES=gem:autoplist to USES=gem since autoplist is default 2016-04-27 21:57:31 +00:00
Steve Wills
b3e8fe8d85 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
2016-04-27 16:36:41 +00:00
Steve Wills
2491d1d69d archivers/rubygem-ruby-xz: create port
These are simple Ruby bindings for the liblzma library
(http://tukaani.org/xz/), which is best known for the extreme compression
ratio. Since FFI is used to implement the bindings, no compilation is needed
and they should work with JRuby as well.

WWW: http://quintus.github.io/ruby-xz
2016-04-23 15:08:18 +00:00