summaryrefslogtreecommitdiff
path: root/misc/loco/Makefile
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-03-12 10:08:25 +0000
committerzuntum <zuntum>2001-03-12 10:08:25 +0000
commite60f623d5e91a58002951e724c903dc20e4d5420 (patch)
tree9414b1fb3a5f1256af8aadbc02598bfdbb1e5273 /misc/loco/Makefile
parent332fbb91171a62391ab7e30da10194a7d91fdc6c (diff)
downloadpkgsrc-e60f623d5e91a58002951e724c903dc20e4d5420.tar.gz
Initial import of loco.
Loco is a Perl script which gives the messages file (usually /var/log/messages) some color, so the output is easier to read. It uses a Perl module called Term::ANSIColor to produce the colors. The Perl script is very readable and customizable.
Diffstat (limited to 'misc/loco/Makefile')
-rw-r--r--misc/loco/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/misc/loco/Makefile b/misc/loco/Makefile
new file mode 100644
index 00000000000..fa32d4e5a5c
--- /dev/null
+++ b/misc/loco/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/12 10:08:25 zuntum Exp $
+#
+
+DISTNAME= loco-0.32
+CATEGORIES= misc
+MASTER_SITES= http://zjuul.net/~jules/loco/
+
+MAINTAINER= zuntum@eik.pl
+HOMEPAGE= http://zjuul.net/~jules/loco/
+COMMENT= Colorize file or standard input and print on the standard output
+
+MAKE_ENV+= "PREFIX=${PREFIX}"
+
+USE_PERL5= YES
+
+ALL_TARGET= # defined
+
+post-patch:
+ ${SED} "s,/usr/bin/perl,${LOCALBASE}/bin/perl,g" \
+ ${WRKSRC}/loco > ${WRKSRC}/loco.done
+ ${MV} ${WRKSRC}/loco.done ${WRKSRC}/loco
+
+.include "../../mk/bsd.pkg.mk"