# $Id: Portfile,v 1.1 2004/09/24 11:49:20 mww Exp $

PortSystem 1.0

name			truncate
version			0.5
categories		sysutils
platforms		darwin
maintainers		mww@opendarwin.org
description		truncates a file to a given size
long_description	${description}

homepage		http://www.vanheusden.com/Linux/
master_sites	${homepage}
extract.suffix	.tgz
checksums		md5 be7c71dc6a12b9ef7ea69a15955b5142
patchfiles		patch-truncate.c

use_configure	no

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