Shared-mime-info version 0.70 - How to Download and Install on Mac OS X
Thursday the 9th of September, 2010

    shared-mime-info  most recent diff


    version 0.70

      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.70 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


      # -*- 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 shared-mime-info Portfile 58932 2009-10-07 15:17:34Z devans macports.org $

      PortSystem 1.0

      Name: shared-mime-info
      Version: 0.70
      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 9032d98f14b8e13e0fea4bf45ca23401 sha1 7c3b50f9c68a58760ec9cf020b24a05f98f3edb7 rmd160 7511c56ef39144011b6e0ca78eb95436616c3dc6

      depends_build port:pkgconfig port:p5-xml-parser port:intltool

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

      depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 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.type 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.