Changeset 147955 for trunk


Ignore:
Timestamp:
Apr 21, 2016, 3:46:30 AM (4 years ago)
Author:
khindenburg@…
Message:

fop: add subport fop2 (2.1) since there are so many ports that depend on

port:fop and there are a number of significant changes in 2.x #47977

File:
1 edited

Legend:

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

    r125544 r147955  
    2929# to the directory structure within the archive, since it isolates FOP and its
    3030# libraries from conflicts with other versions.
     31
     32if {${name} eq ${subport}} {
     33    conflicts       ${name}2
     34
     35    checksums       md5     8b6f4747482d77449fd4c30df129a507 \
     36                    sha1    6b96c3f3fd5efe9f2b6b54bfa96161ec3f6a1dbc \
     37                    rmd160  fdeee43b73f0b005738661bb9b86d9f9a4434f63
     38
     39    patchfiles      java_home.patch
     40
     41    livecheck.type  none
     42}
     43
     44# It may be possible to install both versions just by changing subport fop2's
     45# bin/fop to bin/fop2
     46subport ${name}2 {
     47    conflicts       ${name}
     48    version         2.1
     49
     50    checksums       rmd160  0b261f214c2d841147f84a76ce14c78d473d1b59 \
     51                    sha256  a93b59aa4d0b6d573c9090d8f21dee6c7d0c449a4bd2d48a1723e233dfb423ea
     52
     53    livecheck.type  regex
     54    livecheck.url   http://www.apache.org/dist/xmlgraphics/fop/binaries/
     55    livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)-bin${extract.suffix}"
     56}
     57
    3158distname            ${name}-${version}-bin
    3259master_sites        apache:xmlgraphics/fop/binaries/
    33 checksums           md5     8b6f4747482d77449fd4c30df129a507 \
    34                     sha1    6b96c3f3fd5efe9f2b6b54bfa96161ec3f6a1dbc \
    35                     rmd160  fdeee43b73f0b005738661bb9b86d9f9a4434f63
     60
    3661worksrcdir          ${name}-${version}
    37 
    38 livecheck.regex     {(?i)<title>Apache FOP (.*)</title>}
    39 
    40 patchfiles          java_home.patch
    4162
    4263use_configure       no
     
    84105#    build.target        all javadocs
    85106#}
    86 
    87 livecheck.type  regex
    88 livecheck.url   http://www.apache.org/dist/xmlgraphics/fop/binaries/
    89 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)-bin${extract.suffix}"
Note: See TracChangeset for help on using the changeset viewer.