2012-10-08 11:57:15 +02:00
|
|
|
# $NetBSD: Makefile,v 1.20 2012/10/08 09:57:18 asau Exp $
|
Initial import of colorize-0.2.6
colorize is a log colorize perl script, with some ugly functions:
* Many known log format (including: daemon [classic log format],
squid [and oops], apache [access, error], xferlog, exim, and more)
* Extreme regexp matches (email, url, size, address, version, file etc.)
* Some usefull matches (user, service, protocol)
* Theme support (with multiple config files)
* HTML output support (with valid HTML and CSS code)
2001-03-26 06:11:11 +02:00
|
|
|
#
|
|
|
|
|
2001-06-13 16:02:50 +02:00
|
|
|
DISTNAME= colorize_0.3.0
|
|
|
|
PKGNAME= colorize-0.3.0
|
2012-10-03 23:53:53 +02:00
|
|
|
PKGREVISION= 2
|
Initial import of colorize-0.2.6
colorize is a log colorize perl script, with some ugly functions:
* Many known log format (including: daemon [classic log format],
squid [and oops], apache [access, error], xferlog, exim, and more)
* Extreme regexp matches (email, url, size, address, version, file etc.)
* Some usefull matches (user, service, protocol)
* Theme support (with multiple config files)
* HTML output support (with valid HTML and CSS code)
2001-03-26 06:11:11 +02:00
|
|
|
CATEGORIES= misc
|
2008-01-04 07:04:42 +01:00
|
|
|
MASTER_SITES= http://colorize.raszi.hu/downloads/
|
Initial import of colorize-0.2.6
colorize is a log colorize perl script, with some ugly functions:
* Many known log format (including: daemon [classic log format],
squid [and oops], apache [access, error], xferlog, exim, and more)
* Extreme regexp matches (email, url, size, address, version, file etc.)
* Some usefull matches (user, service, protocol)
* Theme support (with multiple config files)
* HTML output support (with valid HTML and CSS code)
2001-03-26 06:11:11 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2010-02-26 11:28:30 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2008-01-04 07:04:42 +01:00
|
|
|
HOMEPAGE= # http://colorize.raszi.hu/
|
2003-07-21 19:01:11 +02:00
|
|
|
COMMENT= Log colorize perl script
|
Initial import of colorize-0.2.6
colorize is a log colorize perl script, with some ugly functions:
* Many known log format (including: daemon [classic log format],
squid [and oops], apache [access, error], xferlog, exim, and more)
* Extreme regexp matches (email, url, size, address, version, file etc.)
* Some usefull matches (user, service, protocol)
* Theme support (with multiple config files)
* HTML output support (with valid HTML and CSS code)
2001-03-26 06:11:11 +02:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
Initial import of colorize-0.2.6
colorize is a log colorize perl script, with some ugly functions:
* Many known log format (including: daemon [classic log format],
squid [and oops], apache [access, error], xferlog, exim, and more)
* Extreme regexp matches (email, url, size, address, version, file etc.)
* Some usefull matches (user, service, protocol)
* Theme support (with multiple config files)
* HTML output support (with valid HTML and CSS code)
2001-03-26 06:11:11 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2005-07-16 03:19:06 +02:00
|
|
|
USE_TOOLS+= gunzip perl:run
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2005-05-16 00:02:26 +02:00
|
|
|
|
2006-06-16 19:48:47 +02:00
|
|
|
SUBST_CLASSES+= color
|
|
|
|
SUBST_STAGE.color= pre-configure
|
|
|
|
SUBST_MESSAGE.color= Fixing hard-coded paths.
|
|
|
|
SUBST_FILES.color= colorize.pl examples/*.sh
|
|
|
|
SUBST_SED.color+= -e "s,/usr/bin/perl,${LOCALBASE}/bin/perl,"
|
|
|
|
SUBST_SED.color+= -e "s,/etc/colorizerc,${PKG_SYSCONFDIR}/colorizerc,"
|
|
|
|
SUBST_SED.color+= -e "s,/bin/bash,"${SH:Q}","
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${GUNZIP_CMD} ${WRKSRC}/colorize.pl.1.gz
|
|
|
|
${GUNZIP_CMD} ${WRKSRC}/examples/colorize-fifo.sh.gz
|
|
|
|
${GUNZIP_CMD} ${WRKSRC}/examples/colorize-tail.sh.gz
|
Initial import of colorize-0.2.6
colorize is a log colorize perl script, with some ugly functions:
* Many known log format (including: daemon [classic log format],
squid [and oops], apache [access, error], xferlog, exim, and more)
* Extreme regexp matches (email, url, size, address, version, file etc.)
* Some usefull matches (user, service, protocol)
* Theme support (with multiple config files)
* HTML output support (with valid HTML and CSS code)
2001-03-26 06:11:11 +02:00
|
|
|
|
|
|
|
do-install:
|
2008-03-04 20:21:10 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/colorize.pl ${DESTDIR}${PREFIX}/bin/colorize
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/colorize
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/colorizerc \
|
|
|
|
${DESTDIR}${PREFIX}/share/examples/colorize
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/colorize.pl.1 \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/colorize.1
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/colorize
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} README TIPS \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/colorize
|
Initial import of colorize-0.2.6
colorize is a log colorize perl script, with some ugly functions:
* Many known log format (including: daemon [classic log format],
squid [and oops], apache [access, error], xferlog, exim, and more)
* Extreme regexp matches (email, url, size, address, version, file etc.)
* Some usefull matches (user, service, protocol)
* Theme support (with multiple config files)
* HTML output support (with valid HTML and CSS code)
2001-03-26 06:11:11 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/colorize-fifo.sh \
|
2008-03-04 20:21:10 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/colorize
|
Initial import of colorize-0.2.6
colorize is a log colorize perl script, with some ugly functions:
* Many known log format (including: daemon [classic log format],
squid [and oops], apache [access, error], xferlog, exim, and more)
* Extreme regexp matches (email, url, size, address, version, file etc.)
* Some usefull matches (user, service, protocol)
* Theme support (with multiple config files)
* HTML output support (with valid HTML and CSS code)
2001-03-26 06:11:11 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/colorize-tail.sh \
|
2008-03-04 20:21:10 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/colorize
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/Xlog.tar.gz \
|
|
|
|
${DESTDIR}${PREFIX}/share/examples/colorize
|
Initial import of colorize-0.2.6
colorize is a log colorize perl script, with some ugly functions:
* Many known log format (including: daemon [classic log format],
squid [and oops], apache [access, error], xferlog, exim, and more)
* Extreme regexp matches (email, url, size, address, version, file etc.)
* Some usefull matches (user, service, protocol)
* Theme support (with multiple config files)
* HTML output support (with valid HTML and CSS code)
2001-03-26 06:11:11 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|