a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0
name truncate
version 0.5
categories sysutils
platforms darwin
maintainers nomaintainer@macports.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
}