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

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

version 5.18

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 22120 2007-02-18 00:42:28Z mww@macports.org $
2
3PortSystem 1.0
4
5name                    ragel
6version                 5.18
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 1c24e26486665817b8ebcf84ab66b92e270313c8
21
22depends_build   port:bison
23
24post-build      {
25        system "cd ${worksrcpath}/doc && ${build.cmd} ragel.1"
26}
27
28test.run                yes
29test.dir                ${worksrcpath}/test
30test.target
31
32destroot.destdir        PREFIX=${destroot}${prefix}
33post-destroot {
34        xinstall -m 644 ${worksrcpath}/doc/ragel.1 \
35                ${destroot}${prefix}/share/man/man1
36        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
37        xinstall -m 644 -W ${worksrcpath} COPYING CREDITS ChangeLog README TODO \
38                ${destroot}${prefix}/share/doc/${name}
39}
40
41platform darwin 8 {
42        configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
43}
44
Note: See TracBrowser for help on using the repository browser.