diff options
author | reed <reed> | 2010-02-02 16:35:46 +0000 |
---|---|---|
committer | reed <reed> | 2010-02-02 16:35:46 +0000 |
commit | ffc04ac402065ecf6c5da4bab969fd0d3689c83c (patch) | |
tree | def59afc82c9b7c2b6b3c766fe716d8daa333e0e | |
parent | 4775b496e3e5bfa40a3f9070d44850f7d8baba64 (diff) | |
download | pkgsrc-ffc04ac402065ecf6c5da4bab969fd0d3689c83c.tar.gz |
new package: cppcheck
cppcheck is a tool for static C/C++ code analysis intended to
complement the checking of the compiler. It checks for memory
leaks, mismatching allocation-deallocation, buffer overrun, unused
functions, coding style, and much more.
-rw-r--r-- | devel/cppcheck/DESCR | 4 | ||||
-rw-r--r-- | devel/cppcheck/Makefile | 22 | ||||
-rw-r--r-- | devel/cppcheck/PLIST | 2 | ||||
-rw-r--r-- | devel/cppcheck/distinfo | 5 |
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/cppcheck/DESCR b/devel/cppcheck/DESCR new file mode 100644 index 00000000000..10918f56f91 --- /dev/null +++ b/devel/cppcheck/DESCR @@ -0,0 +1,4 @@ +cppcheck is a tool for static C/C++ code analysis intended to +complement the checking of the compiler. It checks for memory +leaks, mismatching allocation-deallocation, buffer overrun, unused +functions, coding style, and much more. diff --git a/devel/cppcheck/Makefile b/devel/cppcheck/Makefile new file mode 100644 index 00000000000..f06df33efcf --- /dev/null +++ b/devel/cppcheck/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/02/02 16:35:46 reed Exp $ +# + +DISTNAME= cppcheck-1.40 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cppcheck/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= reed@reedmedia.net +HOMEPAGE= http://cppcheck.wiki.sourceforge.net/ +COMMENT= Simple syntax checking of C/C++ + +INSTALLATION_DIRS+= bin +PKG_DESTDIR_SUPPORT= user-destdir +USE_LANGUAGES= c++ + +# TODO: manpage is in docbook, needs to be converted + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/cppcheck ${DESTDIR}${PREFIX}/bin/ + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/cppcheck/PLIST b/devel/cppcheck/PLIST new file mode 100644 index 00000000000..6fb49c77182 --- /dev/null +++ b/devel/cppcheck/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/02/02 16:35:46 reed Exp $ +bin/cppcheck diff --git a/devel/cppcheck/distinfo b/devel/cppcheck/distinfo new file mode 100644 index 00000000000..b6f1eac1dff --- /dev/null +++ b/devel/cppcheck/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/02/02 16:35:46 reed Exp $ + +SHA1 (cppcheck-1.40.tar.bz2) = 303045508c6f97178e37c77dfdabc2418cd56bf8 +RMD160 (cppcheck-1.40.tar.bz2) = d6b62bfaca59e717d6fbf79ad435b047aa3cc0c7 +Size (cppcheck-1.40.tar.bz2) = 451838 bytes |