Index: devel/Makefile =================================================================== --- devel/Makefile +++ devel/Makefile @@ -766,6 +766,7 @@ SUBDIR += go-runewidth SUBDIR += go-slices SUBDIR += go-sql-driver + SUBDIR += go-termbox SUBDIR += go-tools SUBDIR += go-uuid SUBDIR += go-yaml Index: devel/go-termbox/Makefile =================================================================== --- /dev/null +++ devel/go-termbox/Makefile @@ -0,0 +1,25 @@ +# Created by: Sofian Brabez +# $FreeBSD$ + +PORTNAME= termbox +PORTVERSION= 20161218 +CATEGORIES= devel +PKGNAMEPREFIX= go- + +MAINTAINER= sbz@FreeBSD.org +COMMENT= Go pure library for writing text-based user interfaces + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${GO_DIR}/github.com/mattn/go-runewidth.a:devel/go-runewidth + +USE_GITHUB= yes +GH_ACCOUNT= nsf +GH_PROJECT= termbox-go +GH_TAGNAME= abe82ce +USES= go +GO_DIR= ${LOCALBASE}/${GO_LIBDIR} +GO_PKGNAME= github.com/nsf/termbox-go + +.include Index: devel/go-termbox/distinfo =================================================================== --- /dev/null +++ devel/go-termbox/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1482019191 +SHA256 (nsf-termbox-go-20161218-abe82ce_GH0.tar.gz) = d74082bddc8d7de6f2444cdbb553e6bd409bf93e8fe76ca4eff4911ccdbd9726 +SIZE (nsf-termbox-go-20161218-abe82ce_GH0.tar.gz) = 30258 Index: devel/go-termbox/pkg-descr =================================================================== --- /dev/null +++ devel/go-termbox/pkg-descr @@ -0,0 +1,4 @@ +Termbox is a library that provides a minimalistic API which allows the +programmer to write text-based user interfaces. + +WWW: https://github.com/nsf/termbox-go Index: devel/go-termbox/pkg-plist =================================================================== --- /dev/null +++ devel/go-termbox/pkg-plist @@ -0,0 +1,29 @@ +%%GO_LIBDIR%%/%%GO_PKGNAME%%.a +%%GO_SRCDIR%%/%%GO_PKGNAME%%/_demos/editbox.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/_demos/interrupt.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/_demos/keyboard.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/_demos/output.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/_demos/paint.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/_demos/random_output.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/_demos/raw_input.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/api_common.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/api_windows.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/api.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/AUTHORS +%%GO_SRCDIR%%/%%GO_PKGNAME%%/collect_terminfo.py +%%GO_SRCDIR%%/%%GO_PKGNAME%%/LICENSE +%%GO_SRCDIR%%/%%GO_PKGNAME%%/README.md +%%GO_SRCDIR%%/%%GO_PKGNAME%%/syscalls_darwin_amd64.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/syscalls_darwin.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/syscalls_dragonfly.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/syscalls_freebsd.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/syscalls_linux.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/syscalls_netbsd.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/syscalls_openbsd.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/syscalls_windows.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/syscalls.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/termbox_common.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/termbox_windows.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/termbox.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/terminfo_builtin.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/terminfo.go