1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/security/flawfinder/Makefile
Dmitry Marakasov 5750fde2e4 - Fix LICENSE
- boarch
- Switch to options helpers
- Update WWW

Approved by:	portmgr blanket
2017-12-01 09:00:19 +00:00

41 lines
1.0 KiB
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
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 <bsd.port.mk>