# -*- 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 # $Id$ PortSystem 1.0 name file version 5.09 categories sysutils license BSD maintainers nomaintainer description File - determine file type long_description \ 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 \ type to be printed. \ Information on Mach-O binaries, it is suggested that one uses the command \ `otool -fv`. homepage http://www.darwinsys.com/file/ platforms darwin master_sites freebsd \ gentoo \ ftp://ftp.fu-berlin.de/unix/tools/${name}/ \ ftp://ftp.astron.com/pub/${name}/ \ ftp://ftp.gw.com/mirrors/pub/unix/${name}/ checksums md5 6fd7cd6c4281e68fe9ec6644ce0fac6f \ sha1 9d905f9e50033c3f5be3728473cbb709a41550fb \ rmd160 296ad61d0b533d9e3bf3e8e7443b377332e158a5 patchfiles patch-magic-Magdir-msdos.diff \ patch-src-readcdf.c.diff configure.args --mandir=${prefix}/share/man \ --enable-fsect-man5 depends_lib port:zlib variant with_text_magic_file description (also install the plain-text magic file} { patchfiles-append patch-magic-Makefile.in.diff } livecheck.type regex livecheck.url ftp://ftp.astron.com/pub/${name}/ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"