aboutsummaryrefslogtreecommitdiffstats
path: root/net/netdude/Makefile
blob: b659ef52aebf5eea2dda017ea490144f772b533f (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@sainte-barbe.org
COMMENT=    NETwork DUmp data Displayer and Editor for tcpdump tracefiles

LIB_DEPENDS=    ltdl.4:${PORTSDIR}/devel/libltdl \
        netdude.0:${PORTSDIR}/net/libnetdude

USE_ICONV=  yes
USE_GETTEXT=    yes
USE_LIBTOOL_VER=    13
CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${DOCSDIR}
CONFIGURE_ENV=  LIBS="-L${LOCALBASE}/lib -lltdl"
USE_GMAKE=  yes
USE_GNOME=  glib12 gtk12
INSTALL_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>