aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorAntonio Leal <antonio.leal@yahoo.com>2023-03-26 23:11:20 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-01 09:14:07 +0700
commit16eb209174b4138bb93a026815cec90c439e6b80 (patch)
tree03a87da113759d880978062313a9f9ffb846394d /development
parent6d1434275f7277653c8e4fedfcb4851b574ce47c (diff)
development/kForth-64: Fix /etc/profile.d file.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/kForth-64/README6
-rw-r--r--development/kForth-64/kForth-64.SlackBuild8
-rw-r--r--development/kForth-64/kForth-64.sh2
3 files changed, 7 insertions, 9 deletions
diff --git a/development/kForth-64/README b/development/kForth-64/README
index b109d6ddcb53d..1bc78cdeb5313 100644
--- a/development/kForth-64/README
+++ b/development/kForth-64/README
@@ -1,11 +1,7 @@
kForth is an implementation of the Forth programming language
and environment. The user may write Forth programs with an editor,
load these program files from kForth, and run them.
-kForth, like other implementations of Forth, provides an interactive
-environment, allowing the user to examine or define variables and
-define and execute individual words. Interactive use is one of the
-main advantages in using a Forth environment for writing and testing
-computer programs.
+
kForth provides a large subset of the Forth-2012 specification for
the Forth language. It also provides some extensions and non-standard
features which its authors have found to be useful.
diff --git a/development/kForth-64/kForth-64.SlackBuild b/development/kForth-64/kForth-64.SlackBuild
index a9619ee111752..72af9fe203437 100644
--- a/development/kForth-64/kForth-64.SlackBuild
+++ b/development/kForth-64/kForth-64.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kForth-64
VERSION=${VERSION:-0.3.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -93,7 +93,11 @@ cp *.* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/etc/profile.d
-cp $CWD/kForth-64.sh $PKG/etc/profile.d
+cat <<EOF >$PKG/etc/profile.d/kForth-64.sh
+!/bin/sh
+export KFORTH_DIR=/usr/share/kForth-64
+EOF
+chmod 0755 $PKG/etc/profile.d/kForth-64.sh
mkdir -p $PKG/usr/share/pixmaps
cp $TMP/$PRGNAM-$VERSION/kforth.xpm $PKG/usr/share/pixmaps
diff --git a/development/kForth-64/kForth-64.sh b/development/kForth-64/kForth-64.sh
deleted file mode 100644
index 59a4f45d6f0ac..0000000000000
--- a/development/kForth-64/kForth-64.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-export KFORTH_DIR=/usr/share/kForth-64