blob: 79c76daccac476780db324380a133fceb2852488 (
plain) (
tree)
|
|
# 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 \
man/man1/ehnt.1.gz man/man8/ehntserv.8.gz \
sbin/ehntserv share/ehnt/asnc.txt
PLIST_DIRS+= share/ehnt
PORTDOCS= README
STPREFIX= ${STAGEDIR}${PREFIX}
post-extract:
${TOUCH} ${WRKSRC}/asnc.txt
do-install:
${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}/
.if !defined(NOPORTDOCS)
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.mk>
|