diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
commit | 39843c2c61acd3e8f1b7d0fa6eb0f76884067d10 (patch) | |
tree | 49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/mtail/Makefile | |
parent | 0523c1825d9b781d6f10c2ef70daf0a164e0f142 (diff) | |
download | pkgsrc-39843c2c61acd3e8f1b7d0fa6eb0f76884067d10.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'misc/mtail/Makefile')
-rw-r--r-- | misc/mtail/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/misc/mtail/Makefile b/misc/mtail/Makefile index 20911850222..040947a826f 100644 --- a/misc/mtail/Makefile +++ b/misc/mtail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2007/08/08 23:19:57 zuntum Exp $ +# $NetBSD: Makefile,v 1.11 2008/03/04 19:21:12 jlam Exp $ # DISTNAME= mtail-1.1.1 @@ -10,15 +10,19 @@ 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 ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mtail.README - ${INSTALL_DATA} ${WRKSRC}/mtailrc.sample ${PREFIX}/share/examples + ${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" |