freebsd-ports/devel/splint/Makefile
Li-Wen Hsu 573410f867 Unbreak, distfile rerolled.
(Some self-test cases updated, this change would not affect the package.)
2007-09-04 19:09:05 +00:00

29 lines
708 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
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
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>