Changeset 99553


Ignore:
Timestamp:
Nov 9, 2012, 10:19:21 PM (11 years ago)
Author:
hum@…
Message:

re2: update to 20121029; fetch tarball and enable livecheck; install additional documents; fix LDFLAGS for universal build; see #36894.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/re2/Portfile

    r88339 r99553  
    55
    66name                re2
    7 fetch.type          hg
    8 hg.url              https://code.google.com/p/re2/
    9 hg.tag              d49d9934b9aa
    10 version             20111209-${hg.tag}
     7version             20121029
    118categories          devel textproc
    12 platforms           darwin
    139maintainers         hum openmaintainer
    14 license             BSD
    1510
    16 homepage            http://code.google.com/p/re2/
    1711description         an efficient, principled regular expression library
     12
    1813long_description    RE2 is a fast, safe, thread-friendly alternative to \
    1914                    backtracking regular expression engines like those \
    2015                    used in PCRE, Perl, and Python. It is a C++ library.
     16
     17homepage            http://code.google.com/p/re2/
     18platforms           darwin
     19license             BSD
     20
     21master_sites        googlecode
     22checksums           rmd160  9054fcaed53356212f27afc53f49489184356bdf \
     23                    sha256  197f3169e23f18367a8b9148c5d622faf19b72d844b2df2c9ec4475e68492882
     24
     25extract.suffix      .tgz
     26
     27worksrcdir          ${name}
    2128
    2229patchfiles          patch-Makefile.diff
     
    3138
    3239build.args          CXX="${configure.cxx}" \
    33                     CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]"
     40                    CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
     41                    LDFLAGS="${configure.ldflags} [get_canonical_archflags cxx]"
    3442
    3543post-destroot {
    3644    set libpath ${prefix}/lib/libre2.0.dylib
    3745    system "install_name_tool -id ${libpath} ${destroot}${libpath}"
     46    # install additional documents.
     47    set docdir ${prefix}/share/doc/re2
     48    xinstall -d ${destroot}${docdir}
     49    xinstall -m 644 -W ${worksrcpath} \
     50        AUTHORS CONTRIBUTORS LICENSE README doc/syntax.html doc/syntax.txt \
     51        ${destroot}${docdir}
    3852}
    39 
    40 livecheck.type      none
Note: See TracChangeset for help on using the changeset viewer.