openbsd-ports/devel/lclint/Makefile
espie 0900fb808b rocket science meets lint.
Highly verbose, but can be toned down to a reasonable level using
the right flags, or the right annotations.

Knows something about such weird issues as ANSI C namespaces, and will
warn against E* or str* identifiers, for instance.
1999-06-07 23:37:56 +00:00

39 lines
856 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 1999/06/07 23:37:56 espie Exp $
DISTNAME= lclint-2.4b
CATEGORIES= devel
DIST_SUBDIR=lclint
EXTRACT_ONLY=${DISTNAME}.src${EXTRACT_SUFX}
GUIDE=guide${EXTRACT_SUFX}
DISTFILES=${EXTRACT_ONLY} ${GUIDE}
MAINTAINER= espie@cvs.openbsd.org
AUTHOR= evs@sds.lcs.mit.edu # David Evans
BUGS= lclint-bug@sds.lcs.mit.edu
DOCDIR=${PREFIX}/share/doc/${DISTNAME}
#DISTFILES ftp://ftp.sds.lcs.mit.edu/pub/lclint/guide.tar.gz
MASTER_SITES= ftp://ftp.sds.lcs.mit.edu/pub/lclint/
# Has to use bison because lclint uses pure parsers
BUILD_DEPENDS=bison:${PORTDIRS}/devel/bison
GNU_CONFIGURE= yes
USE_GMAKE= yes
post-patch:
cd ${WRKSRC}/src && ${MAKE_PROGRAM} up
post-install:
${MKDIR} ${DOCDIR}
cd ${DOCDIR} && ${TAR} zxf ${_DISTDIR}/${GUIDE}
test: ${INSTALL_COOKIE}
cd ${WRKSRC} && ${MAKE_PROGRAM} test
.include <bsd.port.mk>