# $Id: Portfile,v 1.1 2004/08/30 18:24:58 mww Exp $

PortSystem 1.0

name			irctree
version			0.10
categories		irc
platforms		darwin
maintainers		mww@opendarwin.org
description		show a tree representing the structure of an IRC network in ASCII
long_description	${description}

homepage		http://www.habets.pp.se/synscan/programs.php?prog=irctree
master_sites	ftp://ftp.habets.pp.se/pub/synscan/
checksums		md5 f1a5340236e98d94606aa549c1650dbc
patchfiles		patch-irctree-parse.pl

depends_run		bin:nc:netcat \
				bin:perl:perl5.8

use_configure	no

build			{}

destroot	{
	xinstall -m 755 -W ${worksrcpath} irctree irctree-getlinks.sh \
		irctree-parse.pl ${destroot}${prefix}/bin
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} LICENSE README \
		${destroot}${prefix}/share/doc/${name}
}
