# $Id$ PortSystem 1.0 name ragel version 6.7 categories lang platforms darwin maintainers mww license GPL description ragel is a state machine compiler long_description Ragel compiles finite state machines from regular \ languages into runnable C/C++ code. Ragel state \ machines can not only recognize byte sequences as \ regular expression machines do, but can also execute \ code at arbitrary points in the recognition of a \ regular language. homepage http://www.complang.org/ragel/ master_sites ${homepage} checksums md5 f4423e0d8a6538dd4e61498fcfad3cec \ sha1 bf12b634f5a25e5ba305edfee59a455069ed3b0a \ rmd160 003a29121bd44cdcdddd0721524fe90cf421c05d depends_build port:bison if {${configure.compiler} == "clang"} { configure.compiler llvm-gcc-4.2 } post-build { system -W ${worksrcpath}/doc "${build.cmd} ragel.1" } test.run yes test.dir ${worksrcpath}/test test.target destroot.destdir prefix=${destroot}${prefix} post-destroot { xinstall -m 644 ${worksrcpath}/doc/ragel.1 \ ${destroot}${prefix}/share/man/man1 xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} COPYING CREDITS ChangeLog README TODO \ ${destroot}${prefix}/share/doc/${name} } livecheck.type regex livecheck.url ${homepage} livecheck.regex {ragel-(\d+(?:\.\d+)*).tar.gz}