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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/rubygem-polyglot | 0.3.5 |
| DragonFly | devel/rubygem-polyglot | 0.3.5 |
| MidnightBSD | devel/rubygem-polyglot | 0.3.5 |
| HardenedBSD | devel/rubygem-polyglot | 0.3.5 |
| GhostBSD | devel/rubygem-polyglot | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.3.5 | 0.3.5 | 0.3.5 | 0.3.5 | 0.3.5 |
| FreeBSD:14:quarterly | 0.3.5 | 0.3.5 | n/a | 0.3.5 | 0.3.5 |
| FreeBSD:15:latest | 0.3.5 | 0.3.5 | n/a | 0.3.5 | 0.3.5 |
| FreeBSD:15:quarterly | 0.3.5 | 0.3.5 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.3.5 | 0.3.5 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
Required by 28
- cad/kicad-doc
- devel/rubygem-deface
- devel/rubygem-treetop
- misc/freebsd-doc-bn
- misc/freebsd-doc-da
- misc/freebsd-doc-de
- misc/freebsd-doc-el
- misc/freebsd-doc-en
- misc/freebsd-doc-es
- misc/freebsd-doc-fr
- misc/freebsd-doc-hu
- misc/freebsd-doc-id
- misc/freebsd-doc-it
- misc/freebsd-doc-ja
- misc/freebsd-doc-ko
- misc/freebsd-doc-mn
- misc/freebsd-doc-nl
- misc/freebsd-doc-pl
- misc/freebsd-doc-pt
- misc/freebsd-doc-ru
- misc/freebsd-doc-tr
- misc/freebsd-doc-zh_cn
- misc/freebsd-doc-zh_tw
- multimedia/tsduck
- net/rubygem-opennebula
- textproc/docproj
- textproc/rubygem-asciidoctor-pdf
- www/rubygem-less
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/polyglot-0.3.5.gem | 8192 | 59d66ef5e3c166431c39cb8b7c1d02af419051352f27912f6a43981b3def16af |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.