BSD Ports

devel/rubygem-getoptlong 0.2.1 DragonFly

GetoptLong for Ruby

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE, RUBY
Categories
devel, rubygems
Package size
10.9 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
DragonFlydevel/rubygem-getoptlong0.2.1
FreeBSDdevel/rubygem-getoptlong0.2.1
MidnightBSDdevel/rubygem-getoptlong0.2.1
HardenedBSDdevel/rubygem-getoptlong0.2.1
GhostBSDdevel/rubygem-getoptlong0.2.1
OPNsensedevel/rubygem-getoptlong0.2.1

Install

Binary package:

pkg install rubygem-getoptlong

From DPorts:

cd /usr/dports/devel/rubygem-getoptlong && make install clean

Dependencies

Run dependencies 2

No port depends on this one.