aboutsummaryrefslogtreecommitdiffstats
path: root/net/libtrace/Makefile
blob: b91a4b1e8f1e87b487e52aa18bd7bd5b26984995 (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
# New ports collection makefile for:    libtrace
# Date created:             Mon Oct  8 20:32:57 PDT 2007
# Whom:                 Matt Peterson <matt@peterson.org>
#
# $FreeBSD$
#

PORTNAME=   libtrace
PORTVERSION=    3.0.6
CATEGORIES= net
MASTER_SITES=   http://research.wand.net.nz/software/libtrace/ \
        http://matt.peterson.org/FreeBSD/ports/

MAINTAINER= matt@peterson.org
COMMENT=    C library for network device, raw & compressed network flows

CONFIGURE_ARGS= --with-libpcap=${LOCALBASE}

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
USE_GMAKE=  yes

MAN1=       traceanon.1 traceconvert.1 tracefilter.1 tracemerge.1  tracepktdump.1 \
        tracereport.1 tracertstats.1 tracesplit.1 tracesplit_dir.1 tracestats.1 \
        tracesummary.1

CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
    ${WRKSRC}/configure

.include <bsd.port.mk>