[26194] trunk/dports/textproc

source_changes at macosforge.org source_changes at macosforge.org
Fri Jun 15 11:41:51 PDT 2007


Revision: 26194
          http://trac.macosforge.org/projects/macports/changeset/26194
Author:   boeyms at macports.org
Date:     2007-06-15 11:41:50 -0700 (Fri, 15 Jun 2007)

Log Message:
-----------
textproc/fop:
 * Add new port.

Added Paths:
-----------
    trunk/dports/textproc/fop/
    trunk/dports/textproc/fop/Portfile

Added: trunk/dports/textproc/fop/Portfile
===================================================================
--- trunk/dports/textproc/fop/Portfile	                        (rev 0)
+++ trunk/dports/textproc/fop/Portfile	2007-06-15 18:41:50 UTC (rev 26194)
@@ -0,0 +1,77 @@
+# $Id$
+
+PortSystem 1.0
+
+name                fop
+version             0.93
+categories          textproc java
+maintainers         boeyms at macports.org openmaintainer at macports.org
+platforms           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-jdk1.4
+master_sites        apache:xmlgraphics/fop/binaries/
+checksums           md5 69696c6ca0095e35719d9282db44fe48 \
+                    sha1 ccb2f9ee1ccd41eac5231ad0d36e6f5ec14f62a3 \
+                    rmd160 f69f0149c7f69093933dcbd04f34e766ca7168ab
+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
+#}


Property changes on: trunk/dports/textproc/fop/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070615/3b63b6fe/attachment.html


More information about the macports-changes mailing list