aboutsummaryrefslogtreecommitdiffstats
path: root/security/hping/Makefile
blob: 4f69015871f34af63aaed1700ee7ec99689b92cc (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
33
34
35
36
# New ports collection makefile for:    hping
# Date Created:             5 Oct 2000
# Whom:                 Roman Shterenzon <roman@xpert.com>
#
# $FreeBSD$
#

PORTNAME=   hping
PORTVERSION=    2.0.0r2
PORTREVISION=   2
PORTEPOCH=  1
CATEGORIES= security net
MASTER_SITES=   http://www.hping.org/
DISTNAME=   hping2.0.0-rc2

MAINTAINER= ecu@ipv42.net
COMMENT=    Network auditing tool

WRKSRC=     ${WRKDIR}/hping2-rc2
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=    --force-libpcap
USE_GMAKE=  yes

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>