[Midnightbsd-cvs] mports: mports/games: Here you go smultron.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Dec 29 19:59:12 EST 2007


Log Message:
-----------
Here you go smultron.

Modified Files:
--------------
    mports/games:
        Makefile (r1.16 -> r1.17)

Added Files:
-----------
    mports/games/cowsay:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/games/cowsay/files:
        box.cow (r1.1)
        jkh.cow (r1.1)
        patch-aa (r1.1)
        patch-install.sh (r1.1)
        tux-stab.cow (r1.1)

-------------- next part --------------
--- /dev/null
+++ games/cowsay/pkg-descr
@@ -0,0 +1,5 @@
+cowsay is a configurable talking ASCII cow (and other characters),
+written in Perl.  It operates much as the figlet program does, and
+is written in the same spirit of silliness.
+
+WWW: http://www.nog.net/~tony/warez/cowsay.shtml
--- /dev/null
+++ games/cowsay/pkg-plist
@@ -0,0 +1,53 @@
+bin/cowsay
+bin/cowthink
+share/cows/beavis.zen.cow
+share/cows/bong.cow
+share/cows/box.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/jkh.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/tux-stab.cow
+share/cows/udder.cow
+share/cows/vader-koala.cow
+share/cows/vader.cow
+share/cows/www.cow
+ at dirrm share/cows
--- /dev/null
+++ games/cowsay/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for:	cowsay
+# Date created:		01 Sep 2000
+# Whom:			Kris Kennaway <kris at FreeBSD.org>
+#
+# $MidnightBSD: mports/games/cowsay/Makefile,v 1.1 2007/12/30 00:59:09 laffer1 Exp $
+# $FreeBSD: ports/games/cowsay/Makefile,v 1.6 2004/12/09 03:01:44 kris Exp $
+#
+
+PORTNAME=	cowsay
+PORTVERSION=	3.03
+CATEGORIES=	games
+MASTER_SITES=	ftp://ftp.nog.net/pub/tony/cowsay/
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Configurable talking characters in ASCII art
+
+USE_PERL5=	yes
+
+NO_BUILD=	# defined
+
+MAN1=		cowsay.1
+MLINKS=		cowsay.1 cowthink.1
+
+do-install:
+	cd ${WRKSRC}; ${SH} install.sh ${PREFIX}
+	@${INSTALL_DATA} ${FILESDIR}/box.cow ${PREFIX}/share/cows
+	@${INSTALL_DATA} ${FILESDIR}/jkh.cow ${PREFIX}/share/cows
+	@${INSTALL_DATA} ${FILESDIR}/tux-stab.cow ${PREFIX}/share/cows
+
+.include <bsd.port.mk>
--- /dev/null
+++ games/cowsay/distinfo
@@ -0,0 +1,3 @@
+MD5 (cowsay-3.03.tar.gz) = b29169797359420dadb998079021a494
+SHA256 (cowsay-3.03.tar.gz) = 0b8672a7ac2b51183780db72618b42af8ec1ce02f6c05fe612510b650540b2af
+SIZE (cowsay-3.03.tar.gz) = 15189
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/games/Makefile,v
retrieving revision 1.16
retrieving revision 1.17
diff -L games/Makefile -L games/Makefile -u -r1.16 -r1.17
--- games/Makefile
+++ games/Makefile
@@ -5,6 +5,7 @@
 
     SUBDIR += bass
     SUBDIR += battalion
+    SUBDIR += cowsay
     SUBDIR += doom-data
     SUBDIR += doomlegacy
     SUBDIR += fortunate
--- /dev/null
+++ games/cowsay/files/tux-stab.cow
@@ -0,0 +1,26 @@
+##
+## TuX and the Daemon
+## (c) pborys at p-soft.silesia.linux.org.pl 
+## (c) Marshall Kirk McKusick
+##
+$the_cow = <<EOC;
+   $thoughts                     ,        ,
+    $thoughts                   /(        )`
+     $thoughts                  \\ \\___   / |
+     $thoughts                  /- _  `-/  '
+     $thoughts                 (/\\/ \\ \\   /\\
+     $thoughts                 / /   | `    \\
+     $thoughts                 O O   ) /    |
+    $thoughts                  `-^--'`<     '
+     .--.             (_.)  _  )   /
+    |o_o |             `.___/`    /
+    |:_/ |              `-----' /
+   //<- \\ \\----.     __ / __   \\
+  (|  <- | )---|====O)))==) \\) /====
+ /'\\ <- _/`\\---'    `--' `.__,' \\
+ \\___)=(___/            |        |
+                          \\       /
+                    ______( (_  / \\______
+                  ,'  ,-----'   |        \\
+                  `--{__________)        \\/
+EOC
--- /dev/null
+++ games/cowsay/files/jkh.cow
@@ -0,0 +1,14 @@
+##
+## The non-flaming sheep.
+##
+$the_cow = <<EOC
+ $thoughts                 _
+  $thoughts               (_)
+   $thoughts                /\\
+       __          /\\ \\
+      U${eyes}U\\.'\@\@\@\@\@\@`.\\ \\
+      \\__/(\@\@\@\@\@\@\@\@\@\@) /
+           (\@\@\@\@\@\@\@\@)((
+           `YY~~~~YY' \\\\
+            ||    ||  //
+EOC
--- /dev/null
+++ 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
--- /dev/null
+++ games/cowsay/files/box.cow
@@ -0,0 +1,12 @@
+# Created by Brian Feldman <green at FreeBSD.org>
+# Updated for content by Robert Watson <rwatson at FreeBSD.org>
+#
+$the_cow = "";
+$the_cow .= "        $thoughts\n";
+$the_cow .= "         $thoughts\n";
+$the_cow .= "     .----------------------.\n";
+$the_cow .= "    / \\                     |\\\n";
+$the_cow .= "     \\ \\____________________|_\\\n";
+$the_cow .= "     \\\\/\\______________________\\\n";
+$the_cow .= "      \\| BOX O' STUPID PEOPLE |\n";
+$the_cow .= "       `----------------------'\n";
--- /dev/null
+++ games/cowsay/files/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", at 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);
+ }


More information about the Midnightbsd-cvs mailing list