# $Id: Portfile,v 1.2 2005/07/19 14:19:11 mww Exp $

PortSystem 1.0

name			nettee
version			0.1.6
categories		net
platforms		darwin
maintainers		mww@opendarwin.org
description		nettee is a network tee-style program
long_description	${description}

homepage		http://saf.bio.caltech.edu/nettee.html
master_sites	http://saf.bio.caltech.edu/pub/software/linux_or_unix_tools/
checksums		md5 59e02802cf5ef495eee2645e91113cbf

use_configure	no

build {
	system "cd ${worksrcpath} && gcc -std=c99 -DNOUSLEEP nettee.c -o nettee"
}

destroot {
	xinstall -m 755 ${worksrcpath}/nettee ${destroot}${prefix}/bin
	xinstall -m 644 ${worksrcpath}/nettee.1 ${destroot}${prefix}/share/man/man1
}
