pflag is a drop-in replacement for Go's flag package, implementing
POSIX/GNU-style --flags. pflag is compatible with the GNU extensions to the POSIX recommendations for command-line options. For a more precise description, see the "Command-line flag syntax" section below. WWW: https://github.com/spf13/pflag
This commit is contained in:
parent
56c3971bcd
commit
daab72eb39
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418396
5 changed files with 69 additions and 0 deletions
|
@ -718,6 +718,7 @@
|
|||
SUBDIR += go-hashicorp-logutils
|
||||
SUBDIR += go-json-rest
|
||||
SUBDIR += go-metrics
|
||||
SUBDIR += go-pflag
|
||||
SUBDIR += go-pretty
|
||||
SUBDIR += go-raw
|
||||
SUBDIR += go-runewidth
|
||||
|
|
20
devel/go-pflag/Makefile
Normal file
20
devel/go-pflag/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Created by: Carlo Strub <cs@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pflag
|
||||
PORTVERSION= 20160610
|
||||
CATEGORIES= devel
|
||||
PKGNAMEPREFIX= go-
|
||||
|
||||
MAINTAINER= cs@FreeBSD.org
|
||||
COMMENT= Drop-in replacement for Go's flag package
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= spf13
|
||||
GH_TAGNAME= 367864438f1b1a3c7db4da06a2f55b144e6784e0
|
||||
USES= go
|
||||
GO_PKGNAME= github.com/spf13/pflag
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/go-pflag/distinfo
Normal file
3
devel/go-pflag/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1468231752
|
||||
SHA256 (spf13-pflag-20160610-367864438f1b1a3c7db4da06a2f55b144e6784e0_GH0.tar.gz) = 661f0608554852182c98ce1f6f3c62783cf0cfe17284c75ba90e4486f76d2edd
|
||||
SIZE (spf13-pflag-20160610-367864438f1b1a3c7db4da06a2f55b144e6784e0_GH0.tar.gz) = 31028
|
7
devel/go-pflag/pkg-descr
Normal file
7
devel/go-pflag/pkg-descr
Normal file
|
@ -0,0 +1,7 @@
|
|||
pflag is a drop-in replacement for Go's flag package, implementing
|
||||
POSIX/GNU-style --flags.
|
||||
pflag is compatible with the GNU extensions to the POSIX recommendations for
|
||||
command-line options. For a more precise description, see the "Command-line
|
||||
flag syntax" section below.
|
||||
|
||||
WWW: https://github.com/spf13/pflag
|
38
devel/go-pflag/pkg-plist
Normal file
38
devel/go-pflag/pkg-plist
Normal file
|
@ -0,0 +1,38 @@
|
|||
%%GO_LIBDIR%%/%%GO_PKGNAME%%.a
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/LICENSE
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/README.md
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/bool.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/bool_test.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/count.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/count_test.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/duration.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/example_test.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/export_test.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/flag.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/flag_test.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/float32.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/float64.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/golangflag.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/golangflag_test.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/int.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/int32.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/int64.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/int8.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/int_slice.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/int_slice_test.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/ip.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/ip_test.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/ipmask.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/ipnet.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/ipnet_test.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/string.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/string_slice.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/string_slice_test.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/uint.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/uint16.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/uint32.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/uint64.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/uint8.go
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/verify/all.sh
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/verify/gofmt.sh
|
||||
%%GO_SRCDIR%%/%%GO_PKGNAME%%/verify/golint.sh
|
Loading…
Reference in a new issue