source: trunk/dports/lang/ragel/Portfile @ 112655

Last change on this file since 112655 was 112655, checked in by ryandesign@…, 6 years ago

ragel: fix build on Mavericks using upstream patch (#40856; maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 112655 2013-10-28 22:59:15Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                ragel
6version             6.8
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.complang.org/ragel/
20master_sites        ${homepage}
21checksums           md5     1bb39745ac23da449019f9f2cb4b0d01 \
22                    sha1    95cabbcd52bd25d76c588ddf11e1fd242d7cbcc7 \
23                    rmd160  544ef9e770b1ba7d93a1a24d3a19350b82e3aedc
24
25depends_build       port:bison
26
27patchfiles          patch-ragel-javacodegen.cpp.diff
28patch.pre_args      -p1
29
30installs_libs       no
31
32post-build    {
33    system -W ${worksrcpath}/doc "${build.cmd} ragel.1"
34}
35
36test.run            yes
37test.dir            ${worksrcpath}/test
38test.target
39
40destroot.destdir    prefix=${destroot}${prefix}
41post-destroot {
42    xinstall -m 644 ${worksrcpath}/doc/ragel.1 \
43        ${destroot}${prefix}/share/man/man1
44    xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
45    xinstall -m 644 -W ${worksrcpath} COPYING CREDITS ChangeLog README TODO \
46        ${destroot}${prefix}/share/doc/${name}
47}
48
49livecheck.type      regex
50livecheck.url       ${homepage}
51livecheck.regex     {ragel-(\d+(?:\.\d+)*).tar.gz}
52
Note: See TracBrowser for help on using the repository browser.