# Created by: ijliao
# $FreeBSD: net-mgmt/echolot/Makefile 327757 2013-09-20 22:24:43Z bapt $

PORTNAME=	echolot
PORTVERSION=	0.1.0
PORTREVISION=	1
CATEGORIES=	net-mgmt
MASTER_SITES=	SF \
		http://benjamin-schweizer.de/files/echolot/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Packet sniffer that grabs ARP packets on any ethernet devices

LICENSE=	BSD
LICENSE_FILE=	${WRKSRC}/COPYING

USE_GMAKE=	yes
GNU_CONFIGURE=	yes

MAN1=		echolot.1
PORTDOCS=	*
PLIST_FILES=	bin/echolot

NO_STAGE=	yes
.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
.endif

.include <bsd.port.mk>
