aboutsummaryrefslogtreecommitdiff
path: root/net/ipsumdump/Makefile
blob: 1b88c0a7c537d33272e01fc04c0d553a82a38ed4 (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
41
42
43
# Created by: Kirill Ponomarew <krion@FreeBSD.org>
# $FreeBSD$

PORTNAME=	ipsumdump
PORTVERSION=	1.82
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	http://www.cs.ucla.edu/~kohler/ipsumdump/

MAINTAINER=	miwi@FreeBSD.org
COMMENT=	Produce ASCII summary of network traffic or tcpdump(1) file

USES=		gmake perl5
GNU_CONFIGURE=	yes
USE_PERL5=	build

MAN1=		${PORTNAME}.1 ipaggcreate.1 ipaggmanip.1

PORTDOCS=	README
PLIST_FILES=	bin/ipaggcreate bin/ipsumdump bin/ipaggmanip

OPTIONS_DEFINE=	IPV6 DOCS
OPTIONS_SUB=	yes

IPV6_CONFIGURE_ENABLE=	ipv6

.include <bsd.port.options.mk>

# Try to unbreak parallel (-jX) builds
post-patch:
	@${ECHO_CMD} 'src: @LIBCLICK_TARGET@' >> ${WRKSRC}/Makefile.in

.if ${PORT_OPTIONS:MIPV6}
CATEGORIES+=	ipv6
.endif

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>