aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/yaf/Makefile
blob: 747fc7698eaa06bf241af7bfb8e8ef9b43e9b8ab (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
# 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
USE_GNOME=  glib20 gnomehack
USE_LDCONFIG=   yes
USE_PERL5=  yes
MAKE_JOBS_SAFE= yes
CONFIOGURE_ARGS+=   --disable-doxygen
USE_PKGCONFIG=  build

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>