29eef9c0dd
ok sturm@.
39 lines
795 B
Makefile
39 lines
795 B
Makefile
# $OpenBSD: Makefile,v 1.22 2004/03/02 14:15:39 xsa Exp $
|
|
|
|
COMMENT= "C/C++ source code auditing tool"
|
|
|
|
DISTNAME= flawfinder-1.24
|
|
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= python
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
PKG_ARCH= *
|
|
|
|
DOC_DIR= ${PREFIX}/share/doc/flawfinder
|
|
|
|
pre-build:
|
|
@perl -pi -e \
|
|
"s|/usr/bin/env python|${LOCALBASE}/bin/python${MODPY_VERSION}|" \
|
|
${WRKSRC}/flawfinder
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DOC_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/flawfinder.{pdf,ps} ${DOC_DIR}
|
|
|
|
.include <bsd.port.mk>
|