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