# Created by: Gea-Suan Lin (gslin@ccca.nctu.edu.tw)
# $FreeBSD: branches/RELEASE_8_4_0/sysutils/logmon/Makefile 307254 2012-11-09 22:21:59Z pawel $

PORTNAME=	logmon
PORTVERSION=	0.4.4
CATEGORIES=	sysutils
MASTER_SITES=	http://www.edespot.com/code/LogMon/
DISTNAME=	LogMon-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Ncurses-based split window log monitoring program

LICENSE=	ART10

USE_BZIP2=	yes
USE_NCURSES=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
MAKE_JOBS_SAFE=	yes

PORTEXAMPLES=	logmon.conf.example
PLIST_FILES=	bin/logmon

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/logmon.conf.example ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>
