blob: e910fcd31897666eb63a034ab3f80ba1ad270bd8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# 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 <bsd.port.mk>
|