summaryrefslogtreecommitdiffstats
path: root/system/makefile2graph
diff options
context:
space:
mode:
Diffstat (limited to 'system/makefile2graph')
-rw-r--r--system/makefile2graph/README9
-rw-r--r--system/makefile2graph/makefile2graph.SlackBuild16
-rw-r--r--system/makefile2graph/makefile2graph.info8
3 files changed, 18 insertions, 15 deletions
diff --git a/system/makefile2graph/README b/system/makefile2graph/README
index 6df1fa180b..83928d5f3c 100644
--- a/system/makefile2graph/README
+++ b/system/makefile2graph/README
@@ -2,11 +2,12 @@ makefile2graph (creates a dependency graph from a Makefile)
Creates a graph of dependencies from GNU make Makefile.
-Output is a graphviz dot file, a Gexf-XML file, or a list of the deepest
-independent targets that should be made. Sub-Makefiles are not supported.
+Output is a graphviz dot file, a Gexf-XML file, or a list of the
+deepest independent targets that should be made. Sub-Makefiles are not
+supported.
-Optional dependencies: To actually generate visual graphs, you will need
-or or both of:
+Optional dependencies: To actually generate visual graphs, you will
+need or or both of:
graphics/graphviz
graphics/graph-easy
diff --git a/system/makefile2graph/makefile2graph.SlackBuild b/system/makefile2graph/makefile2graph.SlackBuild
index df00e77d70..b58d1d7c1d 100644
--- a/system/makefile2graph/makefile2graph.SlackBuild
+++ b/system/makefile2graph/makefile2graph.SlackBuild
@@ -2,14 +2,16 @@
# Slackware build script for makefile2graph
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20220611 bkw: updated for v2021.11.06.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=makefile2graph
-VERSION=${VERSION:-1.5.0}
+VERSION=${VERSION:-2021.11.06}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -22,9 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -59,14 +58,17 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod 644 *
-make -j1 \
+# 20210824 bkw: fix parallel build. not that helpful really since
+# there's only one source file to compile anyway.
+sed -i '/^install:/s,$, all,' Makefile
+
+make \
CFLAGS="$SLKCFLAGS -Wl,-s" DESTDIR=$PKG \
prefix=/usr man1dir=/usr/man/man1 pkgdocdir=/usr/doc/$PRGNAM-$VERSION \
all install
chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/* $PKG/usr/man/man1/*
gzip -9 $PKG/usr/man/man1/*.1
-ln -s make2graph.1.gz $PKG/usr/man/man1/$PRGNAM.1.gz
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/makefile2graph/makefile2graph.info b/system/makefile2graph/makefile2graph.info
index 2a85e06f16..b6ad370ceb 100644
--- a/system/makefile2graph/makefile2graph.info
+++ b/system/makefile2graph/makefile2graph.info
@@ -1,10 +1,10 @@
PRGNAM="makefile2graph"
-VERSION="1.5.0"
+VERSION="2021.11.06"
HOMEPAGE="https://github.com/lindenb/makefile2graph"
-DOWNLOAD="https://github.com/lindenb/makefile2graph/archive/v1.5.0/makefile2graph-1.5.0.tar.gz"
-MD5SUM="7eb822eced522ef03ab29c893e59d2d3"
+DOWNLOAD="https://github.com/lindenb/makefile2graph/archive/2021.11.06/makefile2graph-2021.11.06.tar.gz"
+MD5SUM="b4e4ad7b162be53ef41933adebc8358f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"