source: trunk/dports/devel/pcre/Portfile

Last change on this file was 151132, checked in by larryv@…, 12 months ago

pcre2: Update to 10.22

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 151132 2016-08-07 23:31:49Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                pcre
7version             8.39
8subport pcre2 {
9    version         10.22
10}
11categories          devel
12license             BSD
13platforms           darwin freebsd
14maintainers         larryv
15
16description         Perl Compatible Regular Expressions
17long_description    The PCRE library is a set of functions that \
18                    implement regular expression pattern matching \
19                    using the same syntax and semantics as Perl 5. \
20                    PCRE has its own native API, as well as a set of \
21                    wrapper functions that correspond to the POSIX \
22                    regular expression API.
23homepage            http://www.pcre.org
24
25depends_lib         port:bzip2 \
26                    port:libedit \
27                    port:zlib
28
29master_sites        sourceforge:project/pcre/${subport}/${version} \
30                    ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre \
31                    ftp://ftp.fu-berlin.de/unix/misc/pcre \
32                    ftp://ftp.tin.org/pub/libs/pcre
33distname            ${subport}-${version}
34use_bzip2           yes
35
36set rmd160(pcre)    bd3353494b85f184ebe3ba0de55584c3b9e74658
37set sha256(pcre)    b858099f82483031ee02092711689e7245586ada49e534a06e678b8ea9549e8b
38set rmd160(pcre2)   df5b3c6b431fff1a0a933a4ebeb07f209afc0d76
39set sha256(pcre2)   b2b44619f4ac6c50ad74c2865fd56807571392496fae1c9ad7a70993d018f416
40checksums           rmd160  $rmd160(${subport}) \
41                    sha256  $sha256(${subport})
42
43patchfiles          no-darwin-pthread-flag.patch
44
45configure.args      --disable-silent-rules \
46                    --docdir=${prefix}/share/doc/${subport} \
47                    --enable-jit \
48                    --enable-[regsub {\d$} ${subport} &-]16 \
49                    --enable-[regsub {\d$} ${subport} &-]32 \
50                    --enable-${subport}grep-libbz2 \
51                    --enable-${subport}grep-libz \
52                    --enable-${subport}test-libedit
53subport pcre {
54    configure.args-append --enable-unicode-properties
55}
56
57platform darwin 8 {
58    # ticket #18448
59    if {[variant_isset universal]} {
60        configure.ldflags-append -lncurses
61    }
62}
63
64test.run            yes
65test.target         check
66
67livecheck.distname  ${subport}
Note: See TracBrowser for help on using the repository browser.