Download and Install libwmf version 0.2.8.4 on Mac OS X
Thursday the 24th of July, 2008

    libwmf  most recent diff


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



      # $Id: Portfile 30230 2007-10-22 23:03:23Z jmpp macports.org $

      PortSystem 1.0
      Name: libwmf
      Version: 0.2.8.4
      Category: graphics
      Maintainers: nomaintainer
      Description: Library for converting WMF (Window Metafile Format) files
      Long Description: libwmf is a library for reading vector images in Microsoft's native Windows Metafile Format (WMF) and for either (a) displaying them in, e.g., an X window, or (b) converting them to more standard/open file formats.

      Platform: darwin

      Homepage: http://wvware.sourceforge.net/libwmf.html
      master_sites sourceforge:wvware

      checksums md5 d1177739bf1ceb07f57421f0cee191e0

      depends_lib lib:libz:zlib lib:libpng:libpng lib:libjpeg:jpeg lib:libfreetype:freetype

      post-patch {
      reinplace "s| LIBWMF_GDK_PIXBUF_TRUE |#|g" ${worksrcpath}/src/Makefile.in
      reinplace "s| LIBWMF_GDK_PIXBUF_FALSE ||g" ${worksrcpath}/src/Makefile.in
      }

      configure.env PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${x11prefix}/lib/pkgconfig"

      configure.args --with-jpeg --without-x

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING CREDITS ChangeLog NEWS README TODO ${destroot}${prefix}/share/doc/${name}
      }

      Variant: expat conflicts xml2 {
      depends_lib-append lib:libexpat:expat
      configure.args-append --with-expat
      }

      Variant: x11 {
      depends_lib-append lib:libX11.6:XFree86
      configure.args-delete --without-x
      configure.args-append --with-x
      }

      Variant: xml2 conflicts expat {
      depends_lib-append lib:libxml2:libxml2
      configure.args-append --with-libxml2
      }


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

     Where to find more information:

    Darwin Ports



    image test