pkgsrc/devel/sparse/Makefile
reed fc02787c53 Import sparse.
Sparse, the semantic parser, provides a compiler frontend capable
of parsing most of ANSI C as well as many GCC extensions, and a
collection of sample compiler backends, including a static analyzer
also called "sparse". Sparse provides a set of annotations designed
to convey semantic information about types, such as what address
space pointers point to, or what locks a function acquires or
releases.

Linus Torvalds started writing Sparse in 2003, initially targeting
issues such as mixing pointers to user address space and pointers
to kernel address space.
2007-05-21 20:46:43 +00:00

22 lines
641 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2007/05/21 20:46:43 reed Exp $
#
DISTNAME= sparse-0.3
CATEGORIES= devel lang
MASTER_SITES= http://kernel.org/pub/software/devel/sparse/dist/
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://kernel.org/pub/software/devel/sparse/
COMMENT= Semantic parser for C
INSTALLATION_DIRS+= share/doc/sparse
PKGCONFIG_OVERRIDE+= sparse.pc.in
REPLACE_PERL= cgcc
USE_TOOLS+= gmake perl:run
post-install:
${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/sparse/
${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/sparse/
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sparse/
.include "../../mk/bsd.pkg.mk"