summaryrefslogtreecommitdiff
path: root/misc/colortail/Makefile
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-01-24 03:53:06 +0000
committerhubertf <hubertf>2001-01-24 03:53:06 +0000
commitefbc04fc2ec471b51c4985e03f1b451af8c23882 (patch)
treecf265f2cbb89df8ec69d9e694e126d5f1311b4f7 /misc/colortail/Makefile
parent7dabce868a912f7e55058a7bf8b5e04eaab70eee (diff)
downloadpkgsrc-efbc04fc2ec471b51c4985e03f1b451af8c23882.tar.gz
Add colortail-0.3.0: colour-able replacement for tail(1)
Colortail works like the standard tail but it can optionally read a color config file where it's specified expressions that results in colors. It can be used to quickly get an overview of interesting activity by ie. colorize those brightred or some other color of your choose. Examples of the color configuration files are in $PREFIX/share/examples/colortail. XXX patch-aa replaced to work around a bug in this program that assumes non posix/ansi semantics of fgetc(): clearerr() must be used after EOF from fgetc() to read any new data.
Diffstat (limited to 'misc/colortail/Makefile')
-rw-r--r--misc/colortail/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/misc/colortail/Makefile b/misc/colortail/Makefile
new file mode 100644
index 00000000000..6abd32415a5
--- /dev/null
+++ b/misc/colortail/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/01/24 03:53:06 hubertf Exp $
+# FreeBSD Id: ports/misc/colortail/Makefile,v 1.10 2000/06/28 17:20:27 alex Exp
+
+DISTNAME= colortail-0.3.0
+CATEGORIES= misc
+MASTER_SITES= http://www.student.hk-r.se/~pt98jan/
+
+MAINTAINER= zuntum@eik.pl
+HOMEPAGE= http://www.student.hk-r.se/~pt98jan/colortail.html
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--datadir=${PREFIX}/share/examples/colortail
+DESCR_SRC= ${WRKDIR}/.DESCR_SRC
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/colortail
+ cd ${WRKSRC}/example-conf/ && \
+ ${INSTALL_DATA} conf.kernel conf.messages conf.secure \
+ conf.xferlog conf.daemon ${PREFIX}/share/examples/colortail
+ ${SED} \
+ -e 's|@PREFIX@|${PREFIX}|' \
+ <${PKGDIR}/DESCR >${DESCR_SRC}
+
+.include "../../mk/bsd.pkg.mk"