Shared-mime-info version 0.51 - How to Download and Install on Mac OS X
Thursday the 2nd of July, 2009

    shared-mime-info  most recent diff


    version 0.51

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


      The shared-mime-info Portfile 41808 2008-11-10 23:41:44Z ryandesign macports.org $

      PortSystem 1.0

      Name: shared-mime-info
      Version: 0.51
      Maintainers: nomaintainer
      Category: devel
      Platform: darwin
      Description: Database of common types.

      Long Description: The core database of common types and the update-mime-database command used to extend it.

      Homepage: http://freedesktop.org/wiki/Software/shared-mime-info
      Master Sites: http://people.freedesktop.org/~hadess/
      use_bzip2 yes

      Checksums: md5 01d72161f7d88123fbccd378871f02f0 sha1 4428b572e6d0fd1d8cf5d2f3eb887d7ab90e151f rmd160 9e0281f3bd9ac44af60833ec6b15af9f58936cc7

      depends_build port:pkgconfig path:bin/perl:perl5 port:p5-xml-parser port:intltool

      configure.env-append INTLTOOL_PERL=${prefix}/bin/perl

      depends_lib port:gettext path:lib/pkgconfig/glib-2.0.pc:glib2 port:libiconv port:libxml2 port:zlib

      configure.args --disable-update-mimedb

      post-activate {
      ui_debug "Updating MIME database..."
      system "${prefix}/bin/update-mime-database -V ${prefix}/share/mime"
      }

      livecheck.check regex
      livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)

    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/shared-mime-info
      % sudo port install shared-mime-info
      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 shared-mime-info
      ---> Verifying checksum for shared-mime-info
      ---> Extracting shared-mime-info
      ---> Configuring shared-mime-info
      ---> Building shared-mime-info with target all
      ---> Staging shared-mime-info into destroot
      ---> Installing shared-mime-info
    - 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 shared-mime-info with these commands:
      %  man shared-mime-info
      % apropos shared-mime-info
      % which shared-mime-info
      % locate shared-mime-info

     Where to find more information:

    Darwin Ports



    Lightbox this page.