Date: Sat, 16 May 2020 10:49:50 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r535384 - in head/devel: . rubygem-getoptlong Message-ID: <202005161049.04GAnoCQ007651@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat May 16 10:49:50 2020 New Revision: 535384 URL: https://svnweb.freebsd.org/changeset/ports/535384 Log: 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 Added: head/devel/rubygem-getoptlong/ head/devel/rubygem-getoptlong/Makefile (contents, props changed) head/devel/rubygem-getoptlong/distinfo (contents, props changed) head/devel/rubygem-getoptlong/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat May 16 10:49:43 2020 (r535383) +++ head/devel/Makefile Sat May 16 10:49:50 2020 (r535384) @@ -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 Added: head/devel/rubygem-getoptlong/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-getoptlong/Makefile Sat May 16 10:49:50 2020 (r535384) @@ -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> Added: head/devel/rubygem-getoptlong/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-getoptlong/distinfo Sat May 16 10:49:50 2020 (r535384) @@ -0,0 +1,3 @@ +TIMESTAMP = 1588335942 +SHA256 (rubygem/getoptlong-0.1.0.gem) = 6f7d9769f124976b09fce7841b4332e216a708dd5548d30bb535974d7223ed78 +SIZE (rubygem/getoptlong-0.1.0.gem) = 11264 Added: head/devel/rubygem-getoptlong/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-getoptlong/pkg-descr Sat May 16 10:49:50 2020 (r535384) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005161049.04GAnoCQ007651>