From de8c70f8560ee0a228ef3da37fd6703720477f68 Mon Sep 17 00:00:00 2001 From: LukenShiro Date: Mon, 18 Nov 2013 08:19:25 +0700 Subject: network/netsniff-ng: Move Manual to /usr/man Signed-off-by: Willy Sudiarto Raharjo --- network/netsniff-ng/netsniff-ng.SlackBuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'network') diff --git a/network/netsniff-ng/netsniff-ng.SlackBuild b/network/netsniff-ng/netsniff-ng.SlackBuild index cf94718a1b..fe833b35aa 100644 --- a/network/netsniff-ng/netsniff-ng.SlackBuild +++ b/network/netsniff-ng/netsniff-ng.SlackBuild @@ -70,6 +70,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +sed -i 's/MAN8DIR = \$(PREFIX)\/usr\/share\/man\/man8/MAN8DIR = \$(PREFIX)\/usr\/man\/man8/' Makefile CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -87,8 +88,8 @@ make install DESTDIR=$PKG PREFIX=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find $PKG/usr/share/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ -- cgit v1.2.3