# $Id$

PortSystem 1.0

name			nettee
version			0.1.6
categories		net
license			GPL-2
platforms		darwin
maintainers		nomaintainer
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 -W ${worksrcpath} "${configure.cc} ${configure.cflags} ${configure.cc_archflags} -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
}