Index: textproc/Makefile =================================================================== --- textproc/Makefile +++ textproc/Makefile @@ -221,6 +221,7 @@ SUBDIR += gnome-doc-utils SUBDIR += gnome-spell SUBDIR += gnugrep + SUBDIR += go-simplejson SUBDIR += go-text SUBDIR += go.text SUBDIR += goldendict Index: textproc/go-simplejson/Makefile =================================================================== --- /dev/null +++ textproc/go-simplejson/Makefile @@ -0,0 +1,25 @@ +# Created by: Sofian Brabez +# $FreeBSD$ + +PORTNAME= simplejson +PORTVERSION= 0.5.0 +CATEGORIES= textproc +PKGNAMEPREFIX= go- + +MAINTAINER= sbz@FreeBSD.org +COMMENT= Go library to interact with arbitrary JSON + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= bitly +GH_PROJECT= go-simplejson +GH_TAGNAME= aabad6e +USES= go +GO_PKGNAME= github.com/bitly/go-simplejson + +post-patch: + @${RM} ${WRKSRC}/.travis.yml + +.include Index: textproc/go-simplejson/distinfo =================================================================== --- /dev/null +++ textproc/go-simplejson/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1482016631 +SHA256 (bitly-go-simplejson-0.5.0-aabad6e_GH0.tar.gz) = 37fd05170e7c632bfb85ce6646ce2bfbc4c3e50610bbfa9922f98d1f749ef754 +SIZE (bitly-go-simplejson-0.5.0-aabad6e_GH0.tar.gz) = 5992 Index: textproc/go-simplejson/pkg-descr =================================================================== --- /dev/null +++ textproc/go-simplejson/pkg-descr @@ -0,0 +1,3 @@ +Go package to interact with arbitrary JSON. + +WWW: https://github.com/bitly/go-simplejson Index: textproc/go-simplejson/pkg-plist =================================================================== --- /dev/null +++ textproc/go-simplejson/pkg-plist @@ -0,0 +1,9 @@ +%%GO_LIBDIR%%/%%GO_PKGNAME%%.a +%%GO_SRCDIR%%/%%GO_PKGNAME%%/LICENSE +%%GO_SRCDIR%%/%%GO_PKGNAME%%/README.md +%%GO_SRCDIR%%/%%GO_PKGNAME%%/simplejson_go10_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/simplejson_go10.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/simplejson_go11_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/simplejson_go11.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/simplejson_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/simplejson.go