diff options
author | petef <petef@FreeBSD.org> | 2002-06-09 23:32:16 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2002-06-09 23:32:16 +0800 |
commit | ff2643209210450bdac249634f5786e398999473 (patch) | |
tree | 1a61c03fb1d678fce7081cae18f2962cdd02c47c /sysutils | |
parent | e87940c20b8ff877b1fd2f7aa67a428ef5d7ebfd (diff) | |
download | freebsd-ports-graphics-ff2643209210450bdac249634f5786e398999473.tar.gz freebsd-ports-graphics-ff2643209210450bdac249634f5786e398999473.tar.zst freebsd-ports-graphics-ff2643209210450bdac249634f5786e398999473.zip |
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>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/colorize/Makefile | 6 | ||||
-rw-r--r-- | sysutils/colorize/pkg-plist | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/colorize/Makefile b/sysutils/colorize/Makefile index 456f16ca7b5..8f6c815502a 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 39cad4d630a..95561282013 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 |