summaryrefslogtreecommitdiff
path: root/misc/mtail/Makefile
blob: 195fb3f09f05767e29d3b7026171307a165a64cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $NetBSD: Makefile,v 1.2 2001/06/04 12:09:46 zuntum Exp $
#

DISTNAME=	mtail-1.0.0
CATEGORIES=	misc
MASTER_SITES=	http://matt.immute.net/src/mtail/
EXTRACT_SUFX=	.tgz

MAINTAINER=	zuntum@netbsd.org
HOMEPAGE=	http://matt.immute.net/src/mtail/
COMMENT=	small tail workalike that performs output coloring

DEPENDS+=	python>=1.5:../../lang/python

NO_BUILD=	yes

post-patch:
	${SED} "s,/usr/bin/python,${LOCALBASE}/bin/python,"		\
		${WRKSRC}/mtail > ${WRKSRC}/mtail.done
	${MV} ${WRKSRC}/mtail.done ${WRKSRC}/mtail

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/mtail ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mtail.README
	${INSTALL_DATA} ${WRKSRC}/mtailrc.sample ${PREFIX}/share/examples

.include "../../mk/bsd.pkg.mk"