aboutsummaryrefslogtreecommitdiff
path: root/devel/go-cobra
diff options
context:
space:
mode:
authorCarlo Strub <cs@FreeBSD.org>2016-07-13 19:25:41 +0000
committerCarlo Strub <cs@FreeBSD.org>2016-07-13 19:25:41 +0000
commit11c8a1b26bfa650b4d6e1c72d9ac7ab11934b45b (patch)
tree0134f8f62fb84b712274ce3e9c73317df2f9e57d /devel/go-cobra
parent577e68b01587c3d61bc1887690448cd27c8eb8ca (diff)
downloadports-11c8a1b26bfa650b4d6e1c72d9ac7ab11934b45b.tar.gz
ports-11c8a1b26bfa650b4d6e1c72d9ac7ab11934b45b.zip
Notes
Diffstat (limited to 'devel/go-cobra')
-rw-r--r--devel/go-cobra/Makefile22
-rw-r--r--devel/go-cobra/distinfo3
-rw-r--r--devel/go-cobra/pkg-descr4
-rw-r--r--devel/go-cobra/pkg-plist28
4 files changed, 57 insertions, 0 deletions
diff --git a/devel/go-cobra/Makefile b/devel/go-cobra/Makefile
new file mode 100644
index 000000000000..b7499fc6680f
--- /dev/null
+++ b/devel/go-cobra/Makefile
@@ -0,0 +1,22 @@
+# Created by: Carlo Strub <cs@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= cobra
+PORTVERSION= 20160816
+CATEGORIES= devel
+PKGNAMEPREFIX= go-
+
+MAINTAINER= cs@FreeBSD.org
+COMMENT= Commander for modern Go CLI interactions
+
+LICENSE= APACHE20
+
+BUILD_DEPENDS= ${LOCALBASE}/${GO_LIBDIR}/github.com/spf13/pflag.a:devel/go-pflag
+
+USE_GITHUB= yes
+GH_ACCOUNT= spf13
+GH_TAGNAME= a272c3cbd5ff80a5bf5c5603df50183f9f3f7324
+USES= go
+GO_PKGNAME= github.com/spf13/cobra
+
+.include <bsd.port.mk>
diff --git a/devel/go-cobra/distinfo b/devel/go-cobra/distinfo
new file mode 100644
index 000000000000..f4abc2c71891
--- /dev/null
+++ b/devel/go-cobra/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1468231554
+SHA256 (spf13-cobra-20160816-a272c3cbd5ff80a5bf5c5603df50183f9f3f7324_GH0.tar.gz) = e1c2d30c28365ebcdb36266b302610fec82ce43b9f7008b6861c26328ffeafd2
+SIZE (spf13-cobra-20160816-a272c3cbd5ff80a5bf5c5603df50183f9f3f7324_GH0.tar.gz) = 71238
diff --git a/devel/go-cobra/pkg-descr b/devel/go-cobra/pkg-descr
new file mode 100644
index 000000000000..e53a041bcb56
--- /dev/null
+++ b/devel/go-cobra/pkg-descr
@@ -0,0 +1,4 @@
+Cobra is both a library for creating powerful modern CLI applications as well
+as a program to generate applications and command files.
+
+WWW: https://github.com/spf13/cobra
diff --git a/devel/go-cobra/pkg-plist b/devel/go-cobra/pkg-plist
new file mode 100644
index 000000000000..9dd122cedef8
--- /dev/null
+++ b/devel/go-cobra/pkg-plist
@@ -0,0 +1,28 @@
+%%GO_LIBDIR%%/%%GO_PKGNAME%%.a
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/LICENSE.txt
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/README.md
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/bash_completions.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/bash_completions.md
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/bash_completions_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/cobra.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/cobra/cmd/add.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/cobra/cmd/helpers.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/cobra/cmd/helpers_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/cobra/cmd/init.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/cobra/cmd/licenses.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/cobra/cmd/root.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/cobra/main.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/cobra_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/command.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/command_notwin.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/command_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/command_win.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/doc/cmd_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/doc/man_docs.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/doc/man_docs.md
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/doc/man_docs_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/doc/man_examples_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/doc/md_docs.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/doc/md_docs.md
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/doc/md_docs_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/doc/util.go