# Created by: ijliao # $FreeBSD$ PORTNAME= flawfinder PORTVERSION= 1.27 CATEGORIES= security devel MASTER_SITES= http://www.dwheeler.com/flawfinder/ \ ${MASTER_SITE_PACKETSTORM} MASTER_SITE_SUBDIR= UNIX/security MAINTAINER= lx@FreeBSD.org COMMENT= Examines source code looking for security weaknesses USE_PYTHON= yes NO_BUILD= yes MAN1= flawfinder.1 DOCS= ChangeLog README flawfinder.pdf flawfinder.ps EXAMPLES= test.c correct-results.html correct-results.txt NO_STAGE= yes do-install: ${INSTALL_SCRIPT} ${WRKSRC}/flawfinder ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/flawfinder.1 ${MANPREFIX}/man/man1 @${MKDIR} ${EXAMPLESDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif .include