Fontforge version 20090622 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    fontforge  most recent diff


    version 20090622

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
      The fontforge Portfile 57453 2009-09-11 08:17:15Z ryandesign macports.org $

      PortSystem 1.0

      Name: fontforge
      Version: 20090622
      set ftversion 2.3.9
      Category: graphics fonts
      Platform: darwin
      Maintainers: nomaintainer
      Description: Outline and bitmap font editor/converter for many formats

      Long Description: FontForge allows you to edit outline and bitmap fonts. You may create new ones or modify old ones. It is also a format converter and can interconvert between PostScript (ascii & binary Type1, some Type3, some Type0), TrueType, OpenType (Type2), CID, SVG. Previously known as pfaedit.

      Homepage: http://fontforge.sourceforge.net/
      Master Sites: sourceforge ${homepage}:cidmaps http://download.savannah.gnu.org/releases/freetype/:freetype sourceforge:freetype:freetype
      distname ${name}_full-${version}
      dist_subdir ${name}/${version}_${revision}
      use_bzip2 yes

      set docdistname ${name}_htdocs-${version}

      distfiles-append cidmaps.tgz:cidmaps [suffix ${docdistname}]

      Patch Files: patch-Makefile.dynamic.in.diff patch-fontforge_start.c.diff patch-gutils_dynamic.c.diff patch-configure.in.diff patch-inc_utype.h.diff

      Checksums: [suffix ${distname}] md5 3f4ff2d2dab200f47595bff38baa13ca sha1 bc638eeeb4cf2d540773bacc52cc6bac1c6ca76f rmd160 ba9983bf667091e0e9b88fcabf865c65ba2debbd cidmaps.tgz md5 063691163e592515b31514515bb3ce8c sha1 efbc7c9d3e95159f5600dc71f9cccb370e46bb94 rmd160 d194355e61813d31fe4813bdf10a62d66a9f6d04 [suffix ${docdistname}] md5 db6003b077e9fe6b9ba1d9f64dbe3569 sha1 657bd8ff73245fb04c765a3ecf2276ea050021ff rmd160 6b8a319a5b2825ffaa5436bed2434403f953b372 [suffix freetype-${ftversion}] md5 d76233108aca9c9606cdbd341562ad9a sha1 db08969cb5053879ff9e973fe6dd2c52c7ea2d4e rmd160 c0351c2a3f43e64d26d2a964b1131a3dbf2fa162

      worksrcdir ${name}-${version}

      extract.only [suffix ${distname}]

      post-extract {
      xinstall -d ${worksrcpath}/cidmap ${worksrcpath}/htdocs

      system "tar xzf ${distpath}/cidmaps.tgz -C ${worksrcpath}/cidmap"
      system "tar xjf ${distpath}/[suffix ${docdistname}] -C ${worksrcpath}/htdocs"
      }

      post-patch {
      reinplace "s| PREFIX |${prefix}|g" ${worksrcpath}/gutils/dynamic.c
      reinplace "/^applicationsdir/s|/Applications|${applications_dir}|" ${worksrcpath}/Makefile.dynamic.in
      }

      depends_lib port:xorg-libXi port:xorg-libxkbui port:xorg-libXt port:freetype port:gettext port:giflib port:jpeg port:libiconv port:libpng port:libuninameslist port:libxml2 port:tiff port:zlib

      use_autoconf yes

      configure.args --mandir=${prefix}/share/man --enable-type3 --enable-devicetables --enable-gb12345 --without-python --without-freetype-bytecode --without-pango --without-cairo --x-includes=${prefix}/include --x-libraries=${prefix}/lib

      use_parallel_build yes

      set docdir ${prefix}/share/doc/${name}-${version}

      destroot.args docdir=${docdir}

      post-destroot {
      xinstall -d ${destroot}${docdir}
      xinstall -m 644 -W ${worksrcpath} AUTHORS INSTALL LICENSE README-Mac.html README-Unix.html README-unix ${destroot}${docdir}
      }

      Variant: with_freetype_bytecode description {Enable support for bytecode interpreter} {
      distfiles-append freetype-${ftversion}${extract.suffix}:freetype
      extract.only-append freetype-${ftversion}${extract.suffix}
      configure.args-delete --without-freetype-bytecode
      configure.args-append --with-freetype-src=${workpath}/freetype-${ftversion}
      }

      livecheck.distname ${name}-source

      universal_variant no

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.