diff options
author | jlam <jlam> | 2008-03-04 19:21:10 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 19:21:10 +0000 |
commit | 476429c9f7b93362ea027fafcaa1bb835868c0d1 (patch) | |
tree | 49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/mtail | |
parent | df44780831cf4dadccea821bb560fbdd11bda60b (diff) | |
download | pkgsrc-476429c9f7b93362ea027fafcaa1bb835868c0d1.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')
-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" |