svn commit: r563861 - in head/lang: . fennel

Joseph Mingrone jrm at FreeBSD.org
Wed Feb 3 02:25:34 UTC 2021


Author: jrm
Date: Wed Feb  3 02:25:32 2021
New Revision: 563861
URL: https://svnweb.freebsd.org/changeset/ports/563861

Log:
  New port, lang/fennel: Lisp that compiles to Lua
  
  WWW: https://fennel-lang.org/

Added:
  head/lang/fennel/
  head/lang/fennel/Makefile   (contents, props changed)
  head/lang/fennel/distinfo   (contents, props changed)
  head/lang/fennel/pkg-descr   (contents, props changed)
  head/lang/fennel/pkg-plist   (contents, props changed)
Modified:
  head/lang/Makefile   (contents, props changed)

Modified: head/lang/Makefile
==============================================================================
--- head/lang/Makefile	Wed Feb  3 02:20:42 2021	(r563860)
+++ head/lang/Makefile	Wed Feb  3 02:25:32 2021	(r563861)
@@ -70,6 +70,7 @@
     SUBDIR += f2c
     SUBDIR += fasm
     SUBDIR += ferite
+    SUBDIR += fennel
     SUBDIR += ficl
     SUBDIR += fpc
     SUBDIR += fpc-base

Added: head/lang/fennel/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/fennel/Makefile	Wed Feb  3 02:25:32 2021	(r563861)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME=	fennel
+DISTVERSION=	0.8.0
+CATEGORIES=	lang
+MASTER_SITES=	https://git.sr.ht/~technomancy/${PORTNAME}/archive/${DISTVERSION}${EXTRACT_SUFX}?dummy=/
+
+MAINTAINER=	jrm at FreeBSD.org
+COMMENT=	Lisp that compiles to Lua
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		gmake lua:build
+
+MAKE_ENV=	LUA=${LUA_CMD} \
+		LUA_INCLUDE_DIR=${LUA_INCDIR} \
+		STATIC_LUA_LIB=${LUA_LIBDIR}/liblua-${LUA_VER}.a
+
+ALL_TARGET=	${PORTNAME}-bin
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}view.lua ${STAGEDIR}${LUA_LIBDIR}
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-bin ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>

Added: head/lang/fennel/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/fennel/distinfo	Wed Feb  3 02:25:32 2021	(r563861)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1612314100
+SHA256 (fennel-0.8.0.tar.gz) = 6a8502331190d5caf2cea7dd71d437cdb97c5b0cb34651b792e60d5ae72e48eb
+SIZE (fennel-0.8.0.tar.gz) = 192208

Added: head/lang/fennel/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/fennel/pkg-descr	Wed Feb  3 02:25:32 2021	(r563861)
@@ -0,0 +1,20 @@
+Fennel is a programming language that brings together the speed,
+simplicity, and reach of Lua with the flexibility of a lisp syntax and
+macro system.
+
+- Full Lua compatibility: Easily call any Lua function or library from
+  Fennel and vice-versa.
+
+- Zero overhead: Compiled code should be just as or more efficient than
+  hand-written Lua.
+
+- Compile-time macros: Ship compiled code with no runtime dependency on
+  Fennel.
+
+- Embeddable: Fennel is a one-file library as well as an
+  executable. Embed it in other programs to support runtime
+  extensibility and interactive development.
+
+Anywhere you can run Lua code, you can run Fennel code.
+
+WWW: https://fennel-lang.org/

Added: head/lang/fennel/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/fennel/pkg-plist	Wed Feb  3 02:25:32 2021	(r563861)
@@ -0,0 +1,3 @@
+bin/fennel
+%%LUA_LIBDIR%%/fennelview.lua
+man/man1/fennel.1.gz


More information about the svn-ports-all mailing list