diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2016-08-20 09:30:41 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2016-08-20 09:30:41 +0000 |
commit | 145d651ac886c1e1efa20f3bc5a7d7d647c9546f (patch) | |
tree | 94fdedf7e734e0801efebf5298de2382ac9a1697 /devel | |
parent | 8f117e5aef4127931e640c1143812a454d9392d5 (diff) | |
download | pkgsrc-145d651ac886c1e1efa20f3bc5a7d7d647c9546f.tar.gz |
New package, go-termbox.
Termbox is a library that provides a minimalistic API which allows the
programmer to write text-based user interfaces. The library is crossplatform
and has both terminal-based implementations on *nix operating systems and a
winapi console based implementation for windows operating systems. The basic
idea is an abstraction of the greatest common subset of features available on
all major terminals and other terminal-like APIs in a minimalistic fashion.
Small API means it is easy to implement, test, maintain and learn it, that's
what makes the termbox a distinct library in its area.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 3 | ||||
-rw-r--r-- | devel/go-termbox/DESCR | 8 | ||||
-rw-r--r-- | devel/go-termbox/Makefile | 24 | ||||
-rw-r--r-- | devel/go-termbox/PLIST | 30 | ||||
-rw-r--r-- | devel/go-termbox/buildlink3.mk | 17 | ||||
-rw-r--r-- | devel/go-termbox/distinfo | 6 |
6 files changed, 87 insertions, 1 deletions
diff --git a/devel/Makefile b/devel/Makefile index 67c788349d0..9847a443d84 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2295 2016/08/18 11:59:57 richard Exp $ +# $NetBSD: Makefile,v 1.2296 2016/08/20 09:30:41 bsiegert Exp $ # COMMENT= Development utilities @@ -300,6 +300,7 @@ SUBDIR+= go-mow-cli SUBDIR+= go-nbreader SUBDIR+= go-ratelimit SUBDIR+= go-review +SUBDIR+= go-termbox SUBDIR+= go-testify SUBDIR+= go-tools SUBDIR+= gob2 diff --git a/devel/go-termbox/DESCR b/devel/go-termbox/DESCR new file mode 100644 index 00000000000..9a0a6717882 --- /dev/null +++ b/devel/go-termbox/DESCR @@ -0,0 +1,8 @@ +Termbox is a library that provides a minimalistic API which allows the +programmer to write text-based user interfaces. The library is crossplatform +and has both terminal-based implementations on *nix operating systems and a +winapi console based implementation for windows operating systems. The basic +idea is an abstraction of the greatest common subset of features available on +all major terminals and other terminal-like APIs in a minimalistic fashion. +Small API means it is easy to implement, test, maintain and learn it, that's +what makes the termbox a distinct library in its area. diff --git a/devel/go-termbox/Makefile b/devel/go-termbox/Makefile new file mode 100644 index 00000000000..914dbfb3f48 --- /dev/null +++ b/devel/go-termbox/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2016/08/20 09:30:41 bsiegert Exp $ +# + +DISTNAME= go-termbox-20160808 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GITHUB:=nsf/} +GITHUB_PROJECT= termbox-go +GITHUB_TAG= e8f6d27 + +HOMEPAGE= http://godoc.org/${GO_SRCPATH} +COMMENT= Pure Go termbox implementation +LICENSE= mit + +GO_SRCPATH= github.com/nsf/termbox-go +# Skip building subdirectories (demos). +GO_BUILD_PATTERN= ${GO_SRCPATH} +GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}* + +REPLACE_PYTHON= collect_terminfo.py + +.include "../../textproc/go-runewidth/buildlink3.mk" +.include "../../lang/go/go-package.mk" +.include "../../lang/python/application.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/go-termbox/PLIST b/devel/go-termbox/PLIST new file mode 100644 index 00000000000..7025867904b --- /dev/null +++ b/devel/go-termbox/PLIST @@ -0,0 +1,30 @@ +@comment $NetBSD: PLIST,v 1.1 2016/08/20 09:30:41 bsiegert Exp $ +gopkg/pkg/${GO_PLATFORM}/github.com/nsf/termbox-go.a +gopkg/src/github.com/nsf/termbox-go/AUTHORS +gopkg/src/github.com/nsf/termbox-go/LICENSE +gopkg/src/github.com/nsf/termbox-go/README.md +gopkg/src/github.com/nsf/termbox-go/_demos/editbox.go +gopkg/src/github.com/nsf/termbox-go/_demos/interrupt.go +gopkg/src/github.com/nsf/termbox-go/_demos/keyboard.go +gopkg/src/github.com/nsf/termbox-go/_demos/output.go +gopkg/src/github.com/nsf/termbox-go/_demos/paint.go +gopkg/src/github.com/nsf/termbox-go/_demos/random_output.go +gopkg/src/github.com/nsf/termbox-go/_demos/raw_input.go +gopkg/src/github.com/nsf/termbox-go/api.go +gopkg/src/github.com/nsf/termbox-go/api_common.go +gopkg/src/github.com/nsf/termbox-go/api_windows.go +gopkg/src/github.com/nsf/termbox-go/collect_terminfo.py +gopkg/src/github.com/nsf/termbox-go/syscalls.go +gopkg/src/github.com/nsf/termbox-go/syscalls_darwin.go +gopkg/src/github.com/nsf/termbox-go/syscalls_darwin_amd64.go +gopkg/src/github.com/nsf/termbox-go/syscalls_freebsd.go +gopkg/src/github.com/nsf/termbox-go/syscalls_linux.go +gopkg/src/github.com/nsf/termbox-go/syscalls_netbsd.go +gopkg/src/github.com/nsf/termbox-go/syscalls_openbsd.go +gopkg/src/github.com/nsf/termbox-go/syscalls_windows.go +gopkg/src/github.com/nsf/termbox-go/termbox.go +gopkg/src/github.com/nsf/termbox-go/termbox_common.go +gopkg/src/github.com/nsf/termbox-go/termbox_windows.go +gopkg/src/github.com/nsf/termbox-go/terminfo.go +gopkg/src/github.com/nsf/termbox-go/terminfo_builtin.go +@pkgdir bin diff --git a/devel/go-termbox/buildlink3.mk b/devel/go-termbox/buildlink3.mk new file mode 100644 index 00000000000..c26ee3917db --- /dev/null +++ b/devel/go-termbox/buildlink3.mk @@ -0,0 +1,17 @@ +# $NetBSD: buildlink3.mk,v 1.1 2016/08/20 09:30:41 bsiegert Exp $ + +BUILDLINK_TREE+= go-termbox + +.if !defined(GO_TERMBOX_BUILDLINK3_MK) +GO_TERMBOX_BUILDLINK3_MK:= + +BUILDLINK_CONTENTS_FILTER.go-termbox= ${EGREP} gopkg/ +BUILDLINK_DEPMETHOD.go-termbox?= build + +BUILDLINK_API_DEPENDS.go-termbox+= go-termbox>=20160808 +BUILDLINK_PKGSRCDIR.go-termbox?= ../../devel/go-termbox + +.include "../../textproc/go-runewidth/buildlink3.mk" +.endif # GO_TERMBOX_BUILDLINK3_MK + +BUILDLINK_TREE+= -go-termbox diff --git a/devel/go-termbox/distinfo b/devel/go-termbox/distinfo new file mode 100644 index 00000000000..ea3c09738f9 --- /dev/null +++ b/devel/go-termbox/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2016/08/20 09:30:41 bsiegert Exp $ + +SHA1 (go-termbox-20160808-e8f6d27.tar.gz) = 00da82a736bfd0d7209229f9571ce28c86db8548 +RMD160 (go-termbox-20160808-e8f6d27.tar.gz) = a876b220016af784e8fa6f88dbf448cfb48f5b21 +SHA512 (go-termbox-20160808-e8f6d27.tar.gz) = a94a7e61e53847f2b4eeb355bc17ad6c7f1ec6a1a73883da49234ff450969fb83d61e20ae7e1f4d62879095b56f94c1eceec1e677e4567c760dbf5fee9990b36 +Size (go-termbox-20160808-e8f6d27.tar.gz) = 30189 bytes |