Hi James,
Was having a play with lang/janet and noticed that the stable version
was now at v0.5.0.
A diff to bring Janet up to v0.5.0 is attached below.
Cheers
Fred
--
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/janet/Makefile,v
retrieving revision 1.4
diff -u -p -u -r1.4 Makefile
--- Makefile 16 Apr 2019 01:56:16 -0000 1.4
+++ Makefile 13 May 2019 11:30:32 -0000
@@ -5,7 +5,7 @@ CATEGORIES = lang
GH_ACCOUNT = janet-lang
GH_PROJECT = janet
-GH_TAGNAME = v0.4.1
+GH_TAGNAME = v0.5.0
HOMEPAGE = https://www.janet-lang.org/
MAINTAINER = James Turner <[email protected]>
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/janet/distinfo,v
retrieving revision 1.3
diff -u -p -u -r1.3 distinfo
--- distinfo 16 Apr 2019 00:29:26 -0000 1.3
+++ distinfo 13 May 2019 11:30:32 -0000
@@ -1,2 +1,2 @@
-SHA256 (janet-0.4.1.tar.gz) = rV6qet9xT8H/90OnOeMLo/abveh6vLonxzO3obkdcC4=
-SIZE (janet-0.4.1.tar.gz) = 405290
+SHA256 (janet-0.5.0.tar.gz) = 9ckBInFYaWV0J8u6YoCaHVPqrO0iaOfVUgIwHWWnUHY=
+SIZE (janet-0.5.0.tar.gz) = 409322
Index: patches/patch-Makefile
===================================================================
RCS file: /cvs/ports/lang/janet/patches/patch-Makefile,v
retrieving revision 1.2
diff -u -p -u -r1.2 patch-Makefile
--- patches/patch-Makefile 13 Mar 2019 01:14:47 -0000 1.2
+++ patches/patch-Makefile 13 May 2019 11:30:32 -0000
@@ -1,16 +1,16 @@
-$OpenBSD: patch-Makefile,v 1.2 2019/03/13 01:14:47 jturner Exp $
+$OpenBSD$
Use a date stamp for JANET_BUILD to avoid using git.
Replace hardcoded -O2.
Fix installation.
Index: Makefile
---- Makefile.orig
-+++ Makefile
-@@ -26,15 +26,15 @@ PREFIX?=/usr/local
-
+--- Makefile.orig Mon May 13 12:13:49 2019
++++ Makefile Mon May 13 12:15:25 2019
+@@ -27,15 +27,15 @@ PREFIX?=/usr/local
INCLUDEDIR=$(PREFIX)/include
BINDIR=$(PREFIX)/bin
+ LIBDIR=$(PREFIX)/lib
-JANET_BUILD?="\"$(shell git log --pretty=format:'%h' -n 1)\""
+JANET_BUILD?="\"$(shell date +%Y%m%d)\""
CLIBS=-lm
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/lang/janet/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -u -r1.3 PLIST
--- pkg/PLIST 16 Apr 2019 00:29:26 -0000 1.3
+++ pkg/PLIST 13 May 2019 11:30:32 -0000
@@ -9,4 +9,7 @@ lib/janet/cook.janet
lib/janet/highlight.janet
lib/janet/janet.h
lib/janet/janetconf.h
+lib/libjanet.so
+lib/libjanet.so.0
+@bin lib/libjanet.so.0.5.0
@man man/man1/janet.1