summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2003-12-05 14:27:03 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2003-12-05 14:27:03 +0000
commit01b0f639dfc6b15c334ea66e80cd9c64361a7968 (patch)
tree68a8fdaeb28f931602fa172270a29c9910a7604d /security
parent- Update to version 0.0.10 (diff)
- Update to 1.24
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
Notes
Notes: svn path=/head/; revision=95130
Diffstat (limited to 'security')
-rw-r--r--security/flawfinder/Makefile18
-rw-r--r--security/flawfinder/distinfo2
-rw-r--r--security/flawfinder/pkg-plist16
3 files changed, 20 insertions, 16 deletions
diff --git a/security/flawfinder/Makefile b/security/flawfinder/Makefile
index d35cc304d62b..1e50cdb5ca82 100644
--- a/security/flawfinder/Makefile
+++ b/security/flawfinder/Makefile
@@ -7,10 +7,10 @@
#
PORTNAME= flawfinder
-PORTVERSION= 1.22
+PORTVERSION= 1.24
CATEGORIES= security devel
-MASTER_SITES= ${MASTER_SITE_PACKETSTORM} \
- http://www.dwheeler.com/flawfinder/
+MASTER_SITES= http://www.dwheeler.com/flawfinder/ \
+ ${MASTER_SITE_PACKETSTORM}
MASTER_SITE_SUBDIR= UNIX/security
MAINTAINER= jim@corebsd.or.id
@@ -19,18 +19,18 @@ COMMENT= Examines source code looking for security weaknesses
USE_PYTHON= yes
NO_BUILD= yes
-MAN1= flawfinder.1
+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
-
-post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for i in README flawfinder.pdf flawfinder.ps index.html test.c
- ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
-.endfor
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/security/flawfinder/distinfo b/security/flawfinder/distinfo
index c0f43db7f1f6..6bf20d2f248e 100644
--- a/security/flawfinder/distinfo
+++ b/security/flawfinder/distinfo
@@ -1 +1 @@
-MD5 (flawfinder-1.22.tar.gz) = a6746b5e8b443e777ebd223edae33e6d
+MD5 (flawfinder-1.24.tar.gz) = 85a291ae9bf5a6eec823169057f950df
diff --git a/security/flawfinder/pkg-plist b/security/flawfinder/pkg-plist
index de3235a7058c..d39942b2fdc8 100644
--- a/security/flawfinder/pkg-plist
+++ b/security/flawfinder/pkg-plist
@@ -1,7 +1,11 @@
+@comment $FreeBSD$
bin/flawfinder
-%%PORTDOCS%%share/doc/flawfinder/README
-%%PORTDOCS%%share/doc/flawfinder/flawfinder.pdf
-%%PORTDOCS%%share/doc/flawfinder/flawfinder.ps
-%%PORTDOCS%%share/doc/flawfinder/index.html
-%%PORTDOCS%%share/doc/flawfinder/test.c
-%%PORTDOCS%%@dirrm share/doc/flawfinder
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/flawfinder.pdf
+%%PORTDOCS%%%%DOCSDIR%%/flawfinder.ps
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%EXAMPLESDIR%%/correct-results.html
+%%EXAMPLESDIR%%/correct-results.txt
+%%EXAMPLESDIR%%/test.c
+@dirrm %%EXAMPLESDIR%%