1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00
freebsd-ports/devel/cppcheck/Makefile
Gabor Pali 12f0981a82 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

Approved by:	tabthorpe
2009-03-06 19:53:54 +00:00

32 lines
682 B
Makefile

# New ports collection makefile for: cppcheck
# Date created: March 3, 2009
# Whom: Gabor Pali <pgj@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= cppcheck
PORTVERSION= 1.29
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= pgj@FreeBSD.org
COMMENT= Static analysis of C/C++ code
BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
MANCOMPRESSED= no
MAN1= cppcheck.1
USE_GMAKE= yes
ALL_TARGET= cppcheck cppcheck.1
PLIST_FILES= bin/cppcheck
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/cppcheck ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/cppcheck.1 ${PREFIX}/man/man1
.include <bsd.port.mk>