Index: textproc/ego/Makefile =================================================================== --- textproc/ego/Makefile +++ textproc/ego/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= ego +DISTVERSIONPREFIX= v +DISTVERSION= 0.2.0 +CATEGORIES= textproc + +MAINTAINER= fabian.freyer@physik.tu-berlin.de +COMMENT= ERB-style templating language for Go + +LICENSE= MIT + +USES= go +USE_GITHUB= yes +GH_ACCOUNT= benbjohnson + +GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} +GO_TARGET= ${GO_PKGNAME} \ + ${GO_PKGNAME}/cmd/ego + +.include Index: textproc/ego/distinfo =================================================================== --- textproc/ego/distinfo +++ textproc/ego/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1532368409 +SHA256 (benbjohnson-ego-v0.2.0_GH0.tar.gz) = 4b109f7df226dd25800edc4ffd5ab2888b4364335a4d46275f042a18a5409e62 +SIZE (benbjohnson-ego-v0.2.0_GH0.tar.gz) = 7509 Index: textproc/ego/pkg-descr =================================================================== --- textproc/ego/pkg-descr +++ textproc/ego/pkg-descr @@ -0,0 +1,5 @@ +Ego is an ERB style templating language for Go. It works by transpiling +templates into pure Go and including them at compile time. These +templates are light wrappers around the Go language itself. + +WWW: https://github.com/benbjohnson/ego Index: textproc/ego/pkg-plist =================================================================== --- textproc/ego/pkg-plist +++ textproc/ego/pkg-plist @@ -0,0 +1,12 @@ +bin/ego +%%GO_LIBDIR%%/%%GO_PKGNAME%%.a +%%GO_SRCDIR%%/%%GO_PKGNAME%%/LICENSE +%%GO_SRCDIR%%/%%GO_PKGNAME%%/Makefile +%%GO_SRCDIR%%/%%GO_PKGNAME%%/README.md +%%GO_SRCDIR%%/%%GO_PKGNAME%%/cmd/ego/main.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/error.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/parse.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/scanner.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/scanner_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/template.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/template_test.go