development/nvi: Updated copyright and miscellaneous cleanup
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
cfeee9b6bd
commit
21096b3a7d
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for nvi
|
# Slackware build script for nvi
|
||||||
|
|
||||||
# Copyright 2008-2011 Robby Workman Northport, Alabama (USA)
|
# Copyright 2008-2012 Robby Workman Northport, Alabama (USA)
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=nvi
|
PRGNAM=nvi
|
||||||
VERSION=1.81.6
|
VERSION=${VERSION:-1.81.6}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -87,20 +87,16 @@ cd build.unix
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
make
|
make
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
cd -
|
cd ..
|
||||||
|
|
||||||
# These are better as softlinks instead of hardlinks
|
# These are better as softlinks instead of hardlinks
|
||||||
cd $PKG/usr/man/man1
|
rm -f $PKG/usr/man/man1/{nex,nview}.1
|
||||||
rm nex.1 nview.1
|
ln -s nvi.1 $PKG/usr/man/man1/nex.1
|
||||||
ln -s nvi.1 nex.1
|
ln -s nvi.1 $PKG/usr/man/man1/nview.1
|
||||||
ln -s nvi.1 nview.1
|
|
||||||
cd -
|
|
||||||
|
|
||||||
cd $PKG/usr/man
|
rm -rf $PKG/usr/man/cat*
|
||||||
rm -rf cat*
|
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||||
find . -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
|
||||||
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
|
||||||
cd -
|
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a \
|
cp -a \
|
||||||
|
|
Loading…
Reference in New Issue