diff options
author | olgeni <olgeni@FreeBSD.org> | 2016-09-27 16:58:23 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2016-09-27 16:58:23 +0800 |
commit | 7309d98708b4882080b67c3ceebc8746bd17ff6a (patch) | |
tree | 9522a9fdb2202d66d2bb36a0051040bedcce3528 /devel | |
parent | 85269d6d1046ca0d82345fa0cc379c81203d2113 (diff) | |
download | freebsd-ports-gnome-7309d98708b4882080b67c3ceebc8746bd17ff6a.tar.gz freebsd-ports-gnome-7309d98708b4882080b67c3ceebc8746bd17ff6a.tar.zst freebsd-ports-gnome-7309d98708b4882080b67c3ceebc8746bd17ff6a.zip |
Add devel/go-nuid, the NATS unique identifier generator library.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/go-nuid/Makefile | 20 | ||||
-rw-r--r-- | devel/go-nuid/distinfo | 3 | ||||
-rw-r--r-- | devel/go-nuid/pkg-descr | 3 | ||||
-rw-r--r-- | devel/go-nuid/pkg-plist | 6 |
5 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index c1bb5a487cf0..080b5fb88570 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -744,6 +744,7 @@ SUBDIR += go-json-rest SUBDIR += go-logrus SUBDIR += go-metrics + SUBDIR += go-nuid SUBDIR += go-pflag SUBDIR += go-pretty SUBDIR += go-protobuf diff --git a/devel/go-nuid/Makefile b/devel/go-nuid/Makefile new file mode 100644 index 000000000000..bced1d9da6cd --- /dev/null +++ b/devel/go-nuid/Makefile @@ -0,0 +1,20 @@ +# $FreeBSD$ + +PORTNAME= nuid +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.0 +CATEGORIES= devel +PKGNAMEPREFIX= go- + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= NATS unique identifier generator library + +LICENSE= MIT + +USES= go +USE_GITHUB= yes +GH_ACCOUNT= nats-io + +GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} + +.include <bsd.port.mk> diff --git a/devel/go-nuid/distinfo b/devel/go-nuid/distinfo new file mode 100644 index 000000000000..ebdc0da4b63b --- /dev/null +++ b/devel/go-nuid/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1474954335 +SHA256 (nats-io-nuid-v1.0.0_GH0.tar.gz) = 2fa05dbe733e1a0168668b8e723831ff9de3edc33ba5cd9ee965ede9f0535610 +SIZE (nats-io-nuid-v1.0.0_GH0.tar.gz) = 4010 diff --git a/devel/go-nuid/pkg-descr b/devel/go-nuid/pkg-descr new file mode 100644 index 000000000000..c21068a35325 --- /dev/null +++ b/devel/go-nuid/pkg-descr @@ -0,0 +1,3 @@ +A highly performant unique identifier generator written in Go. + +WWW: https://github.com/nats-io/nuid diff --git a/devel/go-nuid/pkg-plist b/devel/go-nuid/pkg-plist new file mode 100644 index 000000000000..1d7a0907a183 --- /dev/null +++ b/devel/go-nuid/pkg-plist @@ -0,0 +1,6 @@ +%%GO_LIBDIR%%/%%GO_PKGNAME%%.a +%%GO_SRCDIR%%/%%GO_PKGNAME%%/LICENSE +%%GO_SRCDIR%%/%%GO_PKGNAME%%/README.md +%%GO_SRCDIR%%/%%GO_PKGNAME%%/nuid.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/nuid_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/unique_test.go |