update to newlisp-10.7.0

This commit is contained in:
jasper 2016-01-24 19:44:04 +00:00
parent 199554b45b
commit f651ac0406
3 changed files with 16 additions and 16 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.14 2015/03/15 10:07:43 jasper Exp $
# $OpenBSD: Makefile,v 1.15 2016/01/24 19:44:04 jasper Exp $
COMMENT= newLISP is a LISP like, general purpose scripting language
V= 10.6.2
V= 10.7.0
DISTNAME= newlisp-$V
CATEGORIES= lang
HOMEPAGE= http://newlisp.org/

View File

@ -1,2 +1,2 @@
SHA256 (newlisp-10.6.2.tgz) = rjq3eYfLLP706YYQS+W+WslGkxfp10iEw+qJwuS7QEA=
SIZE (newlisp-10.6.2.tgz) = 1671798
SHA256 (newlisp-10.7.0.tgz) = xJY78y1n7vfklX9xGGMqDEA1D9DigGS84JWGWzgxN7s=
SIZE (newlisp-10.7.0.tgz) = 1741661

View File

@ -1,31 +1,31 @@
$OpenBSD: patch-guiserver_newlisp-edit_lsp,v 1.4 2013/08/06 18:12:00 jasper Exp $
--- guiserver/newlisp-edit.lsp.orig Mon Jul 29 21:15:47 2013
+++ guiserver/newlisp-edit.lsp Mon Jul 29 21:17:48 2013
$OpenBSD: patch-guiserver_newlisp-edit_lsp,v 1.5 2016/01/24 19:44:04 jasper Exp $
--- guiserver/newlisp-edit.lsp.orig Sun Jan 24 20:34:36 2016
+++ guiserver/newlisp-edit.lsp Sun Jan 24 20:35:41 2016
@@ -1,4 +1,4 @@
-#!/usr/bin/newlisp
-#!/usr/local/bin/newlisp
+#!${PREFIX}/bin/newlisp
; newlisp-edit.lsp - multiple tab LISP editor and support for running code from the editor
; needs 9.9.2 version minimum to run
@@ -157,7 +157,7 @@
@@ -158,7 +158,7 @@
(write-file file (base64-dec text)))
(if (= ostype "Win32")
(if (= ostype "Windows")
(catch (exec (string {newlisp.exe "} currentScriptFile {" } file " > " (string file "out"))) 'result)
- (catch (exec (string "/usr/bin/newlisp " currentScriptFile " " file)) 'result)
+ (catch (exec (string "${TRUEPREFIX}/bin/newlisp " currentScriptFile " " file)) 'result)
- (catch (exec (string "/usr/local/bin/newlisp " currentScriptFile " " file)) 'result)
+ (catch (exec (string "${PREFIX}/bin/newlisp " currentScriptFile " " file)) 'result)
)
(if (list? result)
(begin
@@ -225,7 +225,7 @@
@@ -226,7 +226,7 @@
(gs:run-shell 'OutputArea
(string newlispDir "/newlisp.exe") (string currentExtension " -C -w \"" $HOME "\""))
(gs:run-shell 'OutputArea
- (string "/usr/bin/newlisp") (string currentExtension " -C -w " $HOME))
- (string "/usr/local/bin/newlisp") (string currentExtension " -C -w " $HOME))
+ (string "${PREFIX}/bin/newlisp") (string currentExtension " -C -w " $HOME))
)
)
@@ -1448,11 +1448,7 @@
@@ -1449,11 +1449,7 @@
; all other UNIX
(true
(set 'files '(
@ -34,7 +34,7 @@ $OpenBSD: patch-guiserver_newlisp-edit_lsp,v 1.4 2013/08/06 18:12:00 jasper Exp
- "/usr/bin/mozilla"
- "/usr/bin/firefox"
- "/usr/bin/konqueror"
+ "${LOCALBASE}/bin/xdg-open"
+ "${LOCALBASE}/bin/xdg-open"
))
(set 'prog (find true (map file? files)))
(if prog