Import cowsay 3.03; submitted by Sebastian Stark <seb@todesplanet.de>.

cowsay is a configurable talking cow, written in Perl. It operates
much as the figlet program does, and is written in the same spirit
of silliness.
This commit is contained in:
naddy 2002-06-18 17:11:33 +00:00
parent 2bb3e6e1be
commit 55bbdc2104
6 changed files with 155 additions and 0 deletions

36
games/cowsay/Makefile Normal file
View File

@ -0,0 +1,36 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/06/18 17:11:33 naddy Exp $
COMMENT= "speaking ascii cow"
DISTNAME= cowsay-3.03
CATEGORIES= games
NEED_VERSION= 1.531
HOMEPAGE= http://www.nog.net/~tony/warez/cowsay.shtml
MAINTAINER= Sebastian Stark <seb@todesplanet.de>
# "Same as Perl"
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.nog.net/~tony/warez/
NO_REGRESS= Yes
NO_BUILD= Yes
do-configure:
perl -pi -e 's@%BANGPERL%@!/usr/bin/perl@; \
s@%PREFIX%@${TRUEPREFIX}@' ${WRKSRC}/cowsay ${WRKSRC}/cowsay.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cowsay ${PREFIX}/bin
ln -s cowsay ${PREFIX}/bin/cowthink
${INSTALL_MAN} ${WRKSRC}/cowsay.1 ${PREFIX}/man/man1
ln -s cowsay.1 ${PREFIX}/man/man1/cowthink.1
${INSTALL_DATA_DIR} ${PREFIX}/share/cows
${INSTALL_DATA} ${WRKSRC}/cows/* ${PREFIX}/share/cows
.include <bsd.port.mk>

3
games/cowsay/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (cowsay-3.03.tar.gz) = b29169797359420dadb998079021a494
RMD160 (cowsay-3.03.tar.gz) = f26b9ffe3d5551ee8049979c628bbe198817044a
SHA1 (cowsay-3.03.tar.gz) = cc65a9b13295c87df94a58caa8a9176ce5ec4a27

View File

@ -0,0 +1,30 @@
$OpenBSD: patch-cows_mech-and-cow,v 1.1.1.1 2002/06/18 17:11:33 naddy Exp $
--- cows/mech-and-cow.orig Fri Jun 14 02:04:30 2002
+++ cows/mech-and-cow Fri Jun 14 02:11:33 2002
@@ -1,6 +1,7 @@
- ,-----.
- | |
- ,--| |-.
+$the_cow = <<EOC;
+ $thoughts \,-----.
+ $thoughts | |
+ $thougths ,--| |-.
__,----| | | |
,;:: | `_____' |
`._______| i^i |
@@ -10,12 +11,8 @@
`-------' 'Y Y/'/'
.==\ /_\
^__^ / /'| `i
- (oo)\_______ /' / | |
+ ($eyes)\_______ /' / | |
(__)\ )\/\ /' / | `i
- ||----w | ___,;`----'.___L_,-'`\__
+ $tongue ||----w | ___,;`----'.___L_,-'`\__
|| || i_____;----\.____i""\____\
-
-
-
-
-
+EOC

View File

@ -0,0 +1,27 @@
$OpenBSD: patch-cowsay_1,v 1.1.1.1 2002/06/18 17:11:33 naddy Exp $
--- cowsay.1.orig Thu Jun 13 23:33:42 2002
+++ cowsay.1 Thu Jun 13 23:39:13 2002
@@ -44,7 +44,7 @@ after all the switches have been process
.PP
The
.B \-W
-specifies roughly (where the message should be wrapped. The default
+specifies roughly where the message should be wrapped. The default
is equivalent to
.B \-W 40
i.e. wrap words at or before the 40th column.
@@ -149,7 +149,7 @@ much like
.B PATH or
.BR MANPATH .
It should always contain the
-.B /usr/local/share/cows
+.B %PREFIX%/share/cows
directory, or at least a directory with a file called
.B default.cow
in it.
@@ -165,4 +165,4 @@ Tony Monroe (tony@nog.net), with suggest
Appel (appel@CSUA.Berkeley.EDU) and contributions from Anthony Polito
(aspolito@CSUA.Berkeley.EDU).
.SH SEE ALSO
-perl(1), wall(1), nwrite(1), figlet(6)
+perl(1), wall(1), figlet(6)

6
games/cowsay/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
cowsay is a configurable talking cow, written in Perl. It operates
much as the figlet program does, and is written in the same spirit
of silliness.
WWW: ${HOMEPAGE}

53
games/cowsay/pkg/PLIST Normal file
View File

@ -0,0 +1,53 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/06/18 17:11:33 naddy Exp $
bin/cowsay
bin/cowthink
man/man1/cowsay.1
man/man1/cowthink.1
share/cows/beavis.zen.cow
share/cows/bong.cow
share/cows/bud-frogs.cow
share/cows/bunny.cow
share/cows/cheese.cow
share/cows/cower.cow
share/cows/daemon.cow
share/cows/default.cow
share/cows/dragon-and-cow.cow
share/cows/dragon.cow
share/cows/elephant-in-snake.cow
share/cows/elephant.cow
share/cows/eyes.cow
share/cows/flaming-sheep.cow
share/cows/ghostbusters.cow
share/cows/head-in.cow
share/cows/hellokitty.cow
share/cows/kiss.cow
share/cows/kitty.cow
share/cows/koala.cow
share/cows/kosh.cow
share/cows/luke-koala.cow
share/cows/mech-and-cow
share/cows/meow.cow
share/cows/milk.cow
share/cows/moofasa.cow
share/cows/moose.cow
share/cows/mutilated.cow
share/cows/ren.cow
share/cows/satanic.cow
share/cows/sheep.cow
share/cows/skeleton.cow
share/cows/small.cow
share/cows/sodomized.cow
share/cows/stegosaurus.cow
share/cows/stimpy.cow
share/cows/supermilker.cow
share/cows/surgery.cow
share/cows/telebears.cow
share/cows/three-eyes.cow
share/cows/turkey.cow
share/cows/turtle.cow
share/cows/tux.cow
share/cows/udder.cow
share/cows/vader-koala.cow
share/cows/vader.cow
share/cows/www.cow
@dirrm share/cows