# $OpenBSD: Makefile,v 1.5 2018/03/12 21:51:22 sthen Exp $

COMMENT=		log file monitoring daemon

V=			1.2
DISTNAME=		logfmon-$V
CATEGORIES=		sysutils

HOMEPAGE=		https://github.com/nicm/logfmon

MAINTAINER=		Tom Doherty <tom@singlesecond.com>

# ISC
PERMIT_PACKAGE_CDROM=	Yes

WANTLIB=		c pthread

MASTER_SITES=		https://github.com/nicm/logfmon/releases/download/$V/

CONFIGURE_STYLE=	gnu

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/logfmon
	${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/logfmon

.include <bsd.port.mk>
