summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-06-09 15:32:16 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-06-09 15:32:16 +0000
commita33870aee51905addd92426fa38e39ae87e4b1d9 (patch)
treec8d0b6802f625402255efa2e5ceda4172f43e190
parentMove to my space on ${MASTER_SITE_LOCAL}. It was under billf's, but the file (diff)
Install the script as colorize.pl to avoid a conflict with the graphviz
port. Also install the manpage as colorize.pl.1. PR: 36854 Submitted by: The Anarcat <anarcat@anarcat.dyndns.org>
Notes
Notes: svn path=/head/; revision=60975
-rw-r--r--sysutils/colorize/Makefile6
-rw-r--r--sysutils/colorize/pkg-plist2
2 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/colorize/Makefile b/sysutils/colorize/Makefile
index 456f16ca7b55..8f6c815502af 100644
--- a/sysutils/colorize/Makefile
+++ b/sysutils/colorize/Makefile
@@ -22,7 +22,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
NO_BUILD= yes
USE_PERL5= yes
-MAN1= colorize.1
+MAN1= colorize.pl.1
FMT?= /usr/bin/fmt
@@ -33,12 +33,12 @@ post-patch:
@${PERL} -pi -e 's!colorize.pl!colorize!g' ${WRKSRC}/colorize.pl.1
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/colorize.pl ${PREFIX}/bin/colorize
+ @${INSTALL_SCRIPT} ${WRKSRC}/colorize.pl ${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.1
+ @${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}
diff --git a/sysutils/colorize/pkg-plist b/sysutils/colorize/pkg-plist
index 39cad4d630a0..955612820137 100644
--- a/sysutils/colorize/pkg-plist
+++ b/sysutils/colorize/pkg-plist
@@ -1,4 +1,4 @@
-bin/colorize
+bin/colorize.pl
@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