mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
Add rubygem-getoptlong 0.1.0
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. WWW: https://github.com/ruby/getoptlong
This commit is contained in:
parent
ebc688c8ec
commit
637a6ec327
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535384
@ -6023,6 +6023,7 @@
|
||||
SUBDIR += rubygem-georuby
|
||||
SUBDIR += rubygem-get_process_mem
|
||||
SUBDIR += rubygem-getopt
|
||||
SUBDIR += rubygem-getoptlong
|
||||
SUBDIR += rubygem-gettext
|
||||
SUBDIR += rubygem-gettext-setup
|
||||
SUBDIR += rubygem-gettext32
|
||||
|
20
devel/rubygem-getoptlong/Makefile
Normal file
20
devel/rubygem-getoptlong/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= getoptlong
|
||||
PORTVERSION= 0.1.0
|
||||
CATEGORIES= devel rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= GetoptLong for Ruby
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
USES= gem
|
||||
USE_RUBY= yes
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/rubygem-getoptlong/distinfo
Normal file
3
devel/rubygem-getoptlong/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1588335942
|
||||
SHA256 (rubygem/getoptlong-0.1.0.gem) = 6f7d9769f124976b09fce7841b4332e216a708dd5548d30bb535974d7223ed78
|
||||
SIZE (rubygem/getoptlong-0.1.0.gem) = 11264
|
11
devel/rubygem-getoptlong/pkg-descr
Normal file
11
devel/rubygem-getoptlong/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
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.
|
||||
|
||||
WWW: https://github.com/ruby/getoptlong
|
Loading…
Reference in New Issue
Block a user