SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
56
devel/cppcheck/Makefile
Normal file
56
devel/cppcheck/Makefile
Normal file
|
@ -0,0 +1,56 @@
|
|||
COMMENT = C/C++ static checker
|
||||
|
||||
DISTNAME = cppcheck-2.9
|
||||
|
||||
CATEGORIES = devel
|
||||
|
||||
HOMEPAGE = http://cppcheck.sourceforge.net/
|
||||
|
||||
MAINTAINER = Gleydson Soares <gsoares@openbsd.org>
|
||||
|
||||
# GPLv3+
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB = c execinfo m pcre ${COMPILER_LIBCXX}
|
||||
|
||||
BUILD_DEPENDS = textproc/docbook-xsl
|
||||
|
||||
LIB_DEPENDS = devel/pcre
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=cppcheck/}
|
||||
|
||||
ALL_TARGET = cppcheck
|
||||
TEST_TARGET = test
|
||||
TEST_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH}
|
||||
|
||||
# -isystem lib before PREFIX/include to avoid picking up header from devel/check
|
||||
MAKE_FLAGS = BIN=${PREFIX}/bin HAVE_RULES=yes \
|
||||
FILESDIR=${PREFIX}/share/cppcheck \
|
||||
CXX="${CXX}" CXXFLAGS="${CXXFLAGS} -std=c++11" \
|
||||
CPPFLAGS="-DTIXML_USE_STL -isystem lib -isystem ${PREFIX}/include" \
|
||||
LDFLAGS="-L${PREFIX}/lib -lpcre -lexecinfo -lpthread"
|
||||
|
||||
MODULES = lang/python
|
||||
|
||||
COMPILER = base-clang ports-gcc
|
||||
MODPY_RUNDEP = No
|
||||
CONFIGURE_STYLE = none
|
||||
|
||||
USE_GMAKE = Yes
|
||||
|
||||
pre-configure:
|
||||
ln -s ${MODPY_BIN} ${WRKDIR}/bin/python
|
||||
|
||||
post-build:
|
||||
cd ${WRKSRC} && \
|
||||
${PREFIX}/bin/xsltproc --novalid --nonet --param man.charmap.use.subset "0" \
|
||||
${PREFIX}/share/xsl/docbook/manpages/docbook.xsl \
|
||||
${WRKSRC}/man/cppcheck.1.xml
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/cppcheck/cfg
|
||||
@cp ${WRKSRC}/cfg/* ${PREFIX}/share/cppcheck/cfg/
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/cppcheck ${PREFIX}/bin/
|
||||
${INSTALL_MAN} ${WRKSRC}/cppcheck.1 ${PREFIX}/man/man1/
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/cppcheck/distinfo
Normal file
2
devel/cppcheck/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (cppcheck-2.9.tar.gz) = Vq7otb35Nqt63Jq0OQO6IFLwiGlcgPBHaCAkoe0O8/M=
|
||||
SIZE (cppcheck-2.9.tar.gz) = 3916529
|
6
devel/cppcheck/pkg/DESCR
Normal file
6
devel/cppcheck/pkg/DESCR
Normal file
|
@ -0,0 +1,6 @@
|
|||
Cppcheck is a command-line tool that tries to detect bugs that your
|
||||
C/C++ compiler doesn't see. It is versatile, and can check non-standard
|
||||
code including various compiler extensions, inline assembly code, etc.
|
||||
Its internal preprocessor can handle includes, macros, and several
|
||||
preprocessor commands. While Cppcheck is highly configurable, you can
|
||||
start using it just by giving it a path to the source code.
|
53
devel/cppcheck/pkg/PLIST
Normal file
53
devel/cppcheck/pkg/PLIST
Normal file
|
@ -0,0 +1,53 @@
|
|||
@bin bin/cppcheck
|
||||
@man man/man1/cppcheck.1
|
||||
share/cppcheck/
|
||||
share/cppcheck/cfg/
|
||||
share/cppcheck/cfg/avr.cfg
|
||||
share/cppcheck/cfg/bento4.cfg
|
||||
share/cppcheck/cfg/boost.cfg
|
||||
share/cppcheck/cfg/bsd.cfg
|
||||
share/cppcheck/cfg/cairo.cfg
|
||||
share/cppcheck/cfg/cppcheck-cfg.rng
|
||||
share/cppcheck/cfg/cppcheck-lib.cfg
|
||||
share/cppcheck/cfg/cppunit.cfg
|
||||
share/cppcheck/cfg/daca.cfg
|
||||
share/cppcheck/cfg/dpdk.cfg
|
||||
share/cppcheck/cfg/embedded_sql.cfg
|
||||
share/cppcheck/cfg/emscripten.cfg
|
||||
share/cppcheck/cfg/ginac.cfg
|
||||
share/cppcheck/cfg/gnu.cfg
|
||||
share/cppcheck/cfg/googletest.cfg
|
||||
share/cppcheck/cfg/gtk.cfg
|
||||
share/cppcheck/cfg/icu.cfg
|
||||
share/cppcheck/cfg/kde.cfg
|
||||
share/cppcheck/cfg/libcerror.cfg
|
||||
share/cppcheck/cfg/libcurl.cfg
|
||||
share/cppcheck/cfg/libsigc++.cfg
|
||||
share/cppcheck/cfg/lua.cfg
|
||||
share/cppcheck/cfg/mfc.cfg
|
||||
share/cppcheck/cfg/microsoft_atl.cfg
|
||||
share/cppcheck/cfg/microsoft_sal.cfg
|
||||
share/cppcheck/cfg/microsoft_unittest.cfg
|
||||
share/cppcheck/cfg/motif.cfg
|
||||
share/cppcheck/cfg/nspr.cfg
|
||||
share/cppcheck/cfg/ntl.cfg
|
||||
share/cppcheck/cfg/opencv2.cfg
|
||||
share/cppcheck/cfg/opengl.cfg
|
||||
share/cppcheck/cfg/openmp.cfg
|
||||
share/cppcheck/cfg/openssl.cfg
|
||||
share/cppcheck/cfg/pcre.cfg
|
||||
share/cppcheck/cfg/posix.cfg
|
||||
share/cppcheck/cfg/python.cfg
|
||||
share/cppcheck/cfg/qt.cfg
|
||||
share/cppcheck/cfg/ruby.cfg
|
||||
share/cppcheck/cfg/sdl.cfg
|
||||
share/cppcheck/cfg/sfml.cfg
|
||||
share/cppcheck/cfg/sqlite3.cfg
|
||||
share/cppcheck/cfg/std.cfg
|
||||
share/cppcheck/cfg/tinyxml2.cfg
|
||||
share/cppcheck/cfg/vcl.cfg
|
||||
share/cppcheck/cfg/windows.cfg
|
||||
share/cppcheck/cfg/wxsqlite3.cfg
|
||||
share/cppcheck/cfg/wxsvg.cfg
|
||||
share/cppcheck/cfg/wxwidgets.cfg
|
||||
share/cppcheck/cfg/zlib.cfg
|
Loading…
Add table
Add a link
Reference in a new issue