summaryrefslogtreecommitdiff
path: root/net-mgmt/netleak/Makefile
blob: 4c5b1bbf091f55d6e5d184f2d5c0d2513d48f15f (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
37
38
39
40
# New ports collection makefile for:	netleak
# Date created:				1 Nov 2005
# Whom:					Vaida Bogdan
#
# $FreeBSD$
#

PORTNAME=	netleak
PORTVERSION=	0.1a
PORTREVISION=	1
CATEGORIES=	net-mgmt
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-devel/${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Tool to detect connectivity between network segments

RUN_DEPENDS=	p5-Net-PcapUtils>=0:${PORTSDIR}/net/p5-Net-PcapUtils \
		p5-NetPacket>=0:${PORTSDIR}/net/p5-NetPacket \
		p5-Mail-Sendmail>=0:${PORTSDIR}/mail/p5-Mail-Sendmail \
		p5-Net-RawIP>=0:${PORTSDIR}/net/p5-Net-RawIP \
		p5-IO-Interface>=0:${PORTSDIR}/net/p5-IO-Interface \
		p5-NetAddr-IP>0:${PORTSDIR}/net-mgmt/p5-NetAddr-IP

NO_BUILD=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}

USE_PERL5_RUN=	yes
MAN8=		netleak.8 netleakd.8

PLIST_FILES=	etc/netleak.conf etc/netleakd.conf sbin/netleak sbin/netleakd
PORTDOCS=	BUGS README TODO

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

.include <bsd.port.mk>