summaryrefslogtreecommitdiff
path: root/academic/chemtool/chemtool.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/chemtool/chemtool.SlackBuild')
-rw-r--r--academic/chemtool/chemtool.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/academic/chemtool/chemtool.SlackBuild b/academic/chemtool/chemtool.SlackBuild
index 66526a07e8..eb8d211e38 100644
--- a/academic/chemtool/chemtool.SlackBuild
+++ b/academic/chemtool/chemtool.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for chemtool
-# Copyright 2006,2008-2011 Robby Workman, Northport, Alabama, USA
+# Copyright 2006,2008-2012 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=chemtool
-VERSION=1.6.9
+VERSION=${VERSION:-1.6.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,6 +54,8 @@ else
LIBDIRSUFFIX=""
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -70,6 +72,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
--build=$ARCH-slackware-linux
make