# $Id: Portfile 70583 2010-08-14 13:56:39Z ryandesign@macports.org $

PortSystem 1.0
name		cowsay
version		3.03
revision	1
categories	textproc amusements games
platforms	darwin freebsd
maintainers	nomaintainer
supported_archs	noarch
description	Configurable talking characters in ASCII art
long_description	${description}
homepage	http://www.nog.net/~tony/warez/
master_sites	ftp://ftp.nog.net/pub/tony/cowsay/
checksums	md5 b29169797359420dadb998079021a494
patchfiles	patch-cowsay patch-install.sh
use_configure	no
build		{}
destroot	{system "cd $worksrcpath && sh install.sh ${destroot}${prefix}"
		reinplace s,${destroot}${prefix},${prefix}, ${destroot}${prefix}/bin/cowsay }

livecheck.type	regex
livecheck.regex	${name}-(\[0-9.\]+)\\.tar
