aboutsummaryrefslogtreecommitdiff
path: root/development/hexer
diff options
context:
space:
mode:
Diffstat (limited to 'development/hexer')
-rw-r--r--development/hexer/COPYRIGHT40
-rw-r--r--development/hexer/hexer.SlackBuild35
-rw-r--r--development/hexer/hexer.info6
3 files changed, 67 insertions, 14 deletions
diff --git a/development/hexer/COPYRIGHT b/development/hexer/COPYRIGHT
new file mode 100644
index 0000000000..f9ba163e44
--- /dev/null
+++ b/development/hexer/COPYRIGHT
@@ -0,0 +1,40 @@
+Copyright (c) 1995,1996 Sascha Demetrio
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ If you modify any part of HEXER and redistribute it, you must add
+ a notice to the `README' file and the modified source files containing
+ information about the changes you made. I do not want to take
+ credit or be blamed for your modifications.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ If you modify any part of HEXER and redistribute it in binary form,
+ you must supply a `README' file containing information about the
+ changes you made.
+3. The name of the developer may not be used to endorse or promote
+ products derived from this software without specific prior written
+ permission.
+
+HEXER WAS DEVELOPED BY SASCHA DEMETRIO.
+THIS SOFTWARE SHOULD NOT BE CONSIDERED TO BE A COMMERCIAL PRODUCT.
+THE DEVELOPER URGES THAT USERS WHO REQUIRE A COMMERCIAL PRODUCT
+NOT MAKE USE OF THIS WORK.
+
+DISCLAIMER:
+THIS SOFTWARE IS PROVIDED BY THE DEVELOPER ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE DEVELOPER BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+
diff --git a/development/hexer/hexer.SlackBuild b/development/hexer/hexer.SlackBuild
index 70d7fd9665..424d4588a7 100644
--- a/development/hexer/hexer.SlackBuild
+++ b/development/hexer/hexer.SlackBuild
@@ -6,10 +6,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20250830 bkw: update for v1.0.7.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hexer
-VERSION=${VERSION:-1.0.6}
+VERSION=${VERSION:-1.0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -33,16 +35,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -54,22 +52,37 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
# Add some formatting to the man pages and fix a few typos.
patch -p1 < $CWD/manpages_readability.diff
# Binaries get installed already stripped.
make all myc PREFIX=/usr CFLAGS="$SLKCFLAGS" LIBTERMCAP=-lncurses
-make install PREFIX=/usr DESTDIR=$PKG
+make install PREFIX=/usr DESTDIR=$PKG DOCSDIR=/usr/doc/$PRGNAM-$VERSION
gzip -9 $PKG/usr/man/man?/*.?
# The *.doc files are plain text versions of the man pages, don't bother.
# help.txt actually gets built into the binary for the :help command.
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/rc
-cp -a CHANGES COPYRIGHT README TODO $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC/rc
+if [ -e CHANGES ]; then
+ # old versions...
+ cp -a CHANGES COPYRIGHT README TODO $PKGDOC
+else
+ # 20250830 bkw: 1.0.7 (and up?), most of the docs are already
+ # installed. README.md is identical to index.md, don't include
+ # in package. The C code is all BSD 3-clause but the docs and test
+ # suite are BSD 2-clause. I have no idea of the legal ramifications
+ # of this, I'm not a lawyer, or even a wannabe. I'll just include
+ # both licenses.
+ cp -a LICENSES/* $PKGDOC
+ # Also, the man pages say to see the file COPYRIGHT, but no such file
+ # exists. So, include a copy of the one from v1.0.6.
+ cat $CWD/COPYRIGHT > $PKGDOC/COPYRIGHT
+fi
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
# The default color scheme is hard for me to read, so I include a few
# sample rc files with various color schemes.
diff --git a/development/hexer/hexer.info b/development/hexer/hexer.info
index f113832083..c5ac6f4662 100644
--- a/development/hexer/hexer.info
+++ b/development/hexer/hexer.info
@@ -1,8 +1,8 @@
PRGNAM="hexer"
-VERSION="1.0.6"
+VERSION="1.0.7"
HOMEPAGE="https://devel.ringlet.net/editors/hexer/"
-DOWNLOAD="https://devel.ringlet.net/files/editors/hexer/hexer-1.0.6.tar.xz"
-MD5SUM="516d37a8f027cd556e98c4b81dfcf79a"
+DOWNLOAD="https://devel.ringlet.net/files/editors/hexer/hexer-1.0.7.tar.xz"
+MD5SUM="4ec7ddfa25bc83335ab63182d3e7b10c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""