version ${major_version}.${minor_version}
description Purdue Compiler-Construction Tool Set (parser-generator)
The Purdue Compiler-Compiler Tool Set (PCCTS) is a set of public \
domain software tools designed to facilitate the implementation of \
compilers and other translation systems. These tools currently \
include antlr, dlg and support code. In many ways, PCCTS is similar \
to a highly integrated version of YACC and LEX\; where antlr (ANother \
Tool for Language Recognition) corresponds to YACC and dlg (DFA-based \
Lexical analyzer Generator) functions like LEX. However, PCCTS has \
many additional features which make it easier to use for a wider range \
homepage http://www.polhode.com/pccts.html
master_sites http://www.polhode.com
distname ${name}${major_version}${minor_version}mr
checksums sha1 5b3417efd5f537434b568114bcda853b4975d851
reinplace "s|#COPT=-O2|COPT=-DPCCTS_USE_STDARG -O2|g" \
"${workpath}/${worksrcdir}/makefile"
build.args-append CC="${configure.cc} ${configure.universal_cflags}"
xinstall -m 755 ${worksrcpath}/bin/antlr ${destroot}${prefix}/bin
xinstall -m 755 ${worksrcpath}/bin/dlg ${destroot}${prefix}/bin
xinstall -m 755 ${worksrcpath}/bin/genmk ${destroot}${prefix}/bin
xinstall -m 755 ${worksrcpath}/bin/sor ${destroot}${prefix}/bin
xinstall -m 644 ${worksrcpath}/dlg/dlg.1 \
${destroot}${prefix}/share/man/man1
xinstall -m 644 ${worksrcpath}/antlr/antlr.1 \
${destroot}${prefix}/share/man/man1
xinstall -d ${destroot}${prefix}/include/${name}
xinstall -m 644 -v -W ${worksrcpath}/h \