aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2019-05-20 14:15:42 +0800
committeryuri <yuri@FreeBSD.org>2019-05-20 14:15:42 +0800
commit0da97951cfd0e3da7e855b44b8e10aaff213569c (patch)
treef48c9a50e472364f52d01721f32bdcb470e2564a /lang
parentc239b4d1c0f738379bf452feeb7126ae20010364 (diff)
downloadfreebsd-ports-gnome-0da97951cfd0e3da7e855b44b8e10aaff213569c.tar.gz
freebsd-ports-gnome-0da97951cfd0e3da7e855b44b8e10aaff213569c.tar.zst
freebsd-ports-gnome-0da97951cfd0e3da7e855b44b8e10aaff213569c.zip
New port: lang/gomacro: Interactive Go interpreter and debugger with REPL, generics and macros
PR: 236364 Submitted by: Dmitri Goutnik <dg@syrec.org>
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/gomacro/Makefile25
-rw-r--r--lang/gomacro/distinfo9
-rw-r--r--lang/gomacro/pkg-descr5
4 files changed, 40 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index e2dc8787d39e..93f708891c20 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -131,6 +131,7 @@
SUBDIR += gnustep-base
SUBDIR += go
SUBDIR += go14
+ SUBDIR += gomacro
SUBDIR += gprolog
SUBDIR += gravity
SUBDIR += groovy
diff --git a/lang/gomacro/Makefile b/lang/gomacro/Makefile
new file mode 100644
index 000000000000..39aa333f719f
--- /dev/null
+++ b/lang/gomacro/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= gomacro
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.7-304
+DISTVERSIONSUFFIX= -g2f4dc7c
+CATEGORIES= lang
+
+MAINTAINER= dg@syrec.org
+COMMENT= Interactive Go interpreter and debugger with REPL, generics and macros
+
+LICENSE= MPL20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go
+GO_PKGNAME= github.com/cosmos72/gomacro
+USE_GITHUB= yes
+GH_ACCOUNT= cosmos72
+GH_TUPLE= golang:sys:b294cbc:golang_sys/vendor/golang.org/x/sys \
+ mattn:go-runewidth:v0.0.3:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
+ peterh:liner:6f820f8:peterh_liner/vendor/github.com/peterh/liner
+
+PLIST_FILES= bin/gomacro
+
+.include <bsd.port.mk>
diff --git a/lang/gomacro/distinfo b/lang/gomacro/distinfo
new file mode 100644
index 000000000000..10f94f849598
--- /dev/null
+++ b/lang/gomacro/distinfo
@@ -0,0 +1,9 @@
+TIMESTAMP = 1551966942
+SHA256 (cosmos72-gomacro-v2.7-304-g2f4dc7c_GH0.tar.gz) = d4d94a43c292be8ea57f2b8f8bfd1d2b06d1fb6e785e277aae6499ae9aa95688
+SIZE (cosmos72-gomacro-v2.7-304-g2f4dc7c_GH0.tar.gz) = 1117257
+SHA256 (peterh-liner-6f820f8_GH0.tar.gz) = 5a059343ae5ba6ced33fcd9f6eccd5b78a221dde8c59b3b4500c58531605aa58
+SIZE (peterh-liner-6f820f8_GH0.tar.gz) = 21100
+SHA256 (mattn-go-runewidth-v0.0.3_GH0.tar.gz) = 398ec709b006664e527040770056156cb225233d8b44b5a59ba2f5f5f3fa885e
+SIZE (mattn-go-runewidth-v0.0.3_GH0.tar.gz) = 22961
+SHA256 (golang-sys-b294cbc_GH0.tar.gz) = 0e2ef3e4313f73449a107fe9dc61cd49acf0f3c61587f2681096237a05197728
+SIZE (golang-sys-b294cbc_GH0.tar.gz) = 1254744
diff --git a/lang/gomacro/pkg-descr b/lang/gomacro/pkg-descr
new file mode 100644
index 000000000000..9ef9cffc15a2
--- /dev/null
+++ b/lang/gomacro/pkg-descr
@@ -0,0 +1,5 @@
+gomacro is an interactive Go interpreter and debugger with REPL, Eval, generics
+and Lisp-like macros, implemented in pure Go. It offers both an interactive and
+a scripting mode, and does not require a Go toolchain at runtime.
+
+WWW: https://github.com/cosmos72/gomacro