637a6ec327
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
20 lines
331 B
Makefile
20 lines
331 B
Makefile
# 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>
|