aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-12-09 11:02:19 +0800
committerkris <kris@FreeBSD.org>2004-12-09 11:02:19 +0800
commitdc3ad56be1b5cb31d2a707cf1d5523ad24fe0297 (patch)
tree4752c7cbd5c9c7afa0cb7497ee4b1b55f415c77e /games
parent76b4196d86dfd0d5f1925aad184cbe61a1c79d1a (diff)
downloadfreebsd-ports-gnome-dc3ad56be1b5cb31d2a707cf1d5523ad24fe0297.tar.gz
freebsd-ports-gnome-dc3ad56be1b5cb31d2a707cf1d5523ad24fe0297.tar.zst
freebsd-ports-gnome-dc3ad56be1b5cb31d2a707cf1d5523ad24fe0297.zip
Use MLINKS to install and record a symlinked manpage instead of doing it
by hand. Submitted by: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp> PR: 74440
Diffstat (limited to 'games')
-rw-r--r--games/cowsay/files/patch-install.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/cowsay/files/patch-install.sh b/games/cowsay/files/patch-install.sh
new file mode 100644
index 000000000000..ef07f1e9d9f4
--- /dev/null
+++ b/games/cowsay/files/patch-install.sh
@@ -0,0 +1,11 @@
+--- install.sh.orig Sat Nov 27 11:40:57 2004
++++ install.sh Sat Nov 27 11:44:05 2004
+@@ -76,7 +76,7 @@
+ mkdir -p $PREFIX/man/man1 || ($mkdir $PREFIX; mkdir $PREFIX/man; mkdir $PREFIX/man/man1)
+ $usethisperl -p install.pl cowsay.1 > $PREFIX/man/man1/cowsay.1
+ chmod a+r $PREFIX/man/man1/cowsay.1
+-ln -s cowsay.1 $PREFIX/man/man1/cowthink.1
++#ln -s cowsay.1 $PREFIX/man/man1/cowthink.1
+ mkdir -p $PREFIX/share/cows || (mkdir $PREFIX; mkdir $PREFIX/share; mkdir $PREFIX/share/cows)
+ tar -cf - $filelist | (cd $PREFIX/share && tar -xvf -)
+ set +x