01b0f639df
While I'm here: - Rearrange MASTER_SITES: PacketStorm mirros do not seem to carry versions later than 1.22 - Install examples to EXAMPLESDIR PR: 59800 Submitted by: Robin Breathe <robin@isometry.net> Approved by: maintainer
36 lines
905 B
Makefile
36 lines
905 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: flawfinder
|
|
# Date created: Jul 23, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= flawfinder
|
|
PORTVERSION= 1.24
|
|
CATEGORIES= security devel
|
|
MASTER_SITES= http://www.dwheeler.com/flawfinder/ \
|
|
${MASTER_SITE_PACKETSTORM}
|
|
MASTER_SITE_SUBDIR= UNIX/security
|
|
|
|
MAINTAINER= jim@corebsd.or.id
|
|
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
|
|
|
|
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>
|