git: 90a56aee277a - main - lang/crumb: New port: Crumb programming language

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 02 Nov 2023 01:40:23 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=90a56aee277aa53595af000406126fd655ce8180

commit 90a56aee277aa53595af000406126fd655ce8180
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-11-02 00:45:09 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-11-02 01:40:19 +0000

    lang/crumb: New port: Crumb programming language
---
 lang/Makefile        |  1 +
 lang/crumb/Makefile  | 24 ++++++++++++++++++++++++
 lang/crumb/distinfo  |  3 +++
 lang/crumb/pkg-descr |  9 +++++++++
 4 files changed, 37 insertions(+)

diff --git a/lang/Makefile b/lang/Makefile
index e53d5de1d0cc..04ecd0893598 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -35,6 +35,7 @@
     SUBDIR += coffeescript
     SUBDIR += colm
     SUBDIR += cparser
+    SUBDIR += crumb
     SUBDIR += crystal
     SUBDIR += csharp-mode.el
     SUBDIR += cython
diff --git a/lang/crumb/Makefile b/lang/crumb/Makefile
new file mode 100644
index 000000000000..e4d6ff1f3fa6
--- /dev/null
+++ b/lang/crumb/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	crumb
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.0.2
+CATEGORIES=	lang devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Crumb programming language
+WWW=		https://github.com/liam-ilan/crumb
+
+LICENSE=	GPLv3
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	liam-ilan
+
+PLIST_FILES=	bin/${PORTNAME}
+
+do-build:
+	@cd ${WRKSRC}/src && \
+		${CC} ${CFLAGS} ${LDFLAGS} -lm *.c -o ${PORTNAME}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/lang/crumb/distinfo b/lang/crumb/distinfo
new file mode 100644
index 000000000000..56b491c72fcf
--- /dev/null
+++ b/lang/crumb/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1698885184
+SHA256 (liam-ilan-crumb-v0.0.2_GH0.tar.gz) = c10bda4e42aaf8060af3018db8c3a1c388618c218b214ed95481a9204859970e
+SIZE (liam-ilan-crumb-v0.0.2_GH0.tar.gz) = 7351601
diff --git a/lang/crumb/pkg-descr b/lang/crumb/pkg-descr
new file mode 100644
index 000000000000..e2f903977cef
--- /dev/null
+++ b/lang/crumb/pkg-descr
@@ -0,0 +1,9 @@
+Crumb is a high level, functional, interpreted, dynamically typed,
+general-purpose programming language, with a terse syntax, and a verbose
+standard library.
+
+It features:
+* Strictly no side effects* to help you write functional code
+* The ability to localize the effects of imported Crumb file.
+* Dynamic typing and garbage collectio.
+* 0 keywords, everything is a functio.