From owner-svn-ports-head@freebsd.org Sat May 16 10:49:54 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0F4E52ED04F; Sat, 16 May 2020 10:49:54 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49PMVS2Ptmz4FvF; Sat, 16 May 2020 10:49:52 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 74D33CA80; Sat, 16 May 2020 10:49:51 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 04GAnprj007654; Sat, 16 May 2020 10:49:51 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 04GAnoCQ007651; Sat, 16 May 2020 10:49:50 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202005161049.04GAnoCQ007651@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 16 May 2020 10:49:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r535384 - in head/devel: . rubygem-getoptlong X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . rubygem-getoptlong X-SVN-Commit-Revision: 535384 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2020 10:49:54 -0000 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 +# $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 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