openbsd-ports/devel/flawfinder/Makefile
xsa 8099b404dd Update to flawfinder-1.26;
From: Jon Trembley <jon at brain-box.net> (per maintainer's request);
2005-01-25 08:23:47 +00:00

41 lines
913 B
Makefile

# $OpenBSD: Makefile,v 1.25 2005/01/25 08:23:47 xsa Exp $
COMMENT= "C/C++ source code auditing tool"
DISTNAME= flawfinder-1.26
CATEGORIES= devel security
HOMEPAGE= http://www.dwheeler.com/flawfinder/
MAINTAINER= Jason Peel <jsyn@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE} \
${MASTER_SITE_PACKETSTORM:=UNIX/security/}
MODULES= lang/python
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
DOC_DIR= ${PREFIX}/share/doc/flawfinder
do-configure:
@perl -pi -e \
"s|/usr/bin/env python|${LOCALBASE}/bin/python${MODPY_VERSION}|" \
${WRKSRC}/flawfinder
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/flawfinder ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/flawfinder.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${DOC_DIR}
${INSTALL_DATA} ${WRKSRC}/flawfinder.{pdf,ps} ${DOC_DIR}
.include <bsd.port.mk>