aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/yaf/Makefile
blob: a0caf14d8c347a7d59afb66a41a5676793db222b (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
# Created by: Dikshie <dikshie@sfc.wide.ad.jp>
# $FreeBSD$

PORTNAME=	yaf
PORTVERSION=	2.1.1
PORTREVISION=	2
CATEGORIES=	net-mgmt
MASTER_SITES=	http://tools.netsa.cert.org/releases/

MAINTAINER=	dikshie@sfc.wide.ad.jp
COMMENT=	YAF is Yet Another Flowmeter

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	fixbuf:${PORTSDIR}/net/libfixbuf \
		pcre.3:${PORTSDIR}/devel/pcre

GNU_CONFIGURE=	yes
USES=		pkgconfig
USE_GNOME=	glib20 gnomehack
USE_LDCONFIG=	yes
USE_PERL5=	yes
CONFIOGURE_ARGS+=	--disable-doxygen

PLIST_SUB+=	PORTVERSION="${PORTVERSION}"

MAN1=		airdaemon.1 applabel.1 \
		filedaemon.1 yaf.1 yafdpi.1 yafscii.1

.if defined(WITH_DAG)
CONFIGURE_ARGS+=	--with-dag=${LOCALBASE}
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure

.include <bsd.port.mk>