From d0ab8d63079c28666a8bdf56bc159552751c03b2 Mon Sep 17 00:00:00 2001 From: Michiel van Wessem Date: Wed, 12 May 2010 17:42:24 +0200 Subject: misc/funny-manpages: Updated for version 1.3.5 --- misc/funny-manpages/funny-manpages.SlackBuild | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'misc/funny-manpages/funny-manpages.SlackBuild') diff --git a/misc/funny-manpages/funny-manpages.SlackBuild b/misc/funny-manpages/funny-manpages.SlackBuild index 6f71ed08bef7..af84fdb9a6b1 100644 --- a/misc/funny-manpages/funny-manpages.SlackBuild +++ b/misc/funny-manpages/funny-manpages.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for funny-manpages -# Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom +# Copyright 2007-2009 Michiel van Wessem, Manchester, United Kingdom # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -28,9 +28,8 @@ VERSION=1.3.5 SRC_VERSION=1.3 DEB_VERSION=1.3-5 - ARCH=${ARCH:-noarch} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -57,18 +56,24 @@ find . \ patch -p1 < $CWD/${PRGNAM}_$DEB_VERSION.diff # Create the directories we need -mkdir -p $PKG/usr/man/man{1,3,6} +mkdir -p $PKG/usr/man/man{1,3,6,7} for manpage in $(echo *fun); do section=$(echo $manpage | awk -F. '{print $2}' | colrm 2 4) install -m 0644 $manpage $PKG/usr/man/man$section/$manpage done +# Move date.1fun over to mansection 6. It is kinda screwing with upstream, +# but right now causes a conflict with the systems date(1) ( cd $PKG/usr/man/man1 ln -sf grope.1fun egrope.1fun ln -sf grope.1fun fgrope.1fun + mv date.1fun ../man6/date.6fun ) +# Add custom noobfarm manpage. Thanks to Matt Hayes. +install -m 0644 $CWD/noobfarm.7 $PKG/usr/man/man7/noobfarm.7fun + ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -- cgit v1.2.3