From 31028d59b53b74655f65ec060d66705c48dfb176 Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 25 Mar 2000 20:13:23 +0000 Subject: _________________________________________ / cowsay is a configurable talking cow, \ | written in Perl. It operates much as | | the figlet program does, and it written | \ in the same spirit of silliness. / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || --- misc/cowsay/Makefile | 18 +++++++++++++++ misc/cowsay/files/md5 | 3 +++ misc/cowsay/files/patch-sum | 3 +++ misc/cowsay/patches/patch-aa | 35 +++++++++++++++++++++++++++++ misc/cowsay/pkg/COMMENT | 1 + misc/cowsay/pkg/DESCR | 3 +++ misc/cowsay/pkg/PLIST | 52 ++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 115 insertions(+) create mode 100644 misc/cowsay/Makefile create mode 100644 misc/cowsay/files/md5 create mode 100644 misc/cowsay/files/patch-sum create mode 100644 misc/cowsay/patches/patch-aa create mode 100644 misc/cowsay/pkg/COMMENT create mode 100644 misc/cowsay/pkg/DESCR create mode 100644 misc/cowsay/pkg/PLIST (limited to 'misc') diff --git a/misc/cowsay/Makefile b/misc/cowsay/Makefile new file mode 100644 index 00000000000..ba3605fd7b9 --- /dev/null +++ b/misc/cowsay/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/03/25 20:13:23 jlam Exp $ + +DISTNAME= cowsay-3.02 +CATEGORIES= misc +MASTER_SITES= ftp://ftp.nog.net/pub/tony/cowsay/ + +MAINTAINER= jlam@netbsd.org +HOMEPAGE= http://www.nog.net/~tony/warez/cowsay.shtml + +USE_PERL5= # defined + +NO_CONFIGURE= # defined +NO_BUILD= # defined + +do-install: + cd ${WRKSRC}; ${SH} install.sh ${PREFIX} + +.include "../../mk/bsd.pkg.mk" diff --git a/misc/cowsay/files/md5 b/misc/cowsay/files/md5 new file mode 100644 index 00000000000..d5a21e514c3 --- /dev/null +++ b/misc/cowsay/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/03/25 20:13:24 jlam Exp $ + +MD5 (cowsay-3.02.tar.gz) = 878a86959e06b2f50e589a9e46dd070e diff --git a/misc/cowsay/files/patch-sum b/misc/cowsay/files/patch-sum new file mode 100644 index 00000000000..01c894051ea --- /dev/null +++ b/misc/cowsay/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/03/25 20:13:24 jlam Exp $ + +MD5 (patch-aa) = 60c58988aabc70afd5359e5b9020504b diff --git a/misc/cowsay/patches/patch-aa b/misc/cowsay/patches/patch-aa new file mode 100644 index 00000000000..7bf7019778e --- /dev/null +++ b/misc/cowsay/patches/patch-aa @@ -0,0 +1,35 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/03/25 20:13:24 jlam Exp $ + +--- cowsay.orig Thu Nov 4 11:29:53 1999 ++++ cowsay Sat Mar 25 12:07:09 2000 +@@ -7,7 +7,7 @@ + ## + + use Text::Tabs qw(expand); +-use Text::Wrap qw(wrap fill $columns); ++use Text::Wrap qw(wrap $columns); + use File::Basename; + use Getopt::Std; + use Cwd; +@@ -180,4 +180,21 @@ + Usage: $progname [-bdgpstwy] [-h] [-e eyes] [-f cowfile] + [-l] [-n] [-T tongue] [-W wrapcolumn] [message] + EOF ++} ++ ++sub fill { ++ my ($ip, $xp, @raw) = @_; ++ my @para; ++ my $pp; ++ ++ for $pp (split(/\n\s+/, join("\n",@raw))) { ++ $pp =~ s/\s+/ /g; ++ my $x = wrap($ip, $xp, $pp); ++ push(@para, $x); ++ } ++ ++ # if paragraph_indent is the same as line_indent, ++ # separate paragraphs with blank lines ++ ++ return join ($ip eq $xp ? "\n\n" : "\n", @para); + } diff --git a/misc/cowsay/pkg/COMMENT b/misc/cowsay/pkg/COMMENT new file mode 100644 index 00000000000..ef51cbbca2f --- /dev/null +++ b/misc/cowsay/pkg/COMMENT @@ -0,0 +1 @@ +Configurable talking cow diff --git a/misc/cowsay/pkg/DESCR b/misc/cowsay/pkg/DESCR new file mode 100644 index 00000000000..d541292ed51 --- /dev/null +++ b/misc/cowsay/pkg/DESCR @@ -0,0 +1,3 @@ +cowsay is a configurable talking cow, written in Perl. It operates +much as the figlet program does, and it written in the same spirit +of silliness. diff --git a/misc/cowsay/pkg/PLIST b/misc/cowsay/pkg/PLIST new file mode 100644 index 00000000000..6f2023f61a8 --- /dev/null +++ b/misc/cowsay/pkg/PLIST @@ -0,0 +1,52 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/03/25 20:13:24 jlam 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/default.cow +share/cows/devil.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/udder.cow +share/cows/vader-koala.cow +share/cows/vader.cow +share/cows/www.cow +@dirrm share/cows -- cgit v1.2.3