freebsd-ports/devel/splint/Makefile
Eitan Adler 4f978988d1 Mark as unsafe when force-make-jobs is set
Approved by:	lwhsu (maintainer)
2012-09-26 13:17:47 +00:00

29 lines
664 B
Makefile

# New ports collection makefile for: splint
# Date created: 9 September 1996
# Whom: moeding
#
# $FreeBSD$
#
PORTNAME= splint
PORTVERSION= 3.1.2
CATEGORIES= devel security
MASTER_SITES= http://www.splint.org/downloads/
EXTRACT_SUFX= .src.tgz
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= A tool for statically checking sourcecode for security vulnerabilities
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
MAN1= splint.1
post-patch:
@${REINPLACE_CMD} -e \
's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/Headers/constants.h
${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
${REINPLACE_CMD} -e '/^pkgdatadir =/s|=.*|=${DATADIR}|'
.include <bsd.port.mk>