Download and Install fontconfig version 2.6.0 on Mac OS X
Friday the 8th of August, 2008

    fontconfig  most recent diff


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



      # $Id: Portfile 37328 2008-06-03 11:58:09Z ryandesign macports.org $

      PortSystem 1.0

      Name: fontconfig
      Version: 2.6.0
      Category: graphics
      Maintainers: ryandesign
      Homepage: http://fontconfig.org/
      Platform: darwin

      Description: An XML-based font configuration API for X Windows

      Long Description: Fontconfig is a library for configuring and customizing font access.

      master_sites ${homepage}release/

      checksums md5 ab54ec1d4ddd836313fdbc0cd5299d6d sha1 93752566b8327485b153bd156049614f779b4c57 rmd160 2fea7fa3fe1757b58ce53c4225b9f8e6ec7507bf

      depends_lib port:libiconv port:expat port:freetype

      set add_fonts ${x11prefix}/lib/X11/fonts
      set docdir ${prefix}/share/doc/${name}-${version}

      configure.args --docdir=${prefix}/share/doc/${name}-${version} --disable-docs

      # We put this into a pre-configure so it can be evaluated _after_ variants selection.
      pre-configure {
      configure.args-append --with-add-fonts=[join ${add_fonts} ,]
      }

      post-destroot {
      xinstall -d ${destroot}${docdir}
      xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README ${destroot}${docdir}
      }

      post-activate {
      system "${prefix}/bin/fc-cache -fv /usr/share/fonts [join ${add_fonts}]"
      }

      Variant: doc description {Install extra documentation} {
      configure.args-delete --disable-docs
      }

      Variant: vera {
      depends_build-append path:${prefix}/share/fonts/Vera.ttf:bitstream-vera

      post-destroot {
      xinstall -m 644 ${prefix}/share/doc/bitstream-vera/local.conf ${destroot}${prefix}/etc/fonts
      }
      }

      platform macosx {
      lappend add_fonts /Library/Fonts /Network/Library/Fonts /System/Library/Fonts ${prefix}/share/fonts
      }

      livecheck.check regex
      livecheck.url ${homepage}release/?C=M&O=D
      livecheck.regex ${name}-(\\d+(?:\\.\\d+)*\\.(?:\\d|\[0-8\]\\d))\\.tar

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

     Where to find more information:

    Darwin Ports



    image test