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

PORTNAME=   netdude
PORTVERSION=    0.4.5
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= yb@bashibuzuk.net
COMMENT=    NETwork DUmp data Displayer and Editor for tcpdump tracefiles

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

USE_AUTOTOOLS=  libltdl:15
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
INSTALLS_SHLIB= yes
USE_REINPLACE=  yes

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>