Changeset 147961 for trunk


Ignore:
Timestamp:
Apr 21, 2016, 12:50:14 PM (4 years ago)
Author:
khindenburg@…
Message:

fop-0.20: obsolete extremely old version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/fop-0.20/Portfile

    r86786 r147961  
    22
    33PortSystem 1.0
    4 
     4replaced_by         fop2
     5PortGroup           obsolete 1.0
    56name                fop-0.20
    67version             0.20.5
     8revision            1
    79categories          textproc java
    8 maintainers         nomaintainer
    9 platforms           darwin
    10 description         Apache FOP Java XSL-FO Print Formatter, 0.20 branch
    11 long_description \
    12     FOP is the world's first print formatter driven by XSL formatting \
    13     objects. It is a Java application that reads a formatting object \
    14     tree conforming to the XSL-FO Version 1.0 W3C Recommendation and \
    15     then turns it into a PDF document or allows you to preview it \
    16     directly on screen.  This release is from the old 0.20 branch.
    17 homepage            http://xmlgraphics.apache.org/fop/${version}/
    18 
    19 # Apache recommended that this version of FOP be linked to FOP-specific versions
    20 # of the Java libraries that it depends on (which are distributed with FOP), and
    21 # they do not guarantee that FOP will work with any other versions.  Since this
    22 # version of FOP and the dependencies it uses are now significantly older than
    23 # the latest versions, we might as well only use the binary distribution (unless
    24 # anyone else comes up with a compelling reason to change this).  For the same
    25 # reason, we also stick to the directory structure within the archive, since it
    26 # isolates FOP and its libraries from conflicts with other versions.
    27 distname            fop-${version}-bin
    28 master_sites        http://archive.apache.org/dist/xmlgraphics/fop/binaries/
    29 checksums           md5 d6b43e3eddf9378536ad8127bc057d41 \
    30                     sha1 ab650c5f253b1a7994776a15bc5e9abc54ff7687 \
    31                     rmd160 59baae8df3642ca671fb4c6528082cf9d0b92f3b
    32 patchfiles          patch-fop.sh.diff patch-xalan.sh.diff
    33 
    34 worksrcdir          fop-${version}
    35 use_configure       no
    36 build               {}
    37 pre-destroot {
    38     delete ${worksrcpath}/fop.bat
    39     delete ${worksrcpath}/xalan.bat
    40 }
    41 destroot    {
    42     xinstall -m 755 -d ${destroot}${prefix}/share/java/fop/${version}
    43     set foppaths [glob ${worksrcpath}/*]
    44     foreach foppath ${foppaths} {
    45         copy ${foppath} ${destroot}${prefix}/share/java/fop/${version}
    46     }
    47     foreach fopbin {fop xalan} {
    48         ln -fs ${prefix}/share/java/fop/${version}/${fopbin}.sh \
    49             ${destroot}${prefix}/bin/${fopbin}.sh
    50     }
    51     xinstall -m 755 -d ${destroot}${prefix}/share/doc/fop/${version}
    52     foreach fopdoc {CHANGES KEYS LICENSE README ReleaseNotes.html STATUS} {
    53         ln -fs ${prefix}/share/java/fop/${version}/${fopdoc} \
    54             ${destroot}${prefix}/share/doc/fop/${version}/${fopdoc}
    55     }
    56     ln -fs ${prefix}/share/java/fop/${version}/docs/xslfoRef.pdf \
    57         ${destroot}${prefix}/share/doc/fop/${version}/xslfoRef.pdf
    58     ln -fs ${prefix}/share/java/fop/${version}/build/site \
    59         ${destroot}${prefix}/share/doc/fop/${version}/site
    60 }
Note: See TracChangeset for help on using the changeset viewer.