summaryrefslogtreecommitdiff
path: root/misc/mtail
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2002-01-18 14:16:53 +0000
committerdrochner <drochner@pkgsrc.org>2002-01-18 14:16:53 +0000
commitd625d181b048efe1f838f5ebc193814a5d36adb8 (patch)
tree33b45c71d1175b6af55c1059e4cbdc28007a4ec6 /misc/mtail
parent1a451cf9b88ff22a5f87b4b2624d340aec4a537a (diff)
downloadpkgsrc-d625d181b048efe1f838f5ebc193814a5d36adb8.tar.gz
use python buildlink
Diffstat (limited to 'misc/mtail')
-rw-r--r--misc/mtail/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/misc/mtail/Makefile b/misc/mtail/Makefile
index 195fb3f09f0..812ce0049ee 100644
--- a/misc/mtail/Makefile
+++ b/misc/mtail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/06/04 12:09:46 zuntum Exp $
+# $NetBSD: Makefile,v 1.3 2002/01/18 14:16:53 drochner Exp $
#
DISTNAME= mtail-1.0.0
@@ -10,18 +10,14 @@ 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
+PYTHON_PATCH_SCRIPTS= 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 "../../lang/python/application.buildlink.mk"
.include "../../mk/bsd.pkg.mk"