19860a20c6
- Use new LIB_DEPENDS syntax Approved by: portmgr blanket
27 lines
601 B
Makefile
27 lines
601 B
Makefile
# Created by: Matt Peterson <matt@peterson.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libtrace
|
|
PORTVERSION= 3.0.19
|
|
PORTREVISION= 1
|
|
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= libpcap.so:${PORTSDIR}/net/libpcap
|
|
|
|
CONFIGURE_ARGS= --with-libpcap=${LOCALBASE} \
|
|
libtrace_doxygen=false
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
USES= gmake libtool
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|