Update of /cvsroot/fink/experimental/crhalpin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8706

Added Files:
        colordiff.info colordiff.patch 
Log Message:
Initial revision of colordiff.


--- 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.5
Revision: 1
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: b8ef81a80dfa8a4c001915d03a73f7d1
Patch: %n.patch
####
CompileScript: echo nothing to do
InstallScript: <<
make install PFX=%d SW=%p
<<
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


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to