2002-10-17 17:08:26 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2002/10/17 21:08:26 jsyn Exp $
|
2001-06-01 03:55:45 -04:00
|
|
|
|
|
|
|
COMMENT= "c/c++ source code auditing tool"
|
|
|
|
|
2002-10-12 03:37:31 -04:00
|
|
|
DISTNAME= flawfinder-1.21
|
2001-06-01 03:55:45 -04:00
|
|
|
CATEGORIES= devel security
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2002-10-17 17:08:26 -04:00
|
|
|
MASTER_SITES= http://www.dwheeler.com/flawfinder/ \
|
|
|
|
${MASTER_SITE_PACKETSTORM:=UNIX/security/}
|
2001-06-01 03:55:45 -04:00
|
|
|
|
2002-10-12 03:37:31 -04:00
|
|
|
PYTHON_VER= 2.2
|
2002-04-07 18:30:23 -04:00
|
|
|
RUN_DEPENDS= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
2001-06-01 03:55:45 -04:00
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
|
2001-06-07 12:59:49 -04:00
|
|
|
MAKE_FILE= makefile
|
|
|
|
FAKE_FLAGS= INSTALL_DIR=${WRKINST}${PREFIX}
|
2001-06-01 03:55:45 -04:00
|
|
|
|
2001-11-18 14:55:31 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
DOC_DIR= ${PREFIX}/share/doc/flawfinder
|
2001-06-07 12:59:49 -04:00
|
|
|
DOC_FILES= ChangeLog README flawfinder.pdf \
|
|
|
|
flawfinder.ps index.html test.c \
|
|
|
|
announcement
|
|
|
|
|
2002-04-07 18:30:23 -04:00
|
|
|
post-patch:
|
|
|
|
perl -pi -e \
|
|
|
|
"s|/usr/bin/env python|${LOCALBASE}/bin/python${PYTHON_VER}|" \
|
|
|
|
${WRKSRC}/flawfinder
|
|
|
|
|
2001-06-07 12:59:49 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DOC_DIR}
|
|
|
|
.for i in ${DOC_FILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$i ${DOC_DIR}
|
|
|
|
.endfor
|
2001-06-01 03:55:45 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|