SUMMARY="Compiles executable finite state machines from regular languages" DESCRIPTION="Ragel compiles executable finite state machines from regular \ languages. Ragel targets C, C++, Objective-C, C#, D, Java, Ruby, OCaml and Go. 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. Code embedding is done using inline operators that do not disrupt the regular \ language syntax." HOMEPAGE="https://www.colm.net/open-source/ragel/" COPYRIGHT="2001-2009 Adrian Thurston 2007 Victor Hugo Borja 2011 Josef Goettgens" LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="https://www.colm.net/files/ragel/ragel-$portVersion.tar.gz" CHECKSUM_SHA256="6e07be0fab5ca1d9c2d9e177718a018fc666141f594a5d6e7025658620cf660a" PATCHES="ragel-$portVersion.patch" ARCHITECTURES="x86_gcc2 x86 ?x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" ragel$secondaryArchSuffix = $portVersion cmd:ragel$secondaryArchSuffix = $portVersion " REQUIRES=" haiku$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" cmd:awk cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:make " BUILD() { runConfigure ./configure make } INSTALL() { make install }