1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup LightboxTech liblightgrep 1.2.1 v |
---|
8 | categories devel |
---|
9 | platforms darwin |
---|
10 | maintainers gmail.com:jessekornblum |
---|
11 | license GPL-3 |
---|
12 | |
---|
13 | description Search for regular expressions as defined in Unicode \ |
---|
14 | Technical Standard 18 |
---|
15 | |
---|
16 | long_description ${description}, http://www.unicode.org/reports/tr18/ |
---|
17 | |
---|
18 | checksums rmd160 3beb47cea9fa67534e75955ab6f7ede597c3730a \ |
---|
19 | sha256 febbe43daee379b1101174d9f779e5826ab4e8c55909ce65f03e321ab2ec9c0b |
---|
20 | |
---|
21 | homepage http://www.lightboxtechnologies.com/lightgrep-engine/ |
---|
22 | |
---|
23 | depends_build port:automake \ |
---|
24 | port:autoconf \ |
---|
25 | port:bison \ |
---|
26 | port:boost \ |
---|
27 | port:coreutils \ |
---|
28 | port:libtool |
---|
29 | |
---|
30 | depends_lib port:icu |
---|
31 | |
---|
32 | patchfiles patch-configure.ac.diff \ |
---|
33 | patch-m4-ax_boost_system.m4.diff \ |
---|
34 | patch-m4-lg_remove_flags.m4.diff \ |
---|
35 | patch-m4-lg_replace_flags.m4.diff |
---|
36 | |
---|
37 | pre-configure { |
---|
38 | system -W ${worksrcpath} "sh bootstrap.sh" |
---|
39 | } |
---|
40 | |
---|
41 | configure.args --with-icu=${prefix}/bin |
---|
42 | |
---|
43 | # Requires C++11 |
---|
44 | compiler.blacklist-append \ |
---|
45 | apple-gcc-4.0 \ |
---|
46 | apple-gcc-4.2 \ |
---|
47 | gcc-3.3 \ |
---|
48 | gcc-4.0 \ |
---|
49 | gcc-4.2 \ |
---|
50 | llvm-gcc-4.2 \ |
---|
51 | macports-clang-2.9 \ |
---|
52 | macports-clang-3.0 \ |
---|
53 | macports-gcc-4.3 \ |
---|
54 | macports-gcc-4.4 \ |
---|
55 | macports-gcc-4.5 \ |
---|
56 | macports-llvm-gcc-4.2 |
---|
57 | |
---|
58 | # error: non-constant-expression cannot be narrowed from type 'char' to 'bool' in initializer list [-Wc++11-narrowing] |
---|
59 | # https://github.com/jonstewart/liblightgrep/issues/4 |
---|
60 | compiler.blacklist-append \ |
---|
61 | macports-clang-3.3 \ |
---|
62 | macports-clang-3.4 |
---|