source: trunk/dports/devel/pcre2/Portfile @ 144260

Last change on this file since 144260 was 144260, checked in by dstrubbe@…, 3 years ago

multiple: Set missing svn:keywords property.

  • Property svn:keywords set to Id
File size: 2.0 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 144260 2016-01-05 18:27:38Z dstrubbe@macports.org $
3
4PortSystem          1.0
5
6name                pcre2
7version             10.20
8categories          devel
9license             BSD
10platforms           darwin freebsd
11maintainers         nomaintainer
12
13description         Perl Compatible Regular Expressions Library
14long_description    The PCRE library is a set of functions that \
15                    implement regular expression pattern matching \
16                    using the same syntax and semantics as Perl 5. \
17                    PCRE has its own native API, as well as a set of \
18                    wrapper functions that correspond to the POSIX \
19                    regular expression API.
20homepage            http://www.pcre.org/
21
22depends_lib         port:bzip2 \
23                    port:libedit \
24                    port:zlib
25
26master_sites        sourceforge:project/pcre/pcre2/${version} \
27                    ftp://ftp.fu-berlin.de/unix/misc/pcre/ \
28                    ftp://ftp.tin.org/pub/libs/pcre/ \
29                    ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
30use_bzip2           yes
31checksums           rmd160  11084c0047df0768299039f620ec408fa04a0a89 \
32                    sha256  332e287101c9e9567d1ed55391b338b32f1f72c5b5ee7cc81ef2274a53ad487a
33
34patchfiles          no-darwin-pthread-flag.patch
35
36configure.args      --disable-silent-rules \
37                    --docdir=${prefix}/share/doc/${name} \
38                    --enable-jit \
39                    --enable-pcre2-16 \
40                    --enable-pcre2-32 \
41                    --enable-pcre2grep-libbz2 \
42                    --enable-pcre2grep-libz \
43                    --enable-pcre2test-libedit \
44                    --enable-unicode-properties
45
46platform darwin 8 {
47    # ticket #18448
48    if {[variant_isset universal]} {
49        configure.ldflags-append -lncurses
50    }
51}
52
53test.run            yes
54
55livecheck.regex     /pcre2/(\[a-zA-Z0-9.\]+\\.\[a-zA-Z0-9.\]+)/
Note: See TracBrowser for help on using the repository browser.