diff options
author | Mark Pulford <markp@FreeBSD.org> | 2001-06-13 07:19:08 +0000 |
---|---|---|
committer | Mark Pulford <markp@FreeBSD.org> | 2001-06-13 07:19:08 +0000 |
commit | 961a5675c52a93dbdcbeb0cd184a1a6abd924caf (patch) | |
tree | 655f09cc8da2b51a229cd24e05a030781182aeed /sysutils/colorize | |
parent | fc5157c173e4671671c10e116cc5f73422f1fba3 (diff) | |
download | ports-961a5675c52a93dbdcbeb0cd184a1a6abd924caf.tar.gz ports-961a5675c52a93dbdcbeb0cd184a1a6abd924caf.zip |
Notes
Diffstat (limited to 'sysutils/colorize')
-rw-r--r-- | sysutils/colorize/Makefile | 37 | ||||
-rw-r--r-- | sysutils/colorize/distinfo | 1 | ||||
-rw-r--r-- | sysutils/colorize/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/colorize/pkg-descr | 8 | ||||
-rw-r--r-- | sysutils/colorize/pkg-message | 7 | ||||
-rw-r--r-- | sysutils/colorize/pkg-plist | 2 |
6 files changed, 56 insertions, 0 deletions
diff --git a/sysutils/colorize/Makefile b/sysutils/colorize/Makefile new file mode 100644 index 000000000000..2ed4b1320e6a --- /dev/null +++ b/sysutils/colorize/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: colorize +# Date created: 12 June 2001 +# Whom: petef@databits.net +# +# $FreeBSD$ +# + +PORTNAME= colorize +PORTVERSION= 0.3.0 +CATEGORIES= sysutils +MASTER_SITES= http://nrg.martos.bme.hu/release/colorize/download/gz/ +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= petef@databits.net + +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor + +WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} +NO_BUILD= yes +USE_PERL5= yes +MAN1= colorize.1 + +post-patch: + @${PERL} -pi -e "s|/etc/colorizerc|${PREFIX}/etc/colorizerc|; \ + s|#!/usr/bin/perl|#!${PERL}|g" ${WRKSRC}/colorize.pl + @${GZIP_CMD} -d ${WRKSRC}/colorize.pl.1.gz + @${PERL} -pi -e 's!colorize.pl!colorize!g' ${WRKSRC}/colorize.pl.1 + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/colorize.pl ${PREFIX}/bin/colorize + ${INSTALL_DATA} ${WRKSRC}/colorizerc ${PREFIX}/etc/colorizerc.sample + ${INSTALL_MAN} ${WRKSRC}/colorize.pl.1 ${PREFIX}/man/man1/colorize.1 + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/sysutils/colorize/distinfo b/sysutils/colorize/distinfo new file mode 100644 index 000000000000..abc7a5b8b6f7 --- /dev/null +++ b/sysutils/colorize/distinfo @@ -0,0 +1 @@ +MD5 (colorize_0.3.0.tar.gz) = 2a6284866f6dd1e60534f4512ff79098 diff --git a/sysutils/colorize/pkg-comment b/sysutils/colorize/pkg-comment new file mode 100644 index 000000000000..3be081ed3898 --- /dev/null +++ b/sysutils/colorize/pkg-comment @@ -0,0 +1 @@ +A robust log colorizer diff --git a/sysutils/colorize/pkg-descr b/sysutils/colorize/pkg-descr new file mode 100644 index 000000000000..cbc068bbb10f --- /dev/null +++ b/sysutils/colorize/pkg-descr @@ -0,0 +1,8 @@ +colorize is a perl script to add color to your logs (system logs, apache +logs, squid logs, and many other formats). colorize can also output a +colorized version of your logs as HTML. + +WWW: http://nrg.martos.bme.hu/release/colorize/ + +- Pete +petef@databits.net diff --git a/sysutils/colorize/pkg-message b/sysutils/colorize/pkg-message new file mode 100644 index 000000000000..13dff4830818 --- /dev/null +++ b/sysutils/colorize/pkg-message @@ -0,0 +1,7 @@ +--------------------------------------------------------------------------- +You will need to copy PREFIX/etc/colorizerc.sample to PREFIX/etc/colorizerc + +To customize the colorize utility, you can make changes to + PREFIX/etc/colorizerc +or user-specific changes in ~/.colorizerc +--------------------------------------------------------------------------- diff --git a/sysutils/colorize/pkg-plist b/sysutils/colorize/pkg-plist new file mode 100644 index 000000000000..f1abf96676cb --- /dev/null +++ b/sysutils/colorize/pkg-plist @@ -0,0 +1,2 @@ +bin/colorize +etc/colorizerc.sample |