# $Id: Portfile 30254 2007-10-23 02:22:51Z jmpp@macports.org $

PortSystem 1.0

name			truncate
version			0.5
categories		sysutils
platforms		darwin
maintainers		nomaintainer
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
}
