Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2014 10:30:00 +0000 (UTC)
From:      Akinori MUSHA <knu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361764 - in head/devel: . go-flags
Message-ID:  <201407141030.s6EAU0Kr084765@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: knu
Date: Mon Jul 14 10:29:59 2014
New Revision: 361764
URL: http://svnweb.freebsd.org/changeset/ports/361764
QAT: https://qat.redports.org/buildarchive/r361764/

Log:
  Add go-flags, Go command line option parser.

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Jul 14 10:29:38 2014	(r361763)
+++ head/devel/Makefile	Mon Jul 14 10:29:59 2014	(r361764)
@@ -594,6 +594,7 @@
     SUBDIR += gnulibiberty
     SUBDIR += gnustep
     SUBDIR += gnustep-make
+    SUBDIR += go-flags
     SUBDIR += go-json-rest
     SUBDIR += go-pretty
     SUBDIR += go-sql-driver

Added: head/devel/go-flags/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/go-flags/Makefile	Mon Jul 14 10:29:59 2014	(r361764)
@@ -0,0 +1,25 @@
+# Created by: Akinori MUSHA aka knu <knu@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	flags
+PORTVERSION=	1.0.0.20140623
+CATEGORIES=	devel
+MASTER_SITES=	GH GHC
+PKGNAMEPREFIX=	go-
+
+MAINTAINER=	knu@FreeBSD.org
+COMMENT=	Go command line option parser
+
+LICENSE=	BSD3CLAUSE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	jessevdk
+GH_PROJECT=	${PKGNAMEPREFIX}${PORTNAME}
+GH_TAGNAME=	${GH_COMMIT}
+GH_COMMIT=	7047cf7
+
+GO_PKGNAME=	github.com/${GH_ACCOUNT}/${GH_PROJECT}
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
+.include <bsd.port.post.mk>

Added: head/devel/go-flags/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/go-flags/distinfo	Mon Jul 14 10:29:59 2014	(r361764)
@@ -0,0 +1,2 @@
+SHA256 (flags-1.0.0.20140623.tar.gz) = 55500b644ecb786bbf9bb0856c1c88256934b76fee5785f9ab74e314fdaec74b
+SIZE (flags-1.0.0.20140623.tar.gz) = 41497

Added: head/devel/go-flags/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/go-flags/pkg-descr	Mon Jul 14 10:29:59 2014	(r361764)
@@ -0,0 +1,7 @@
+Package flags provides an extensive command line option parser.  The
+flags package is similar in functionality to the go built-in flag
+package but provides more options and uses reflection to provide a
+convenient and succinct way of specifying command line options.
+
+Author: Jesse van den Kieboom
+WWW: http://godoc.org/github.com/jessevdk/go-flags

Added: head/devel/go-flags/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/go-flags/pkg-plist	Mon Jul 14 10:29:59 2014	(r361764)
@@ -0,0 +1,61 @@
+%%GO_LIBDIR%%/github.com/jessevdk/go-flags.a
+@dirrmtry %%GO_LIBDIR%%/github.com/jessevdk
+@dirrmtry %%GO_LIBDIR%%/github.com
+@dirrmtry %%GO_LIBDIR%%
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/LICENSE
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/README.md
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/arg.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/arg_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/assert_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/check_crosscompile.sh
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/closest.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/command.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/command_private.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/command_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/completion.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/completion_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/convert.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/convert_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/error.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/example_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/examples/add.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/examples/bash-completion
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/examples/main.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/examples/rm.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/flags.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/group.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/group_private.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/group_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/help.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/help_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/ini.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/ini_private.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/ini_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/long_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/man.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/marshal_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/multitag.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/option.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/option_private.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/options_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/optstyle_other.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/optstyle_windows.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/parser.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/parser_private.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/parser_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/pointer_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/short_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/tag_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/termsize.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/termsize_linux.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/termsize_nosysioctl.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/termsize_other.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/termsize_unix.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/unknown_test.go
+@dirrm %%GO_SRCDIR%%/%%GO_PKGNAME%%/examples
+@dirrmtry %%GO_SRCDIR%%/%%GO_PKGNAME%%
+@dirrmtry %%GO_SRCDIR%%/github.com/jessevdk
+@dirrmtry %%GO_SRCDIR%%/github.com
+@dirrmtry %%GO_SRCDIR%%
+@dirrmtry share/go/pkg
+@dirrmtry share/go



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407141030.s6EAU0Kr084765>