summaryrefslogtreecommitdiffstats
path: root/source/t/xfig/xfig.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/t/xfig/xfig.SlackBuild')
-rwxr-xr-xsource/t/xfig/xfig.SlackBuild10
1 files changed, 8 insertions, 2 deletions
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