PortSystem 1.0
PortGroup           github 1.0

github.setup        flok99 truncate 0.9
revision            0
checksums           rmd160  c44a7cce2abb8514df719cefa247fb868f9e335a \
                    sha256  5b173282c7ca61cf62e0217da4c88e9e19fa64d10e4cc311eaaf4d2a90d838a7 \
                    size    14639

categories		sysutils
platforms		darwin
maintainers		nomaintainer
license             AGPL-3

description		truncates a file to a given size
long_description	${description}

homepage            https://www.vanheusden.com/truncate/

patchfiles          truncate.1.patch

use_configure	no

variant universal {}

build.args          CC="${configure.cc} [get_canonical_archflags cc]"

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