# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
checksums rmd160 e01826cca438ffc467b169a8f4fd760f9843f5fc \
sha256 e9c13967f7dd339a3c241b7710ba093560b9a33013491318e88e6b8b57bae07f \
maintainers {ryandesign @ryandesign} openmaintainer
description File - determine file type
File tests each argument in an attempt to classify it. There are three \
sets of tests, performed in this order: filesystem tests, magic number \
tests, and language tests. The first test that succeeds causes the file \
For information on Mach-O binaries, it is suggested that one uses the command \
homepage http://www.darwinsys.com/file/
ftp://ftp.fu-berlin.de/unix/tools/${name}/ \
ftp://ftp.astron.com/pub/${name}/ \
ftp://ftp.gw.com/mirrors/pub/unix/${name}/
patchfiles patch-magic-Makefile.am.diff \
configure.args --disable-silent-rules \
if {${name} eq ${subport}} {
depends_lib-append port:libmagic
xinstall -W ${worksrcpath}/src/.libs file ${destroot}${prefix}/bin
xinstall -m 0644 -W ${worksrcpath}/doc file.1 ${destroot}${prefix}/share/man/man1
livecheck.url ftp://ftp.astron.com/pub/${name}/
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}
delete ${destroot}${prefix}/bin/file ${destroot}${prefix}/share/man/man1/file.1