BSD Ports

devel/rubygem-polyglot 0.3.5 FreeBSD

Provides a registry of file types

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, rubygems
Package size
5.5 KiB, 9.7 KiB installed

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.

In the other systems

SystemPortVersion
FreeBSDdevel/rubygem-polyglot0.3.5
DragonFlydevel/rubygem-polyglot0.3.5
MidnightBSDdevel/rubygem-polyglot0.3.5
HardenedBSDdevel/rubygem-polyglot0.3.5
GhostBSDdevel/rubygem-polyglot0.3.5

Install

Binary package:

pkg install rubygem-polyglot

From the ports tree:

cd /usr/ports/devel/rubygem-polyglot/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-polyglot>0:devel/rubygem-polyglot

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.3.50.3.50.3.50.3.50.3.5
FreeBSD:14:quarterly0.3.50.3.5n/a0.3.50.3.5
FreeBSD:15:latest0.3.50.3.5n/a0.3.50.3.5
FreeBSD:15:quarterly0.3.50.3.5n/an/an/a
FreeBSD:16:latest0.3.50.3.5n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 6

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/polyglot-0.3.5.gem819259d66ef5e3c166431c39cb8b7c1d02af419051352f27912f6a43981b3def16af
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.