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

Last change on this file since 23747 was 23747, checked in by mww@…, 13 years ago

version 5.20

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 23747 2007-04-08 13:34:04Z mww@macports.org $
2
3PortSystem 1.0
4
5name                    ragel
6version                 5.20
7categories              lang
8platforms               darwin
9maintainers             mww@macports.org
10description             ragel is a state machine compiler
11long_description        Ragel compiles finite state machines from regular \
12                                languages into runnable C/C++ code. Ragel state \
13                                machines can not only recognize byte sequences as \
14                                regular expression machines do, but can also execute \
15                                code at arbitrary points in the recognition of a \
16                                regular language.
17
18homepage                http://www.cs.queensu.ca/~thurston/ragel/
19master_sites    ${homepage}
20checksums               sha1 4204dee576bc55faaac9fcde8719e469c5ae3a25
21#patchfiles             patch-ragel-rlparse.kl patch-ragel-rlparse.cpp \
22#                               patch-redfsm-xmlparse.kl patch-redfsm-xmlparse.cpp
23
24depends_build   port:bison
25
26post-build      {
27        system "cd ${worksrcpath}/doc && ${build.cmd} ragel.1"
28}
29
30test.run                yes
31test.dir                ${worksrcpath}/test
32test.target
33
34destroot.destdir        prefix=${destroot}${prefix}
35post-destroot {
36        xinstall -m 644 ${worksrcpath}/doc/ragel.1 \
37                ${destroot}${prefix}/share/man/man1
38        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
39        xinstall -m 644 -W ${worksrcpath} COPYING CREDITS ChangeLog README TODO \
40                ${destroot}${prefix}/share/doc/${name}
41}
42
43platform darwin 8 {
44        configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
45}
46
Note: See TracBrowser for help on using the repository browser.