summaryrefslogtreecommitdiffstats
path: root/net-mgmt/flow-extract/Makefile
blob: e6938d0dbda1eaabc347d6fe5ce43aebb518afec (plain)
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
# Created by: Marcin Cieslak <saper@system.pl>
# $FreeBSD$

PORTNAME=	flow-extract
PORTVERSION=	2.61
PORTREVISION=	1
CATEGORIES=	net-mgmt
MASTER_SITES=	http://answers.uchicago.edu/images/group68/19876/

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

LICENSE=	GPLv1
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	${LOCALBASE}/include/ftlib.h:net-mgmt/flow-tools

USES=		alias
WRKSRC=		${WRKDIR}/${PORTNAME}
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LIBS="${LIBS}"

PLIST_FILES=	bin/flow-extract man/man1/${PORTNAME}.1.gz

CFLAGS+=	-I${LOCALBASE}/include
LIBS+=		${LOCALBASE}/lib/libft.a -lz

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud