source: trunk/dports/devel/flex/Portfile

Last change on this file was 142999, checked in by ryandesign@…, 2 years ago

flex: update to 2.6.0 (#46378) and fix configure failure when nawk is installed but gawk is not

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 142999 2015-12-01 14:22:44Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                flex
6version             2.6.0
7categories          devel
8license             BSD
9platforms           darwin
10maintainers         mww
11description         Fast lexical analyser generator
12long_description    \
13    Flex is a tool for generating programs that require pattern-matching on \
14    text. It is usually used together with yacc/bison to automatically \
15    generate a parser for a language grammar, e.g. the syntax of a \
16    configuration file.
17
18homepage            http://flex.sourceforge.net/
19master_sites        sourceforge:project/flex
20use_bzip2           yes
21
22checksums           rmd160  9918907286548c468106d4aa920d633908832633 \
23                    sha256  24e611ef5a4703a191012f80c1027dc9d12555183ce0ecd46f3636e587e9b8e9
24
25depends_lib         port:gettext \
26                    port:m4
27
28installs_libs       yes
29
30configure.args      ac_cv_prog_AWK=/usr/bin/awk
31
32use_parallel_build  yes
33
34test.run            yes
35test.target         check
36
37post-destroot {
38    ln -sf flex ${destroot}${prefix}/bin/flex++
39}
40
41livecheck.type      regex
42livecheck.url       http://sourceforge.net/projects/flex/files/
43livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.