devel/rubygem-getoptlong 0.2.1 MidnightBSD
GetoptLong for Ruby
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- bsd2, ruby
- Categories
- devel, rubygems
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 |
|---|---|---|
| MidnightBSD | devel/rubygem-getoptlong | 0.2.1 |
| FreeBSD | devel/rubygem-getoptlong | 0.2.1 |
| DragonFly | devel/rubygem-getoptlong | 0.2.1 |
Install
Binary package:
mport install getoptlong
From mports:
cd /usr/mports/devel/rubygem-getoptlong && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= getoptlong>0:devel/rubygem-getoptlong
Dependencies
Required by 1
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