freebsd-ports/security/flawfinder/Makefile
2017-04-21 03:11:17 +00:00

35 lines
989 B
Makefile

# 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
NO_BUILD= yes
SHEBANG_FILES= flawfinder
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
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>