source: trunk/dports/lang/ragel/Portfile

Last change on this file was 131352, checked in by mww@…, 3 years ago

ragel: version 6.9

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 131352 2015-01-10 11:23:34Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                ragel
6version             6.9
7categories          lang
8platforms           darwin
9maintainers         mww
10license             GPL-2
11description         ragel is a state machine compiler
12long_description    Ragel compiles finite state machines from regular \
13                    languages into runnable C/C++ code. Ragel state \
14                    machines can not only recognize byte sequences as \
15                    regular expression machines do, but can also execute \
16                    code at arbitrary points in the recognition of a \
17                    regular language.
18
19homepage            http://www.colm.net/open-source/ragel/
20master_sites        http://www.colm.net/files/ragel/
21checksums           rmd160  67c7b1f39956f9707742201a1a681c164cff84ab \
22                    sha256  6e07be0fab5ca1d9c2d9e177718a018fc666141f594a5d6e7025658620cf660a
23
24depends_build       port:bison
25
26installs_libs       no
27
28post-build    {
29    system -W ${worksrcpath}/doc "${build.cmd} ragel.1"
30}
31
32test.run            yes
33test.dir            ${worksrcpath}/test
34test.target
35
36destroot.destdir    prefix=${destroot}${prefix}
37post-destroot {
38    xinstall -m 644 ${worksrcpath}/doc/ragel.1 \
39        ${destroot}${prefix}/share/man/man1
40    xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
41    xinstall -m 644 -W ${worksrcpath} COPYING CREDITS ChangeLog README TODO \
42        ${destroot}${prefix}/share/doc/${name}
43}
44
45livecheck.type      regex
46livecheck.url       ${homepage}
47livecheck.regex     {ragel-(\d+(?:\.\d+)*).tar.gz}
48
Note: See TracBrowser for help on using the repository browser.