summaryrefslogtreecommitdiffstats
path: root/source/t/xfig
diff options
context:
space:
mode:
Diffstat (limited to 'source/t/xfig')
-rw-r--r--source/t/xfig/slack-desc6
-rwxr-xr-xsource/t/xfig/xfig.SlackBuild10
2 files changed, 11 insertions, 5 deletions
diff --git a/source/t/xfig/slack-desc b/source/t/xfig/slack-desc
index 85d1fefde..387dd2550 100644
--- a/source/t/xfig/slack-desc
+++ b/source/t/xfig/slack-desc
@@ -10,9 +10,9 @@ xfig: xfig (interactive drawing tool)
xfig:
xfig: This package contains the binary for xfig, an interactive drawing tool
xfig: under X. Xfig can create fig, epsf, and LaTeX files with various
-xfig: options. You also have to install the transfig package (transfig.tgz)
-xfig: so that xfig can export fig files as epsf and LaTeX files. This
-xfig: package also contains a set of basic examples of fig files.
+xfig: options. You will also need the transfig package so that xfig can
+xfig: export fig files as epsf and LaTeX files. This package also contains
+xfig: a set of basic examples of fig files.
xfig:
xfig:
xfig:
diff --git a/source/t/xfig/xfig.SlackBuild b/source/t/xfig/xfig.SlackBuild
index 41f23f126..097d4a1d8 100755
--- a/source/t/xfig/xfig.SlackBuild
+++ b/source/t/xfig/xfig.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2007, 2008, 2009, 2010, 2013 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2007, 2008, 2009, 2010, 2013, 2015 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,7 +22,7 @@
VERSION=3.2.5c
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -81,6 +81,12 @@ make install.html DESTDIR=$PKG || exit 1
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+# Move man page to the correct place:
+if [ -d $PKG/usr/man/man1x ]; then
+ mv $PKG/usr/man/man1x $PKG/usr/man/man1
+ mv $PKG/usr/man/man1/xfig.1x $PKG/usr/man/man1/xfig.1
+fi
+
gzip -9 $PKG/usr/man/man1/*
mkdir -p $PKG/usr/doc/xfig-$VERSION