Ticket #12638: apr-1.2.11.diff

File apr-1.2.11.diff, 1.7 KB (added by nox@…, 17 years ago)
  • Portfile

     
    22
    33PortSystem      1.0
    44name            apr
    5 version         1.2.9
     5version         1.2.11
    66categories      devel
    77maintainers     dluke@geeklair.net
    88description     The apache group's portability library
     
    1414
    1515homepage        http://apr.apache.org/
    1616master_sites    apache:apr
    17 
    1817use_bzip2       yes
    19 checksums       md5 86a5a7d0f8807b97645956a2b4ed6f14
     18
     19checksums       md5 22ede19520beb37dc17e62592b06a59c \
     20                        sha1 75493731277deb1fb41e7d2fe0c22540e8d8ede7 \
     21                        rmd160 27a90a0c51d8f67be74363ca26caee294dd94768
    2022
    2123configure.env   ac_cv_prog_AWK=awk
    2224configure.args  --with-installbuilddir=${prefix}/share/apr-1/build
     
    2527test.target     check
    2628test.env        DYLD_LIBRARY_PATH=${worksrcpath}/.libs
    2729
     30set docdir  ${prefix}/share/doc/${name}-${version}
     31
     32post-destroot {
     33    xinstall -m 0755 -d ${destroot}${docdir}
     34    xinstall -m 0644 -W ${worksrcpath} CHANGES LICENSE NOTICE ${destroot}${docdir}
     35}
     36
     37variant doc description {Install extra documentation} {
     38    cd ${worksrcpath}/docs
     39
     40        post-destroot {
     41        xinstall -m 0644 incomplete_types non_apr_programs ${destroot}${docdir}
     42
     43        xinstall -m 0755 -d ${destroot}${docdir}/html
     44        xinstall -m 0644 APRDesign.html canonical_filenames.html pool-design.html \
     45                ${destroot}${docdir}/html
     46        }
     47}
     48
    2849platform darwin 9 {
    2950        post-configure {
    3051                reinplace {s|\(#define APR_HAS_SENDFILE[[:space:]]*\)1|\1 0|} ${worksrcpath}/include/apr.h
     
    3455livecheck.check regex
    3556livecheck.url   http://apache.org/dist/apr/
    3657livecheck.regex {<a href="#apr">APR (\d+(?:\.\d+)*) is the latest available version</a>}
     58