aboutsummaryrefslogtreecommitdiff
path: root/net/libtrace/Makefile
blob: 9f8c49968313baf983b04e9dc4ec78669ec7b67e (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
# 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.3
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}
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

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

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

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

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

.include <bsd.port.mk>