# $Id: Portfile,v 1.1 2005/02/18 09:32:55 toby Exp $

PortSystem 1.0
name             insub
version          9.8
categories       irc
maintainers      toby@opendarwin.org
description      extra cowsay cows and irssi script
long_description \
	Handy tools for being obnoxious on IRC. Warning: \
	some of the cows are potentially offensive.
homepage         http://gruntle.org/projects/irssi/insub/
platforms        darwin
master_sites     ${homepage}
use_bzip2        yes
checksums        md5 0e5adddaf68e3ac4ef0bae166d254ffc

configure        {}
build            {}

destroot {
	xinstall -d ${destroot}${prefix}/share/irssi/scripts
	xinstall -m 444 ${worksrcpath}/insub.pl \
		${destroot}${prefix}/share/irssi/scripts

	xinstall -d ${destroot}${prefix}/share/doc/insub
	xinstall -m 444 ${worksrcpath}/ChangeLog ${worksrcpath}/README \
		${destroot}${prefix}/share/doc/insub

	xinstall -d ${destroot}${prefix}/share/cowsay/cows
	foreach cow [glob -directory ${worksrcpath}/cows *.cow] {
		xinstall -m 444 ${cow} ${destroot}${prefix}/share/cowsay/cows
	}
}
