aboutsummaryrefslogtreecommitdiffstats
path: root/net/libtrace/Makefile
blob: 1dd18d5ef8b492d1232b31ce66b70ce0a5b3afb2 (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
# Created by: Matt Peterson <matt@peterson.org>
# $FreeBSD$

PORTNAME=   libtrace
PORTVERSION=    3.0.19
CATEGORIES= net
MASTER_SITES=   http://research.wand.net.nz/software/libtrace/

MAINTAINER= matt@peterson.org
COMMENT=    C library for network packet capture and processing

LIB_DEPENDS=    pcap:${PORTSDIR}/net/libpcap

CONFIGURE_ARGS= --with-libpcap=${LOCALBASE} \
        libtrace_doxygen=false

GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
USES=       gmake
LDFLAGS+=   -L${LOCALBASE}/lib

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

.include <bsd.port.mk>