BSD Ports

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

SystemPortVersion
FreeBSDdevel/rubygem-getoptlong0.2.1
DragonFlydevel/rubygem-getoptlong0.2.1
MidnightBSDdevel/rubygem-getoptlong0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2.10.2.10.1.10.2.10.2.1
FreeBSD:14:quarterly0.2.10.2.1n/a0.2.10.2.1
FreeBSD:15:latest0.2.10.2.1n/a0.2.10.2.1
FreeBSD:15:quarterly0.2.10.2.1n/an/an/a
FreeBSD:16:latest0.2.10.2.1n/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/getoptlong-0.2.1.gem13824fd23f07397b994bf9310d4531cfdb4332629a9b8e8c9c457c32b7edf5bf21ba5
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.