pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel New package, go-termbox.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eeed1f6be54a
branches:  trunk
changeset: 351419:eeed1f6be54a
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat Aug 20 09:30:41 2016 +0000

description:
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:

 devel/Makefile                 |   3 ++-
 devel/go-termbox/DESCR         |   8 ++++++++
 devel/go-termbox/Makefile      |  24 ++++++++++++++++++++++++
 devel/go-termbox/PLIST         |  30 ++++++++++++++++++++++++++++++
 devel/go-termbox/buildlink3.mk |  17 +++++++++++++++++
 devel/go-termbox/distinfo      |   6 ++++++
 6 files changed, 87 insertions(+), 1 deletions(-)

diffs (122 lines):

diff -r 7a2a7caed7c4 -r eeed1f6be54a devel/Makefile
--- a/devel/Makefile    Sat Aug 20 09:23:42 2016 +0000
+++ b/devel/Makefile    Sat Aug 20 09:30:41 2016 +0000
@@ -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-nbreader
 SUBDIR+=       go-ratelimit
 SUBDIR+=       go-review
+SUBDIR+=       go-termbox
 SUBDIR+=       go-testify
 SUBDIR+=       go-tools
 SUBDIR+=       gob2
diff -r 7a2a7caed7c4 -r eeed1f6be54a devel/go-termbox/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-termbox/DESCR    Sat Aug 20 09:30:41 2016 +0000
@@ -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 -r 7a2a7caed7c4 -r eeed1f6be54a devel/go-termbox/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-termbox/Makefile Sat Aug 20 09:30:41 2016 +0000
@@ -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 -r 7a2a7caed7c4 -r eeed1f6be54a devel/go-termbox/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-termbox/PLIST    Sat Aug 20 09:30:41 2016 +0000
@@ -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 -r 7a2a7caed7c4 -r eeed1f6be54a devel/go-termbox/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-termbox/buildlink3.mk    Sat Aug 20 09:30:41 2016 +0000
@@ -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 -r 7a2a7caed7c4 -r eeed1f6be54a devel/go-termbox/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-termbox/distinfo Sat Aug 20 09:30:41 2016 +0000
@@ -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



Home | Main Index | Thread Index | Old Index