aboutsummaryrefslogtreecommitdiffstats
path: root/net/netdude/Makefile
blob: 6975933e2cf1599e5c6ec1df55aad440cc74818b (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
36
37
# ex:ts=8
# New ports collection makefile for:    netdude
# Date created:         Dec 27, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

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

MAINTAINER= brenton.chang@gmail.com
COMMENT=    NETwork DUmp data Displayer and Editor for tcpdump tracefiles

LIB_DEPENDS=    netdude.0:${PORTSDIR}/net/libnetdude

USE_AUTOTOOLS=  libltdl libtool
USE_ICONV=  yes
USE_GETTEXT=    yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${DOCSDIR}
CONFIGURE_ENV=  LIBS="-L${LOCALBASE}/lib -lltdl"
USE_GMAKE=  yes
USE_GNOME=  glib12 gtk12

MAN1=   netdude.1

post-patch:
    @${REINPLACE_CMD} -e 's|DOC_MODULE = netdude|DOC_MODULE =|' \
    ${WRKSRC}/doc/netdude-manual/Makefile.in
.if defined(NOPORTDOCS)
    @${REINPLACE_CMD} -e 's|doc||' ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>