---
name: cppcheck
version: 1.61_1
origin: devel/cppcheck
comment: Static analysis of C/C++ code
arch: freebsd:9:x86:64
www: http://sourceforge.net/projects/cppcheck
maintainer: bf@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses:
- GPLv3
flatsize: 2922661
desc: |
  Cppcheck is a tool for static C/C++ code analysis, and it tries to
  detect bugs that your compiler do not see.  Checks for: memory leaks,
  mismatching allocation-deallocation, buffer overrun, and many more.

  Cppcheck is versatile.  You can check non-standard code that includes
  various compiler extensions, inline assembly code, etc.

  The goal is no false positives.

  WWW: http://sourceforge.net/projects/cppcheck
deps:
  tinyxml2: {origin: textproc/tinyxml2, version: 20130805}
  pcre: {origin: devel/pcre, version: 8.33}
categories:
- devel
shlibs_required:
- libtinyxml2.so.1
- libpcre.so.3
options: {RULES: on, MATCHCOMPILER: on}
files:
  /usr/local/bin/cppcheck: afc1f9d2e929046f21fb92910900cf0cf80ae14b7244da09b5a4e9624c5149ef
  /usr/local/man/man1/cppcheck.1.gz: 60109f3b87e6938c919ef3bdd62ac5796e947c609f6bf097655c3717bf023fa0
  /usr/local/share/licenses/cppcheck-1.61_1/GPLv3: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903
  /usr/local/share/licenses/cppcheck-1.61_1/LICENSE: feb018c22cc4001bbeccc04db5569c5aeaec18f1ebbee51a52d56c251418e243
  /usr/local/share/licenses/cppcheck-1.61_1/catalog.mk: 884fd52a384b45c4439f599220293f54552a1dbb267cb471386aaa8f1ecff025
directories:
  /usr/local/share/licenses/cppcheck-1.61_1/: n
  /usr/local/share/licenses/: y
scripts:
  post-install: |
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
  post-deinstall: |
    cd /usr/local
