Port details |
- rubygem-polyglot Provides a registry of file types
- 0.3.5 devel =7 0.3.5Version of this port present on the latest quarterly branch.
- Maintainer: ruby@FreeBSD.org
- Port Added: 2009-10-11 10:28:09
- Last Update: 2023-01-14 23:08:33
- Commit Hash: 18c6e18
- People watching this port, also watch:: icu, libtool, py311-numpy, autoconf, xorg-docs
- Also Listed In: rubygems
- License: MIT
- WWW:
- https://github.com/cjheath/polyglot
- Description:
- Polyglot provides a registry of file types that can be loaded by
calling its improved version of 'require'. Each file extension
that can be handled by a custom loader is registered by calling
Polyglot.register('ext', <class>), and then you can simply
require 'somefile', which will find and load 'somefile.ext'
using your custom loader.
This supports the creation of DSLs having a syntax that is most
appropriate to their purpose, instead of abusing the Ruby syntax.
Required files are attempted first using the normal Ruby loader,
and if that fails, Polyglot conducts a search for a file having
a supported extension.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- rubygem-polyglot>0:devel/rubygem-polyglot
- To install the port:
- cd /usr/ports/devel/rubygem-polyglot/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/rubygem-polyglot
- pkg install rubygem-polyglot
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: rubygem-polyglot
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (rubygem/polyglot-0.3.5.gem) = 59d66ef5e3c166431c39cb8b7c1d02af419051352f27912f6a43981b3def16af
SIZE (rubygem/polyglot-0.3.5.gem) = 8192
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- ruby30 : lang/ruby30
- gem : devel/ruby-gems
- Runtime dependencies:
-
- ruby30 : lang/ruby30
- gem : devel/ruby-gems
- Patch dependencies:
-
- ruby30 : lang/ruby30
- gem : devel/ruby-gems
-
- This port is required by:
- for Run
-
- devel/rubygem-deface
- devel/rubygem-treetop
Configuration Options:
- No options to configure
- Options name:
- devel_rubygem-polyglot
- USES:
- gem
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.3.5 14 Jan 2023 23:08:33 |
Muhammad Moinur Rahman (bofh) |
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 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
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) |
0.3.5 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
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 ) |
0.3.5 20 Jul 2022 14:21:35 |
Tobias C. Berner (tcberner) |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
0.3.5 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
0.3.5 27 Apr 2016 21:57:32 |
swills |
Convert USES=gem:autoplist to USES=gem since autoplist is default |
0.3.5 27 Apr 2016 16:36:42 |
swills |
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 |
0.3.5 02 Jul 2015 16:01:08 |
pgollucci |
Set NO_ARCH for remaining rubygem-* ports with no arch dependent files
Obtained from: DEVELOPER_MODE
With Hat: ruby@
Sponsored by: RideCharge Inc / Curb |
0.3.5 20 Jun 2014 13:18:21 |
swills |
- Update to 0.3.5 |
0.3.4 19 Feb 2014 03:23:25 |
swills |
- Update rails to 3.2.17 [1]
- Update polyglot to 0.3.4 since rails wants the newer version
- Update redmine to use new rails
Security: CVE-2014-0080 [1]
Security: CVE-2014-0081 [1]
Security: CVE-2014-0082 [1]
MFH: 2014Q1 |
0.3.3 31 Dec 2013 14:30:51 |
sunpoet |
- Add LICENSE |
0.3.3 30 Oct 2013 02:40:37 |
swills |
- Add stage support |
0.3.3 20 Sep 2013 17:17:45 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 4) |
0.3.3 20 Dec 2011 00:21:54 |
pgollucci |
- Point at the homepage consistently as defined by rubygems.org |
0.3.3 02 Nov 2011 03:02:01 |
clsung |
- Update to 0.3.3 |
0.3.2 09 Oct 2011 05:25:11 |
clsung |
- Update to 0.3.2 |
0.3.1 23 Jun 2011 18:03:54 |
pgollucci |
- Removing remaining MD5 from rubygem- ports |
0.3.1 20 Oct 2010 01:35:47 |
pgollucci |
- Mass fixup of WWW: lines pkg-descr based on rubygems.org Homepage meta info
Prompted by: distilator
With Hat: ruby@
Sponsored by: RideCharge Inc. / TaxiMagic |
0.3.1 26 Aug 2010 23:52:26 |
pgollucci |
Move wen@FreeBSD.org -> ruby@FreeBSD.org for rubygem-*
Approved by: wen
With Hat: ruby |
0.3.1 01 Jun 2010 06:10:53 |
wen |
- Update to 0.3.1 |
0.2.9 26 May 2010 19:51:35 |
pgollucci |
- Mass conversion of RF -> RG for MASTER_SITE for rubygem- ports
[RG aka rubygems.org]
PR: ports/147005
Submitted by: pgollucci (myself)
Approved by: portmgr (pav)
With Hat: ruby@ |
0.2.9 11 Oct 2009 10:27:34 |
wen |
Polyglot provides a registry of file types that can be loaded by
calling its improved version of 'require'. Each file extension
that can be handled by a custom loader is registered by calling
Polyglot.register('ext', <class>), and then you can simply
require 'somefile', which will find and load 'somefile.ext'
using your custom loader.
This supports the creation of DSLs having a syntax that is most
appropriate to their purpose, instead of abusing the Ruby syntax.
Required files are attempted first using the normal Ruby loader,
and if that fails, Polyglot conducts a search for a file having
a supported extension.
WWW: http://polyglot.rubyforge.org/
Approved by: miwi(mentor) |