Fop version 0.95 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 0.95

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


      The fop Portfile 59726 2009-10-21 01:45:30Z boeyms macports.org $

      PortSystem 1.0

      Name: fop
      Version: 0.95
      Category: textproc java
      Maintainers: boeyms openmaintainer
      Platform: darwin
      Description: Apache FOP Java XSL-FO Print Formatter
      Long Description: Apache FOP is the world's first print formatter driven by XSL formatting objects. It is a Java application that reads a formatting object tree conforming to the XSL 1.0 Recommendation (15 October 2001) and then turns it into a PDF document, certain other output formats or allows you to preview it directly on screen. Some parts of the XSL 1.1 specification (work in progress!) have also been implemented.
      Homepage: http://xmlgraphics.apache.org/fop/

      # Apache recommends at present that FOP be linked to FOP-specific versions of
      # the Java libraries that it depends on (which are distributed with FOP), as
      # both it and some of those libraries are undergoing a lot of changes, and they
      # do not guarantee that FOP will work with any other versions. We therefore
      # might as well only use the binary distribution, unless anyone else comes up
      # with a compelling reason to change this. For the same reason, we also stick
      # to the directory structure within the archive, since it isolates FOP and its
      # libraries from conflicts with other versions.
      distname ${name}-${version}-bin
      Master Sites: apache:xmlgraphics/fop/binaries/
      Checksums: md5 7af50bf58924dd22d71d22d8ad90b268 sha1 4d59d4a4b6704965cab87cfdb4b49e0d86b7837f rmd160 40fa6dd0ca7fcb8037d432fd069ca025c891ac57
      worksrcdir ${name}-${version}

      use_configure no
      build {}
      pre-destroot {
      delete ${worksrcpath}/fop.bat
      }
      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java/fop/${version}
      set foppaths [glob ${worksrcpath}/*]
      foreach foppath ${foppaths} {
      copy $foppath ${destroot}${prefix}/share/java/fop/${version}
      }
      ln -fs ${prefix}/share/java/fop/${version}/fop ${destroot}${prefix}/bin/fop
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/fop/${version}
      foreach fopdoc {KEYS LICENSE README NOTICE status.xml} {
      ln -fs ${prefix}/share/java/fop/${version}/${fopdoc} ${destroot}${prefix}/share/doc/fop/${version}/${fopdoc}
      }
      foreach docdir {docs javadocs} {
      ln -fs ${prefix}/share/java/fop/${version}/${docdir} ${destroot}${prefix}/share/doc/fop/${version}/${docdir}
      }
      }

      # Skeleton of a source variant, despite the comments above, just in case it
      # proves useful to have one in the future :-)
      #
      #variant source description {Build FOP from source instead} {
      # distname ${name}-${version}-src
      # master_sites apache:xmlgraphics/fop/source/
      # checksums md5 184c578a6269a8287ed150e0fc12868d # sha1 3efc0020fdbf14a12851acf6020ea723aebe2af6 # rmd160 c047f7512a08120cfed07536c0849b2a999e96d4
      #
      # depends_build bin:ant:apache-ant
      # build.env-append JAVA_HOME=/Library/Java/Home
      # build.cmd ant
      # # Re-building local docs requires forrest, for which we don't yet have a
      # # port.
      # #build.target all docs javadocs
      # build.target all javadocs
      #}

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.