Index: devel/Makefile =================================================================== --- devel/Makefile +++ devel/Makefile @@ -748,6 +748,7 @@ SUBDIR += go-bindata SUBDIR += go-cobra SUBDIR += go-codec + SUBDIR += go-errors SUBDIR += go-faker SUBDIR += go-form SUBDIR += go-glide Index: devel/go-errors/Makefile =================================================================== --- /dev/null +++ devel/go-errors/Makefile @@ -0,0 +1,24 @@ +# Created by: Sofian Brabez +# $FreeBSD$ + +PORTNAME= go-errors +PORTVERSION= 0.8.0 +CATEGORIES= devel + +MAINTAINER= sbz@FreeBSD.org +COMMENT= Go library for error handling primitives + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= pkg +GH_PROJECT= errors +GH_TAGNAME= 645ef00 +USES= go +GO_PKGNAME= github.com/pkg/errors + +post-patch: + @${RM} ${WRKSRC}/appveyor.yml + +.include Index: devel/go-errors/distinfo =================================================================== --- /dev/null +++ devel/go-errors/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1482011607 +SHA256 (pkg-errors-0.8.0-645ef00_GH0.tar.gz) = b2e989515688d916216dd0a1b82cd9b18e8fb4fdf0370473996bdde41b83a41f +SIZE (pkg-errors-0.8.0-645ef00_GH0.tar.gz) = 11342 Index: devel/go-errors/pkg-descr =================================================================== --- /dev/null +++ devel/go-errors/pkg-descr @@ -0,0 +1,3 @@ +Package errors provides simple error handling primitives for Go. + +WWW: https://github.com/pkg/errors Index: devel/go-errors/pkg-plist =================================================================== --- /dev/null +++ devel/go-errors/pkg-plist @@ -0,0 +1,10 @@ +%%GO_LIBDIR%%/%%GO_PKGNAME%%.a +%%GO_SRCDIR%%/%%GO_PKGNAME%%/LICENSE +%%GO_SRCDIR%%/%%GO_PKGNAME%%/README.md +%%GO_SRCDIR%%/%%GO_PKGNAME%%/bench_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/errors_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/errors.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/example_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/format_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/stack_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/stack.go