aboutsummaryrefslogtreecommitdiff
path: root/net/libnetdude/Makefile
blob: a07016e229e5a45595d609a2dc8f72e4bbaad2a4 (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
# Created by: Yann Berthier <yb@sainte-barbe.org>
# $FreeBSD$

PORTNAME=	libnetdude
PORTVERSION=	0.12
CATEGORIES=	net
MASTER_SITES=	SF/netdude/${PORTNAME}/${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A library for manipulating libpcap/tcpdump trace files

LIB_DEPENDS=	pcapnav.0:${PORTSDIR}/net/libpcapnav

USE_AUTOTOOLS=	libtool
GNU_CONFIGURE=	yes
USE_GNOME=	glib12
CONFIGURE_ARGS=	--disable-gtk-doc --with-html-dir=${DOCSDIR}
USE_LDCONFIG=	yes

PLIST_SUB=	PORTVERSION=${PORTVERSION}

NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -e "s|netinet/if_fddi.h|net/fddi.h|g" \
	${WRKSRC}/protocols/fddi/libnd_fddi.h
	@${REINPLACE_CMD} -e 's|DOC_MODULE = libnetdude|DOC_MODULE =|' \
	${WRKSRC}/docs/Makefile.in
.if defined(NOPORTDOCS)
	@${REINPLACE_CMD} -e 's|docs||' ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>