pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang
Module Name: pkgsrc
Committed By: nikita
Date: Wed Nov 9 16:58:35 UTC 2022
Modified Files:
pkgsrc/lang: Makefile
Added Files:
pkgsrc/lang/kona: DESCR Makefile PLIST distinfo
pkgsrc/lang/kona/patches: patch-Makefile
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.659 -r1.660 pkgsrc/lang/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/kona/DESCR pkgsrc/lang/kona/Makefile \
pkgsrc/lang/kona/PLIST pkgsrc/lang/kona/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/kona/patches/patch-Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/Makefile
diff -u pkgsrc/lang/Makefile:1.659 pkgsrc/lang/Makefile:1.660
--- pkgsrc/lang/Makefile:1.659 Mon Oct 31 09:50:40 2022
+++ pkgsrc/lang/Makefile Wed Nov 9 16:58:34 2022
@@ -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+= js
SUBDIR+= kaffe
SUBDIR+= kaffe-x11
SUBDIR+= kali
+SUBDIR+= kona
SUBDIR+= konoha
SUBDIR+= ksi
SUBDIR+= libBlocksRuntime
Added files:
Index: pkgsrc/lang/kona/DESCR
diff -u /dev/null pkgsrc/lang/kona/DESCR:1.1
--- /dev/null Wed Nov 9 16:58:35 2022
+++ pkgsrc/lang/kona/DESCR Wed Nov 9 16:58:35 2022
@@ -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.
Index: pkgsrc/lang/kona/Makefile
diff -u /dev/null pkgsrc/lang/kona/Makefile:1.1
--- /dev/null Wed Nov 9 16:58:35 2022
+++ pkgsrc/lang/kona/Makefile Wed Nov 9 16:58:35 2022
@@ -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"
Index: pkgsrc/lang/kona/PLIST
diff -u /dev/null pkgsrc/lang/kona/PLIST:1.1
--- /dev/null Wed Nov 9 16:58:35 2022
+++ pkgsrc/lang/kona/PLIST Wed Nov 9 16:58:35 2022
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2022/11/09 16:58:35 nikita Exp $
+bin/k
Index: pkgsrc/lang/kona/distinfo
diff -u /dev/null pkgsrc/lang/kona/distinfo:1.1
--- /dev/null Wed Nov 9 16:58:35 2022
+++ pkgsrc/lang/kona/distinfo Wed Nov 9 16:58:35 2022
@@ -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
Index: pkgsrc/lang/kona/patches/patch-Makefile
diff -u /dev/null pkgsrc/lang/kona/patches/patch-Makefile:1.1
--- /dev/null Wed Nov 9 16:58:35 2022
+++ pkgsrc/lang/kona/patches/patch-Makefile Wed Nov 9 16:58:35 2022
@@ -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