aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/flow-extract/Makefile
blob: 3a92d6687e4bb45a9c31df1cfb3b1306b96a659e (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
# New ports collection makefile for:    flow-extract
# Date created:             2003 Mar 14
# Whom:                 Marcin Cieslak <saper@system.pl>
#
# $FreeBSD$
#

PORTNAME=   flow-extract
PORTVERSION=    2.61
CATEGORIES= net-mgmt
MASTER_SITES=   http://nsit.uchicago.edu/groups/security/tools/flow-extract/
DISTNAME=   flow-extract-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Cisco NetFlow awk-like extracting tool

BUILD_DEPENDS=  flow-cat:${PORTSDIR}/net-mgmt/flow-tools

MAN1=       flow-extract.1
PLIST_FILES=    bin/flow-extract

WRKSRC=     ${WRKDIR}/${PORTNAME}

post-patch:
    @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile

do-install:
        @${INSTALL_PROGRAM} ${WRKSRC}/flow-extract ${PREFIX}/bin
        @${INSTALL_MAN}     ${WRKSRC}/flow-extract.1 ${PREFIX}/man/man1

.include <bsd.port.mk>