From aa7af35f0f6500e22bf910dea7e959ccf6eb43b4 Mon Sep 17 00:00:00 2001 From: Dave Cottlehuber Date: Thu, 23 May 2019 19:19:46 +0000 Subject: [PATCH] lang/janet: new port - functional embeddable lisp with performant data types Approved by: jrm (mentor) Differential Revision: https://reviews.freebsd.org/D20379 --- lang/Makefile | 1 + lang/janet/Makefile | 21 +++++++++++++++++++++ lang/janet/distinfo | 3 +++ lang/janet/pkg-descr | 7 +++++++ lang/janet/pkg-plist | 10 ++++++++++ 5 files changed, 42 insertions(+) create mode 100644 lang/janet/Makefile create mode 100644 lang/janet/distinfo create mode 100644 lang/janet/pkg-descr create mode 100644 lang/janet/pkg-plist diff --git a/lang/Makefile b/lang/Makefile index 290b1531a296..f4816f468320 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -155,6 +155,7 @@ SUBDIR += itcl SUBDIR += itcl4 SUBDIR += jakarta-commons-jelly + SUBDIR += janet SUBDIR += jimtcl SUBDIR += jruby SUBDIR += js_of_ocaml diff --git a/lang/janet/Makefile b/lang/janet/Makefile new file mode 100644 index 000000000000..9949b1626b6c --- /dev/null +++ b/lang/janet/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= janet +DISTVERSIONPREFIX= v +DISTVERSION= 0.5.0 +CATEGORIES= lang + +MAINTAINER= dch@FreeBSD.org +COMMENT= Functional embeddable lisp with C interop, & performant data types + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= meson +USE_LDCONFIG= yes +USE_GITHUB= yes +GH_ACCOUNT= janet-lang + +MESON_ARGS= -DJANET_BUILD='\"release\"' + +.include diff --git a/lang/janet/distinfo b/lang/janet/distinfo new file mode 100644 index 000000000000..6748adb3eaf9 --- /dev/null +++ b/lang/janet/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1558612570 +SHA256 (janet-lang-janet-v0.5.0_GH0.tar.gz) = f5c90122715869657427cbba62809a1d53eaaced2268e7d55202301d65a75076 +SIZE (janet-lang-janet-v0.5.0_GH0.tar.gz) = 409322 diff --git a/lang/janet/pkg-descr b/lang/janet/pkg-descr new file mode 100644 index 000000000000..914a19c509bb --- /dev/null +++ b/lang/janet/pkg-descr @@ -0,0 +1,7 @@ +Janet is a functional and imperative programming language and bytecode +interpreter. It is a modern lisp, but lists are replaced by other data +structures with better utility and performance (arrays, tables, structs, +tuples). The language also supports bridging to native code written in +C, meta-programming with macros, and bytecode assembly. + +WWW: https://janet-lang.org/ diff --git a/lang/janet/pkg-plist b/lang/janet/pkg-plist new file mode 100644 index 000000000000..54ae69455b9f --- /dev/null +++ b/lang/janet/pkg-plist @@ -0,0 +1,10 @@ +bin/janet +include/janet.h +include/janetconf.h +lib/janet/bars.janet +lib/janet/cook.janet +lib/janet/highlight.janet +lib/janet/janet.h +lib/janet/janetconf.h +lib/libjanet.so +man/man1/janet.1.gz