2006-06-03 05:19:52 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.26 2006/06/03 09:37:09 alek Exp $
|
2001-06-01 03:55:45 -04:00
|
|
|
|
2004-02-05 18:29:34 -05:00
|
|
|
COMMENT= "C/C++ source code auditing tool"
|
2001-06-01 03:55:45 -04:00
|
|
|
|
2005-01-25 03:23:47 -05:00
|
|
|
DISTNAME= flawfinder-1.26
|
2006-06-03 05:19:52 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2004-02-05 18:29:34 -05:00
|
|
|
CATEGORIES= devel security
|
2001-06-01 03:55:45 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.dwheeler.com/flawfinder/
|
|
|
|
|
2001-07-21 16:46:58 -04:00
|
|
|
MAINTAINER= Jason Peel <jsyn@openbsd.org>
|
2001-06-01 03:55:45 -04:00
|
|
|
|
2002-05-20 15:30:39 -04:00
|
|
|
# GPL
|
2001-06-01 03:55:45 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2004-02-05 18:29:34 -05:00
|
|
|
MASTER_SITES= ${HOMEPAGE} \
|
2002-10-17 17:08:26 -04:00
|
|
|
${MASTER_SITE_PACKETSTORM:=UNIX/security/}
|
2001-06-01 03:55:45 -04:00
|
|
|
|
2004-08-03 10:27:33 -04:00
|
|
|
MODULES= lang/python
|
2001-06-01 03:55:45 -04:00
|
|
|
|
|
|
|
NO_BUILD= Yes
|
2001-11-18 14:55:31 -05:00
|
|
|
NO_REGRESS= Yes
|
2004-03-02 09:15:39 -05:00
|
|
|
PKG_ARCH= *
|
2001-11-18 14:55:31 -05:00
|
|
|
|
|
|
|
DOC_DIR= ${PREFIX}/share/doc/flawfinder
|
2001-06-07 12:59:49 -04:00
|
|
|
|
2004-05-28 11:38:23 -04:00
|
|
|
do-configure:
|
2004-02-05 18:29:34 -05:00
|
|
|
@perl -pi -e \
|
|
|
|
"s|/usr/bin/env python|${LOCALBASE}/bin/python${MODPY_VERSION}|" \
|
2002-04-07 18:30:23 -04:00
|
|
|
${WRKSRC}/flawfinder
|
|
|
|
|
2004-05-28 11:38:23 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/flawfinder ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/flawfinder.1 ${PREFIX}/man/man1
|
2001-06-07 12:59:49 -04:00
|
|
|
${INSTALL_DATA_DIR} ${DOC_DIR}
|
2004-02-05 18:29:34 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/flawfinder.{pdf,ps} ${DOC_DIR}
|
2001-06-01 03:55:45 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|