aboutsummaryrefslogtreecommitdiff
path: root/sysutils/colorize
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-04-13 17:04:40 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-04-13 17:04:40 +0000
commite75254b66bd6c51677c08b90a3862b46b697cb54 (patch)
tree0a2be11dabb6a08d5dcf3eb7dea87cc5b6cfb492 /sysutils/colorize
parent7871da092c56bcb80bd0ae386f84babeec1fb2bb (diff)
downloadports-e75254b66bd6c51677c08b90a3862b46b697cb54.tar.gz
ports-e75254b66bd6c51677c08b90a3862b46b697cb54.zip
Notes
Diffstat (limited to 'sysutils/colorize')
-rw-r--r--sysutils/colorize/Makefile22
-rw-r--r--sysutils/colorize/distinfo2
-rw-r--r--sysutils/colorize/pkg-descr2
-rw-r--r--sysutils/colorize/pkg-plist2
4 files changed, 11 insertions, 17 deletions
diff --git a/sysutils/colorize/Makefile b/sysutils/colorize/Makefile
index b3191a935194..6bcc9f356781 100644
--- a/sysutils/colorize/Makefile
+++ b/sysutils/colorize/Makefile
@@ -6,11 +6,9 @@
#
PORTNAME= colorize
-PORTVERSION= 0.3.0
+PORTVERSION= 0.3.3
CATEGORIES= sysutils
-MASTER_SITES= http://nrg.martos.bme.hu/release/colorize/download/gz/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= petef
+MASTER_SITES= http://colorize.raszi.hu/download/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= petef@FreeBSD.org
@@ -23,24 +21,20 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
NO_BUILD= yes
USE_PERL5= yes
-MAN1= colorize.pl.1
-
-FMT?= /usr/bin/fmt
+MAN1= colorize.1
+MANCOMPRESSED= yes
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
+ s|#!/usr/bin/perl|#!${PERL}|g" ${WRKSRC}/colorize
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/colorize.pl ${PREFIX}/bin
+ @${INSTALL_SCRIPT} ${WRKSRC}/colorize ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/colorizerc ${PREFIX}/etc/colorizerc.dist
.if !exists(${PREFIX}/etc/colorizerc)
@${INSTALL_DATA} ${WRKSRC}/colorizerc ${PREFIX}/etc/colorizerc
.endif
- @${INSTALL_MAN} ${WRKSRC}/colorize.pl.1 ${PREFIX}/man/man1/colorize.pl.1
- @${PERL} -pi -e 's,PREFIX,${PREFIX},' ${PKGMESSAGE}
- @${SED} s!/usr/local/!${PREFIX}/! ${PKGMESSAGE} | ${FMT}
+ @${INSTALL_MAN} ${WRKSRC}/colorize.1.gz ${PREFIX}/man/man1
+ @${SED} -e "s!/usr/local/!${PREFIX}/!" < ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/sysutils/colorize/distinfo b/sysutils/colorize/distinfo
index abc7a5b8b6f7..33b43f3d5e0a 100644
--- a/sysutils/colorize/distinfo
+++ b/sysutils/colorize/distinfo
@@ -1 +1 @@
-MD5 (colorize_0.3.0.tar.gz) = 2a6284866f6dd1e60534f4512ff79098
+MD5 (colorize_0.3.3.tar.gz) = 7f0fb9c6759b8c2280fe832ba15f5007
diff --git a/sysutils/colorize/pkg-descr b/sysutils/colorize/pkg-descr
index cbc068bbb10f..4ca55b3fb617 100644
--- a/sysutils/colorize/pkg-descr
+++ b/sysutils/colorize/pkg-descr
@@ -2,7 +2,7 @@ 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/
+WWW: http://colorize.raszi.hu/
- Pete
petef@databits.net
diff --git a/sysutils/colorize/pkg-plist b/sysutils/colorize/pkg-plist
index 955612820137..39cad4d630a0 100644
--- a/sysutils/colorize/pkg-plist
+++ b/sysutils/colorize/pkg-plist
@@ -1,4 +1,4 @@
-bin/colorize.pl
+bin/colorize
@unexec if cmp -s %D/etc/colorizerc %D/etc/colorizerc.dist; then rm -f %D/etc/colorizerc; fi
etc/colorizerc.dist
@exec if [ ! -f %D/etc/colorizerc ]; then cp -f %D/etc/%f %D/etc/colorizerc; fi