summaryrefslogtreecommitdiff
path: root/misc/mtail/Makefile
blob: a8dc1cb2deacf54e6ad7989d5aad2644dd8e18e4 (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.1.1.1 2001/03/28 15:41:04 zuntum Exp $
#

DISTNAME=	mtail-0.9.2
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"