devel/rubygem-getoptlong 0.2.1 FreeBSD
GetoptLong for Ruby
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE, RUBY
- Categories
- devel, rubygems
- Package size
- 12.3 KiB, 35.1 KiB installed
Description
The GetoptLong class allows you to parse command line options similarly to the GNU getopt_long() C library call. Note, however, that GetoptLong is a pure Ruby implementation.
GetoptLong allows for POSIX-style options like --file as well as single letter options like -f
The empty option -- (two minus symbols) is used to end option processing. This can be particularly important if options have optional arguments.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/rubygem-getoptlong | 0.2.1 |
| DragonFly | devel/rubygem-getoptlong | 0.2.1 |
| MidnightBSD | devel/rubygem-getoptlong | 0.2.1 |
Install
Binary package:
pkg install rubygem-getoptlong
From the ports tree:
cd /usr/ports/devel/rubygem-getoptlong/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rubygem-getoptlong>0:devel/rubygem-getoptlong
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.2.1 | 0.2.1 | 0.1.1 | 0.2.1 | 0.2.1 |
| FreeBSD:14:quarterly | 0.2.1 | 0.2.1 | n/a | 0.2.1 | 0.2.1 |
| FreeBSD:15:latest | 0.2.1 | 0.2.1 | n/a | 0.2.1 | 0.2.1 |
| FreeBSD:15:quarterly | 0.2.1 | 0.2.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.2.1 | 0.2.1 | 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
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/getoptlong-0.2.1.gem | 13824 | fd23f07397b994bf9310d4531cfdb4332629a9b8e8c9c457c32b7edf5bf21ba5 |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.