pkgsrc/misc/mtail/Makefile
jlam 39843c2c61 Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-04 19:21:10 +00:00

28 lines
739 B
Makefile

# $NetBSD: Makefile,v 1.11 2008/03/04 19:21:12 jlam Exp $
#
DISTNAME= mtail-1.1.1
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
PKG_DESTDIR_SUPPORT= user-destdir
NO_BUILD= yes
PYTHON_PATCH_SCRIPTS= mtail
INSTALLATION_DIRS= bin share/doc share/examples
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mtail ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/README \
${DESTDIR}${PREFIX}/share/doc/mtail.README
${INSTALL_DATA} ${WRKSRC}/mtailrc.sample \
${DESTDIR}${PREFIX}/share/examples
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"