blob: e44c2cf43835c437c7f4bd84aac1207db28f3a10 (
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: marck@rinet.ru
# $FreeBSD$
PORTNAME= ehnt
PORTVERSION= 0.3
PORTREVISION= 8
CATEGORIES= net-mgmt
MASTER_SITES= SF
MAINTAINER= marck@FreeBSD.org
COMMENT= A simple Cisco NetFlow data collector
PLIST_FILES= bin/ehnt etc/rc.d/ehntserv.sh.sample \
sbin/ehntserv share/ehnt/asnc.txt
PLIST_DIRS+= share/ehnt
PORTDOCS= README
MAN1= ehnt.1
MAN8= ehntserv.8
NO_STAGE= yes
post-extract:
${TOUCH} ${WRKSRC}/asnc.txt
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ehnt ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/ehntserv ${PREFIX}/sbin/
${INSTALL_SCRIPT} ${FILESDIR}/ehntserv.sh.sample ${PREFIX}/etc/rc.d/
${INSTALL_MAN} ${WRKSRC}/ehnt.1 ${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/ehntserv.8 ${PREFIX}/man/man8/
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/asnc.txt ${DATADIR}/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
.endif
.include <bsd.port.mk>
|