summaryrefslogtreecommitdiff
path: root/net-mgmt/TkTopNetFlows/Makefile
blob: 1d2936ae2d6d6df4b9b6ce282584ffd8b116c7f0 (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
40
41
42
43
# New ports collection makefile for:	TkTopNetFlows
# Date created:				2004 Apr 14
# Whom:					vfom@narod.ru
#
# $FreeBSD$
#

PORTNAME=	TkTopNetFlows
PORTVERSION=	0.4
PORTREVISION=	5
CATEGORIES=	net-mgmt
MASTER_SITES=	http://vfom.narod.ru/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	GUI tool for NetFlow data visualisation

RUN_DEPENDS=	${LOCALBASE}/lib/libBLT24.so.3:${PORTSDIR}/x11-toolkits/blt \
		${LOCALBASE}/lib/Tktable2.10/libTktable2.10.so:${PORTSDIR}/x11-toolkits/tktable \
		p5-Cflow>=0:${PORTSDIR}/net-mgmt/p5-Cflow

NO_BUILD=	yes

USE_TK=		yes
USE_PERL5=	yes

PORTDOCS=	*

PLIST_SUB=	PORTVERSION=${PORTVERSION}

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/TkTopNetFlows.tcl ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/TkTopNetFlowsHist.tcl ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/flow_Server.pl ${PREFIX}/sbin
	${INSTALL_SCRIPT} ${WRKSRC}/flow_Server.sh ${PREFIX}/etc/rc.d
	${INSTALL_SCRIPT} ${WRKSRC}/view_definitions.pl.example ${PREFIX}/etc
	@${MKDIR} ${PREFIX}/lib/${PORTNAME}-${PORTVERSION}
	${INSTALL_SCRIPT} ${WRKSRC}/TkTopNetFlows_lib.tcl ${PREFIX}/lib/${PORTNAME}-${PORTVERSION}
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif

.include <bsd.port.mk>