# Created by: ijliao # $FreeBSD$ PORTNAME= flawfinder PORTVERSION= 1.31 PORTREVISION= 1 CATEGORIES= security devel MASTER_SITES= http://www.dwheeler.com/flawfinder/ \ PACKETSTORM/UNIX/security MAINTAINER= lx@FreeBSD.org COMMENT= Examines source code looking for security weaknesses LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= python shebangfix SHEBANG_FILES= flawfinder NO_BUILD= yes NO_ARCH= yes PLIST_FILES= bin/flawfinder man/man1/flawfinder.1.gz PORTDOCS= ChangeLog README flawfinder.pdf flawfinder.ps PORTEXAMPLES= test.c correct-results.html correct-results.txt OPTIONS_DEFINE= DOCS EXAMPLES do-install: ${INSTALL_SCRIPT} ${WRKSRC}/flawfinder ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/flawfinder.1 ${STAGEDIR}${MANPREFIX}/man/man1 do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include