aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipsumdump/Makefile
blob: 9977ab6efe3a37d6f60389d33f774837346393a2 (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
44
45
46
# New ports collection makefile for:    ipsumdump
# Date created:             12.01.2004
# Whom:                 krion@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   ipsumdump
PORTVERSION=    1.76
CATEGORIES= net
MASTER_SITES=   http://www.cs.ucla.edu/~kohler/ipsumdump/ \
        http://core.inec.ru/~az/

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

GNU_CONFIGURE=  yes
USE_PERL5_BUILD=yes
USE_GMAKE=  yes

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

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

OPTIONS=     IPV6   "IPv6 internet support" off \

.include  <bsd.port.pre.mk>

.if defined(WITH_IPV6)
CONFIGURE_ARGS+=--enable-ipv6
PLIST_SUB+= IPV6=""
.else
CONFIGURE_ARGS+=--disable-ipv6
PLIST_SUB+= IPV6="@comment "
.endif

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for i in README
    ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>