43 lines
941 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.36 2012/10/15 15:18:32 sthen Exp $
COMMENT= C/C++ source code auditing tool
2007-04-25 13:03:14 +00:00
DISTNAME= flawfinder-1.27
2011-09-16 09:24:48 +00:00
REVISION= 4
CATEGORIES= devel security
HOMEPAGE= http://www.dwheeler.com/flawfinder/
MAINTAINER= Jason Peel <jsyn@openbsd.org>
2002-05-20 19:30:39 +00:00
# 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/}
2004-08-03 14:27:33 +00:00
MODULES= lang/python
2010-11-15 19:45:56 +00:00
USE_GROFF = Yes
NO_BUILD= Yes
NO_REGRESS= Yes
2004-03-02 14:15:39 +00:00
PKG_ARCH= *
DOC_DIR= ${PREFIX}/share/doc/flawfinder
2001-06-07 16:59:49 +00:00
2004-05-28 15:38:23 +00:00
do-configure:
@perl -pi -e \
"s|/usr/bin/env python|${LOCALBASE}/bin/python${MODPY_VERSION}|" \
${WRKSRC}/flawfinder
2004-05-28 15:38:23 +00:00
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/flawfinder ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/flawfinder.1 ${PREFIX}/man/man1
2001-06-07 16:59:49 +00:00
${INSTALL_DATA_DIR} ${DOC_DIR}
${INSTALL_DATA} ${WRKSRC}/flawfinder.{pdf,ps} ${DOC_DIR}
.include <bsd.port.mk>