2013-09-20 22:24:43 +00:00
|
|
|
# Created by: marck@rinet.ru
|
2001-08-11 17:38:05 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ehnt
|
2001-10-05 20:34:53 +00:00
|
|
|
PORTVERSION= 0.3
|
2004-09-05 16:29:17 +00:00
|
|
|
PORTREVISION= 8
|
2004-02-23 04:42:13 +00:00
|
|
|
CATEGORIES= net-mgmt
|
2009-08-22 00:32:25 +00:00
|
|
|
MASTER_SITES= SF
|
2001-08-11 17:38:05 +00:00
|
|
|
|
2004-10-18 17:44:47 +00:00
|
|
|
MAINTAINER= marck@FreeBSD.org
|
2003-02-21 13:28:59 +00:00
|
|
|
COMMENT= A simple Cisco NetFlow data collector
|
2001-08-11 17:38:05 +00:00
|
|
|
|
2004-05-21 08:39:04 +00:00
|
|
|
PLIST_FILES= bin/ehnt etc/rc.d/ehntserv.sh.sample \
|
2013-10-18 21:25:27 +00:00
|
|
|
man/man1/ehnt.1.gz man/man8/ehntserv.8.gz \
|
2004-05-21 08:39:04 +00:00
|
|
|
sbin/ehntserv share/ehnt/asnc.txt
|
|
|
|
PLIST_DIRS+= share/ehnt
|
|
|
|
|
|
|
|
PORTDOCS= README
|
2013-10-16 13:03:53 +00:00
|
|
|
STPREFIX= ${STAGEDIR}${PREFIX}
|
2004-05-21 08:39:04 +00:00
|
|
|
|
2002-10-23 15:35:35 +00:00
|
|
|
post-extract:
|
|
|
|
${TOUCH} ${WRKSRC}/asnc.txt
|
|
|
|
|
2001-08-11 17:38:05 +00:00
|
|
|
do-install:
|
2013-10-16 13:03:53 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ehnt ${STPREFIX}/bin/
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ehntserv ${STPREFIX}/sbin/
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/ehntserv.sh.sample ${STPREFIX}/etc/rc.d/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/ehnt.1 ${STPREFIX}/man/man1/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/ehntserv.8 ${STPREFIX}/man/man8/
|
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/asnc.txt ${STAGEDIR}${DATADIR}/
|
2001-09-08 09:04:07 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2013-10-16 13:03:53 +00:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
2001-09-08 09:04:07 +00:00
|
|
|
.endif
|
2001-08-11 17:38:05 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|