summaryrefslogtreecommitdiff
path: root/games/warzone2100/warzone2100.SlackBuild
diff options
context:
space:
mode:
authorMatthew Fillpot <mfilpot@gmail.com>2011-08-05 11:49:42 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-05 11:49:42 -0300
commit8da6cf88b07e6a9fa929381a69e487e7df1237dd (patch)
tree0d927706ec887b2616bc379f7d6dda3714def09f /games/warzone2100/warzone2100.SlackBuild
parentbef4f3c03fd2f42dbc028393bc09a88100be5ba1 (diff)
downloadslackbuilds-8da6cf88b07e6a9fa929381a69e487e7df1237dd.tar.gz
games/warzone2100: Updated for version 2.3.8.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'games/warzone2100/warzone2100.SlackBuild')
-rw-r--r--games/warzone2100/warzone2100.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/games/warzone2100/warzone2100.SlackBuild b/games/warzone2100/warzone2100.SlackBuild
index f996fc8813..180d1af959 100644
--- a/games/warzone2100/warzone2100.SlackBuild
+++ b/games/warzone2100/warzone2100.SlackBuild
@@ -2,7 +2,7 @@
# SlackBuild script for Warzone 2100
-# Copyright 2010 Matthew "mfillpot" Fillpot
+# Copyright 2011 Matthew "mfillpot" Fillpot
# 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=warzone2100
-VERSION=${VERSION:-2.3.5}
+VERSION=${VERSION:-2.3.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,6 +73,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/doc/$PRGNAM-$VERSION \
@@ -82,10 +83,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-
-# No man pages
-
-# No info files
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
find $PKG -name perllocal.pod \
-o -name ".packlist" \