svn commit: r418396 - in head/devel: . go-pflag

Carlo Strub cs at FreeBSD.org
Mon Jul 11 19:53:20 UTC 2016


Author: cs
Date: Mon Jul 11 19:53:19 2016
New Revision: 418396
URL: https://svnweb.freebsd.org/changeset/ports/418396

Log:
  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

Added:
  head/devel/go-pflag/
  head/devel/go-pflag/Makefile   (contents, props changed)
  head/devel/go-pflag/distinfo   (contents, props changed)
  head/devel/go-pflag/pkg-descr   (contents, props changed)
  head/devel/go-pflag/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Jul 11 19:50:28 2016	(r418395)
+++ head/devel/Makefile	Mon Jul 11 19:53:19 2016	(r418396)
@@ -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

Added: head/devel/go-pflag/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/go-pflag/Makefile	Mon Jul 11 19:53:19 2016	(r418396)
@@ -0,0 +1,20 @@
+# Created by: Carlo Strub <cs at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	pflag
+PORTVERSION=	20160610
+CATEGORIES=	devel
+PKGNAMEPREFIX=	go-
+
+MAINTAINER=	cs at 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>

Added: head/devel/go-pflag/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/go-pflag/distinfo	Mon Jul 11 19:53:19 2016	(r418396)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1468231752
+SHA256 (spf13-pflag-20160610-367864438f1b1a3c7db4da06a2f55b144e6784e0_GH0.tar.gz) = 661f0608554852182c98ce1f6f3c62783cf0cfe17284c75ba90e4486f76d2edd
+SIZE (spf13-pflag-20160610-367864438f1b1a3c7db4da06a2f55b144e6784e0_GH0.tar.gz) = 31028

Added: head/devel/go-pflag/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/go-pflag/pkg-descr	Mon Jul 11 19:53:19 2016	(r418396)
@@ -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

Added: head/devel/go-pflag/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/go-pflag/pkg-plist	Mon Jul 11 19:53:19 2016	(r418396)
@@ -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


More information about the svn-ports-head mailing list