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

PORTNAME=   libtrace
PORTVERSION=    3.0.15
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}

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>