# $Id: Portfile 25631 2007-05-27 10:55:28Z pipping@macports.org $ PortSystem 1.0 name file version 4.21 categories sysutils maintainers pipping@macports.org openmaintainer@macports.org 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. homepage ftp://ftp.astron.com/pub/file/ platforms darwin master_sites ftp://ftp.fu-berlin.de/unix/tools/file/ \ ftp://ftp.astron.com/pub/file/ \ ftp://ftp.gw.com/mirrors/pub/unix/file/ checksums md5 9e3503116f4269a1be70220ee2234b0e \ sha1 4a919572fed1896212c2d7f41f841845efc1287a \ rmd160 c8cfee27ba7a033bae355e458921eac39913b1e0 configure.args --mandir=${prefix}/share/man \ --enable-fsect-man5 \ --program-prefix=g depends_lib port:zlib variant with_default_names { post-destroot { foreach d {bin share/man/man1 share/man/man3 share/man/man5} { cd ${destroot}${prefix}/$d foreach a [glob g*] { regexp g(.+) $a dummy b file link -hard $b g$b } } } }