aboutsummaryrefslogtreecommitdiff
path: root/net/hping/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/hping/Makefile')
-rw-r--r--net/hping/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/hping/Makefile b/net/hping/Makefile
index cd02b973b42c..820d82516a81 100644
--- a/net/hping/Makefile
+++ b/net/hping/Makefile
@@ -7,6 +7,7 @@
PORTNAME= hping
PORTVERSION= 2b54
+PORTREVISION= 1
CATEGORIES= security net
MASTER_SITES= http://www.kyuzz.org/antirez/hping2-src/
DISTNAME= hping2-beta54
@@ -21,5 +22,11 @@ MAN8= hping.8
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${PREFIX}/sbin/hping
${INSTALL_MAN} ${WRKSRC}/docs/hping2.8 ${PREFIX}/man/man8/hping.8
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/hping
+.for i in AS-BACKDOOR HPING2-HOWTO.txt HPING2-IS-OPEN MORE-FUN-WITH-IPID SPOOFED_SCAN.txt
+ ${INSTALL_DATA} ${WRKSRC}/docs/${i} ${PREFIX}/share/doc/hping/
+.endfor
+.endif
.include <bsd.port.mk>