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

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

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

USES=		gmake perl5
GNU_CONFIGURE=	yes
USE_PERL5=	build

PORTDOCS=	README.md
PLIST_FILES=	bin/ipaggcreate bin/ipsumdump bin/ipaggmanip \
		man/man1/${PORTNAME}.1.gz man/man1/ipaggmanip.1.gz \
		man/man1/ipaggcreate.1.gz

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:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>