Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/text
In directory 
sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv10377/10.3/unstable/main/finkinfo/text

Added Files:
        colordiff.info colordiff.patch 
Log Message:
Colordiff, initial revision.


--- NEW FILE: colordiff.patch ---
diff -ru colordiff-1.0.5/Makefile colordiff-1.0.5-patched/Makefile
--- colordiff-1.0.5/Makefile    2005-03-28 15:07:03.000000000 -0600
+++ colordiff-1.0.5-patched/Makefile    2005-10-30 13:51:52.000000000 -0600
@@ -1,8 +1,9 @@
 # $Id: Makefile,v 1.2.2.12 2005/03/28 21:07:03 daveewart Exp $
 
-INSTALL_DIR=/usr/local/bin
-MAN_DIR=/usr/local/man/man1
-ETC_DIR=/etc
+INSTALL_DIR=${PFX}/${SW}/bin
+MAN_DIR=${PFX}/${SW}/share/man/man1
+ETC_DIR=${SW}/etc
+ETC_DIR_INST=${PFX}/${ETC_DIR}
 VERSION=1.0.5
 DIST_FILES=COPYING INSTALL Makefile README \
        colordiff.pl colordiffrc colordiffrc-lightbg cdiff.sh BUGS TODO CHANGES 
colordiff.1
@@ -24,17 +25,19 @@
        sed -e "s%/etc%$(ETC_DIR)%g" colordiff.pl > colordiff.pl.for.install
 
 install: etc
+       mkdir -p ${INSTALL_DIR}
+       mkdir -p ${MAN_DIR}
+       mkdir -p ${ETC_DIR_INST}
        install -D colordiff.pl.for.install ${INSTALL_DIR}/colordiff
        if [ ! -f ${INSTALL_DIR}/cdiff ] ; then \
          install cdiff.sh ${INSTALL_DIR}/cdiff; \
        fi
        install -D colordiff.1 ${MAN_DIR}/colordiff.1
-       if [ -f ${ETC_DIR}/colordiffrc ]; then \
-         mv -f ${ETC_DIR}/colordiffrc ${ETC_DIR}/colordiffrc.old; \
+       if [ -f ${ETC_DIR_INST}/colordiffrc ]; then \
+         mv -f ${ETC_DIR_INST}/colordiffrc ${ETC_DIR_INST}/colordiffrc.old; \
        fi
-       cp colordiffrc ${ETC_DIR}/colordiffrc
-       chown root.root ${ETC_DIR}/colordiffrc
-       chmod 644 ${ETC_DIR}/colordiffrc
+       cp colordiffrc ${ETC_DIR_INST}/colordiffrc
+       chmod 644 ${ETC_DIR_INST}/colordiffrc
        rm -f colordiff.pl.for.install
 
 dist:
Only in colordiff-1.0.5-patched/: Makefile~

--- NEW FILE: colordiff.info ---
Package: colordiff
Version: 1.0.6
Revision: 1
Depends: system-perl
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: a27bfccc24cd9874eb1d1abe40dc2457
PatchScript: <<
 sed -e "s|/etc|%p/etc|g" colordiff.pl > colordiff
 sed -i.bak 's|\(color_patch\)es|\1|g' colordiffrc*
 rm *.bak
 mv cdiff.sh cdiff
<<
####
CompileScript: echo nothing to do
InstallScript: <<
 install -m 755 -d              %i/bin
 install -m 755 colordiff cdiff %i/bin
 install -m 755 -d              %i/share/man/man1
 install -m 644 colordiff.1     %i/share/man/man1
 install -m 755 -d              %i/etc
 install -m 644 colordiffrc*    %i/etc 
<<
Description: Colorized diff wrapper
DescDetail: <<
  colordiff is a wrapper for diff and produces the same output as diff
but with coloured syntax highlighting at the command line to improve
readability. Theoutput is similar to how a diff-generated patch might
appear in Vim or Emacs with the appropriate syntax highlighting
options enabled. The colour schemes can be read from a central
configuration file or from a local user ~/.colordiffrc file.
  colordiff makes use of ANSI colours and as such will only work when
ANSI colours can be used - typical examples are xterms and Eterms, as
well as console sessions.
  colordiff has been tested on various flavours of Linux and under
OpenBSD, but should be broadly portable to other systems.
<<
DocFiles: BUGS CHANGES COPYING INSTALL README TODO
Maintainer: Corey Halpin <[EMAIL PROTECTED]>
Homepage: http://colordiff.sourceforge.net/
License: GPL/LGPL

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to