mirror of https://git.freebsd.org/ports.git
parent
ba9e83883c
commit
cef4e41b86
|
@ -1,7 +1,7 @@
|
|||
PORTNAME= cowsay
|
||||
PORTVERSION= 3.04
|
||||
DISTVERSIONPREFIX= cowsay-
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= games
|
||||
|
||||
MAINTAINER= osa@FreeBSD.org
|
||||
|
@ -35,7 +35,7 @@ do-install:
|
|||
# bit from both so that after installation cowsay uses, and the manpage
|
||||
# mentions, the prefix path, not the stage path.
|
||||
@${SED} -i '' 's,${STAGEDIR},,' ${STAGEDIR}${PREFIX}/bin/cowsay
|
||||
@${SED} -i '' 's,${STAGEDIR},,' ${STAGEDIR}${PREFIX}/man/man1/cowsay.1
|
||||
@${SED} -i '' 's,${STAGEDIR},,' ${STAGEDIR}${PREFIX}/share/man/man1/cowsay.1
|
||||
${INSTALL_DATA} ${FILESDIR}/box.cow ${STAGEDIR}${PREFIX}/share/cows
|
||||
${INSTALL_DATA} ${FILESDIR}/jkh.cow ${STAGEDIR}${PREFIX}/share/cows
|
||||
${INSTALL_DATA} ${FILESDIR}/tux-stab.cow ${STAGEDIR}${PREFIX}/share/cows
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
--- install.sh.orig 2024-03-09 07:16:05 UTC
|
||||
+++ install.sh
|
||||
@@ -73,10 +73,10 @@ ln -s cowsay $PREFIX/bin/cowthink
|
||||
$usethisperl -p install.pl cowsay > $PREFIX/bin/cowsay
|
||||
chmod a+x $PREFIX/bin/cowsay
|
||||
ln -s cowsay $PREFIX/bin/cowthink
|
||||
-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
|
||||
+mkdir -p $PREFIX/share/man/man1 || ($mkdir $PREFIX; mkdir $PREFIX/man; mkdir $PREFIX/man/man1)
|
||||
+$usethisperl -p install.pl cowsay.1 > $PREFIX/share/man/man1/cowsay.1
|
||||
+chmod a+r $PREFIX/share/man/man1/cowsay.1
|
||||
+ln -s cowsay.1 $PREFIX/share/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
|
|
@ -1,7 +1,5 @@
|
|||
bin/cowsay
|
||||
bin/cowthink
|
||||
man/man1/cowsay.1.gz
|
||||
man/man1/cowthink.1.gz
|
||||
share/cows/DragonAndCow.pm
|
||||
share/cows/Example.pm
|
||||
share/cows/Frogs.pm
|
||||
|
@ -60,3 +58,5 @@ share/cows/udder.cow
|
|||
share/cows/vader-koala.cow
|
||||
share/cows/vader.cow
|
||||
share/cows/www.cow
|
||||
share/man/man1/cowsay.1.gz
|
||||
share/man/man1/cowthink.1.gz
|
||||
|
|
Loading…
Reference in New Issue