JRuby is a 100% Java implementation of the Ruby programming language. It is Ruby
for the JVM.
JRuby provides a complete set of core "builtin" classes and syntax for the Ruby
language, as well as most of the Ruby Standard Libraries. The standard libraries
are mostly Ruby's own complement of .rb files, but a few that depend on C
language-based extensions have been reimplemented. Some are still missing, but
we hope to implement as many as is feasible.
===> The following configuration options are available for jruby-9.2.17.0_2:
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
Mk/**java.mk: Convert bsd.java.mk to USES
The following features have been added or changed:
- Instead of USE_JAVA use USES=java. This defaults to
USES=java:build,run if NO_BUILD is undefined. Else it defaults to
USES=java:run
- Instead of USE_ANT=yes use USES=java:ant which also implies
USES=java:build
- Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or
extract
- Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply
build or run
- Instead of JAVA_RUN=yes use USES=java:run does not imply extract or
build
- Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version>
Approved by: mat (portmgr), glewis
Differential Revision: https://reviews.freebsd.org/D48201
*/*: Refactor java/openjdk7 removal
- java/openjdk7* has been removed from the tree since 2022-09-03 however
the relevant codebases in bsd.java.mk has not been removed and the
consumers has also not been updated to use the next jdk version. This
commit updates all relevant consumers to use JAVA_VERSION=8 instead of
JAVA_VERSION=1.7
- Since the introduction of jdk version 18 it looks like similar with
jdk version 8(java version string 1.8). This is prone to error as it
looks similar and is only seperated by a '.'. Remove using
JAVA_VERSION with dotted fomat of java version string and update all
consumers to utilize version 8 instead of 1.8.
Approved by: portmgr (blanket)
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 )
Clean up Makefile
- Use DISTVERSIONPREFIX instead of DISTNAME
- Use = instead of += for PLIST_SUB
- Convert to options target helper
- Use bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk
- Sort PLIST
- Update pkg-descr and remove sentences of outdated Ruby versions [1]
- Update WWW
Reference: https://github.com/jruby/jruby/wiki/AboutJRuby [1]
lang/jruby: Don't redefine WRKDIR
This port was establishing WRKDIR over bpm. The reason why wasn't good;
There is a home-grown pattern replacement in the port. I replaced the
custom sed command with REINPLACE_CMD as minimally as I could, and then
removed the WRKDIR redefinition.
Approved by: just fix it
Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS.
I'm not touching ruby19/ruby20/ruby21, but they also check for :MDOCS
without defining it in OPTIONS_DEFINE.
Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Categories J-L.
CR: D305
Approved by: portmgr (swills)
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
- Update to 0.9.8
- grab maintainership
- Release log:
* Ruby on Rails support. We have been working hard on getting Rails own unit
tests running and over 98% of them now run successfully. We feel things are
running well enough to invite Ruby users to kick the tires and help root out
any final issues.
* Ruby classes can extend concrete/abstract Java classes and override methods
* New Java primitive array syntax
* Reimplementation of String, Numeric classes, and Array to be more correct
and performant
* Significant bottlenecks have been identified. In some cases IO is 6.5x
faster than previous releases. Java included classes are significantly
faster than in the past.
* 225 Jira issues resolved since last release
PR: ports/111316
Submitted by: maintainer (Nemo Liu)
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command; the ECHO
macro is set to "echo" by default, but it is set to "true" if make(1) is
invoked with the -s option while ECHO_CMD is always set to the echo command.