pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang Import kona version 0.0.0.2021.12.25 as lang/kona.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ae1cbad08d20
branches: trunk
changeset: 387885:ae1cbad08d20
user: nikita <nikita%pkgsrc.org@localhost>
date: Wed Nov 09 16:58:34 2022 +0000
description:
Import kona version 0.0.0.2021.12.25 as lang/kona.
Kona is the open-source implementation of the k3 programming language.
k is a synthesis of APL and LISP. Although many of the capabilities
come from APL, the fundamental data construct is quite different.
In APL the construct is a multi-dimensional matrix-like array, where
the dimension of the array can range from 0 to some maximum (often 9).
In k, like LISP, the fundamental data construct is a list. Also, like
LISP, the k language is ASCII-based, so you don't need a special keyboard.
For many people, k was the preferred APL dialect.
When it was available, it tended to be popular with investment bankers,
the performance obsessed, and analysts dealing with lots of data.
It is a demanding language.
diffstat:
lang/Makefile | 3 ++-
lang/kona/DESCR | 12 ++++++++++++
lang/kona/Makefile | 20 ++++++++++++++++++++
lang/kona/PLIST | 2 ++
lang/kona/distinfo | 6 ++++++
lang/kona/patches/patch-Makefile | 24 ++++++++++++++++++++++++
6 files changed, 66 insertions(+), 1 deletions(-)
diffs (101 lines):
diff -r 44bef536c9af -r ae1cbad08d20 lang/Makefile
--- a/lang/Makefile Wed Nov 09 15:04:05 2022 +0000
+++ b/lang/Makefile Wed Nov 09 16:58:34 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.659 2022/10/31 09:50:40 adam Exp $
+# $NetBSD: Makefile,v 1.660 2022/11/09 16:58:34 nikita Exp $
#
COMMENT= Programming languages
@@ -136,6 +136,7 @@
SUBDIR+= kaffe
SUBDIR+= kaffe-x11
SUBDIR+= kali
+SUBDIR+= kona
SUBDIR+= konoha
SUBDIR+= ksi
SUBDIR+= libBlocksRuntime
diff -r 44bef536c9af -r ae1cbad08d20 lang/kona/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/kona/DESCR Wed Nov 09 16:58:34 2022 +0000
@@ -0,0 +1,12 @@
+Kona is the open-source implementation of the k3 programming language.
+k is a synthesis of APL and LISP. Although many of the capabilities
+come from APL, the fundamental data construct is quite different.
+In APL the construct is a multi-dimensional matrix-like array, where
+the dimension of the array can range from 0 to some maximum (often 9).
+In k, like LISP, the fundamental data construct is a list. Also, like
+LISP, the k language is ASCII-based, so you don't need a special keyboard.
+
+For many people, k was the preferred APL dialect.
+When it was available, it tended to be popular with investment bankers,
+the performance obsessed, and analysts dealing with lots of data.
+It is a demanding language.
diff -r 44bef536c9af -r ae1cbad08d20 lang/kona/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/kona/Makefile Wed Nov 09 16:58:34 2022 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2022/11/09 16:58:35 nikita Exp $
+
+DISTNAME= kona-0.0.0.2021.12.25
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_GITHUB:=kevinlawler/}
+GITHUB_PROJECT= kona
+GITHUB_TAG= Win64-20211225
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/kevinlawler/kona/
+COMMENT= Interpreter of K, an APL-like programming language
+LICENSE= isc
+
+USE_LANGUAGES= c
+USE_TOOLS= gmake
+
+INSTALLATION_DIRS= bin
+INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
+
+.include "../../mk/bsd.pkg.mk"
diff -r 44bef536c9af -r ae1cbad08d20 lang/kona/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/kona/PLIST Wed Nov 09 16:58:34 2022 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2022/11/09 16:58:35 nikita Exp $
+bin/k
diff -r 44bef536c9af -r ae1cbad08d20 lang/kona/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/kona/distinfo Wed Nov 09 16:58:34 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/11/09 16:58:35 nikita Exp $
+
+BLAKE2s (kona-0.0.0.2021.12.25.tar.gz) = 465456a9cf4925c4ec7e77dbc68c69a65f893b5448f822a2b2d2fb11292f1b22
+SHA512 (kona-0.0.0.2021.12.25.tar.gz) = 2709ec84555b8f29c16347fdf9514f3684c48dc0e83a15c30718dd17c6b999144fa13f0e11020c48967dce7450850c59beeb980abea4a8eade02830d106078d2
+Size (kona-0.0.0.2021.12.25.tar.gz) = 327906 bytes
+SHA1 (patch-Makefile) = c78fcae6b931d0382f119b438b2a6cb76fba3df9
diff -r 44bef536c9af -r ae1cbad08d20 lang/kona/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/kona/patches/patch-Makefile Wed Nov 09 16:58:34 2022 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-Makefile,v 1.1 2022/11/09 16:58:35 nikita Exp $
+
+patch for reproducibility (SOURCE_DATE_EPOCH),
+sent upstream.
+
+--- Makefile.orig 2022-11-09 17:18:35.887846604 +0100
++++ Makefile 2022-11-09 17:19:45.705977471 +0100
+@@ -127,8 +127,15 @@
+ k_dyn: src/kbuild.h $(OBJS)
+ $(CC) ${CFLAGS} $(OBJS) -rdynamic -o $@ $(LDFLAGS)
+
++DATE_FMT = +%Y-%m-%d
++ifdef SOURCE_DATE_EPOCH
++ BUILD_DATE := $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "$(DATE_FMT)" 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "$(DATE_FMT)" 2>/dev/null || date -u "$(DATE_FMT)")
++else
++ BUILD_DATE := $(shell date "$(DATE_FMT)")
++endif
++
+ src/kbuild.h:
+- echo "#define KBUILD_DATE \"`date +%Y-%m-%d`\"" >$@
++ echo "#define KBUILD_DATE \"$(BUILD_DATE)\"" >$@
+
+ test: k_test
+
Home |
Main Index |
Thread Index |
Old Index