---
name: cparser
version: 0.9.14
origin: lang/cparser
comment: A C99 compiler using libFIRM as backend
arch: freebsd:10:x86:64
www: http://sourceforge.net/projects/cparser/
maintainer: sperber@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses:
- GPLv2
flatsize: 551226
desc: |
  cparser is a recursive descent C99 parser written in C99. It contains lexer,
  parser, constructs an AST and does semantic analysis. It is currently used as
  a frontend to the libFirm intermediate representation, but can be used
  independently. cparser is able to bootstrap itself. It currently uses an
  external preprocessor.

  * fast recursive descent parser, parses C90 and C99
  * handles most GCC extensions, e.g. __attribute__, inline assembler,
    computed goto, statement expressions
  * handles some MSVC extensions (like declspec)
  * provides many useful warnings
    * format string checker for char and wchar_t
    * unreachable code analysis
    * missing return statement check, which pinpoints exact location(s)
    * write-only/-self variables detection
    * missing and redundant forward declarations
    * most warnings switches, which are available for GCC
  * provides concise messages in case of error, for example when encountering
    misspelled typenames
  * compiler driver compatible with GCC (-fxxx, -Wxxx, -M, ...)
  * uses libFIRM for optimization and code generation (devel/libfirm)

  WWW: http://sourceforge.net/projects/cparser/
deps:
  libfirm: {origin: devel/libfirm, version: 1.21.0}
categories:
- lang
- devel
shlibs_required:
- libfirm.so.1
options: {DEBUG: off}
files:
  /usr/local/bin/cparser: 07396bed3e5b08c8859498c45358bd29c85e850c3ae80c1466842fd8089276ed
  /usr/local/man/man1/cparser.1.gz: 5362f532ecbcec85a3fb9bc48282ee4727206ee51ebebf214171cdeaf1884eec
  /usr/local/share/licenses/cparser-0.9.14/GPLv2: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643
  /usr/local/share/licenses/cparser-0.9.14/LICENSE: 7e1394d03c5f275a402fe721ff1d1349449ea8602b52af954c76463afcdb6ef7
  /usr/local/share/licenses/cparser-0.9.14/catalog.mk: 0921755817147c3abb18f544f7be4dfb1bb2386195c20d6ca35ca12e048e85b3
directories:
  /usr/local/share/licenses/cparser-0.9.14/: n
  /usr/local/share/licenses/: y
scripts:
  post-install: |
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
  post-deinstall: |
    cd /usr/local
