File version 5.03 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 5.03

      View the most recent changes for the file port at: file.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for file.
      The raw portfile for file 5.03 is located here:
      http://file.darwinports.com/dports/sysutils/file/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/file


      # -*- 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
      The file Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: file
      Version: 5.03
      Category: sysutils
      Maintainers: jay.fm:jay-macports openmaintainer
      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/
      Platform: darwin
      Master Sites: ftp://ftp.fu-berlin.de/unix/tools/${name}/ ftp://ftp.astron.com/pub/${name}/ ftp://ftp.gw.com/mirrors/pub/unix/${name}/
      Checksums: md5 d05f08a53e5c2f51f8ee6a4758c0cc53 sha1 f659a4e1fa96fbdc99c924ea8e2dc07319f046c1 rmd160 bf9fcf85e40dc4ec9cdcdc806107dc88207c6e5b

      Patch Files: patch-magic-Magdir-msdos.diff

      configure.args --mandir=${prefix}/share/man --enable-fsect-man5
      depends_lib port:zlib

      universal_variant no

      Variant: with_text_magic_file description (also install the plain-text magic file} {
      patchfiles-append patch-magic-Makefile.in.diff
      }

      livecheck.type md5
      livecheck.url ftp://ftp.fu-berlin.de/unix/tools/${name}/
      livecheck.md5 a2918bbcee8b1ca0225c5358f1801fdb

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/file
      % sudo port install file
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching file
      ---> Verifying checksum for file
      ---> Extracting file
      ---> Configuring file
      ---> Building file with target all
      ---> Staging file into destroot
      ---> Installing file
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using file with these commands:
      %  man file
      % apropos file
      % which file
      % locate file

     Where to find more information:

    Darwin Ports



    Lightbox this page.