aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/yaf/Makefile
blob: 1c68ff6b816d7ecea2e90926c0c0c92c397a676c (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 perl5
USE_GNOME=  glib20 gnomehack
USE_LDCONFIG=   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

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

.include <bsd.port.mk>