summaryrefslogtreecommitdiff
path: root/net/hping/Makefile
blob: 0f148c47aae3055a6713998b51e6477dad0dae11 (plain)
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
# $NetBSD: Makefile,v 1.1.1.1 2002/04/04 17:02:30 atatat Exp $
#

DISTNAME=		hping2.0.0-rc1
PKGNAME=		hping-2.0.0.1
WRKSRC=			${WRKDIR}/hping2
CATEGORIES=		net
MASTER_SITES=		http://www.hping.org/

MAINTAINER=		atatat@netbsd.org
HOMEPAGE=		http://www.hping.org/
COMMENT=		Traceroute and ping using TCP and UDP as well as ICMP

HAS_CONFIGURE=		YES
MANPATH=		${PREFIX}/man
CONFIGURE_ENV+=		MANPATH="${MANPATH}"
NOT_FOR_PLATFORM=	NetBSD-0.* NetBSD-1.[0-4]*

BINMODE=		4755

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${PREFIX}/sbin
	${LN} -s ../sbin/hping2 ${PREFIX}/sbin/hping
	${INSTALL_MAN} ${WRKSRC}/docs/hping2.8 ${PREFIX}/man/man8
	${LN} -s ../../man/man8/hping2.8 ${PREFIX}/man/man8/hping.8

.include "../../mk/bsd.pkg.mk"