tkcvs stable port information

Package: tkcvs
Version: 8.2.3
Revision: 1
Description: GUI for Subversion and CVS
License: GPL
Maintainer: Hanspeter Niederstrasser

# Dependencies:
Depends: tcltk (>= 8.4.1-2)
BuildDepends: fink (>= 0.24.12-1), tcltk-dev (>= 8.4.1-2)
Provides: tkdiff

# Unpack Phase:
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: d6bde44169d5943bd7f63e58c0748509

# Patch Phase:
PatchFile: %n.patch
PatchFile-MD5: 0abaf6123b8fbcbc51511f429ca03848

# Compile Phase:
CompileScript: <<
echo nothing to compile
<<

# Install Phase:
DocFiles: CHANGELOG.txt LICENSE.txt FAQ.txt INSTALL
InstallScript: <<
./doinstall.tcl -nox -finallib %p/lib %i
/usr/bin/install -d %i/share
/usr/bin/install -d %i/share/man
/usr/bin/install -d %i/share/man/man1
mv %i/man/man1/%n.1 %i/share/man/man1/%n.1
rm -r %i/man
/usr/bin/install -m 755 tkdiff-svn-wrapper %i/bin/tkdiff-svn-wrapper
<<

# Additional Info
DescDetail: <<
TkCVS is a Tcl/Tk-based graphical interface to the CVS and
Subversion configuration management systems. It will also help with
RCS. The user interface is consistent across Unix/Linux, Windows,
and MacOS X. TkDiff is included for browsing and merging your
changes.

TkCVS shows the status of the files in the current working
directory, and has tools for tagging, merging, importing, exporting,
checking in/out, and other user operations.

TkCVS also aids in browsing the repository. For Subversion, the
repository tree is browsed like an ordinary file tree. For CVS, the
CVSROOT/modules file is read. TkCVS extends CVS with a method to
produce a "user friendly" listing of modules by using special
comments in the CVSROOT/modules file.

The graphical 2 and 3-way diff/merge tool TkDiff is included in this
package and can be used by itself.

It has integrated support for AccuRev/CM, CVS, Perforce, PVCS, RCS,
SCCS, and SVN (subversion).
<<
DescUsage: <<
Remote repositories are supported, although the login step must
be done at the commandline.

Then type 'tkcvs' to start up TkCVS

You can put personal preferences in a file called .tkcvs in your
home directory. User interface preferences should usually go there.

Type 'man tkcvs' to get help.
Type 'tkdiff' and open the help menu for more information about TkDiff.

TkDiff might also be used as an external diff command for Subversion (svn)
via an included wrapper. If you have svn installed add this line to your
'~/.subversion/config' file under the '[helpers]' section:

diff-cmd = tkdiff-svn-wrapper
<<
DescPackaging: <<
Previous version by Christian Schaffner .
<<
Homepage: http://www.twobarleycorns.net/tkcvs.html

tkcvs stable port .patch

diff -Naur tkcvs_8_0_3/tkdiff-svn-wrapper tkcvs_8_0_3-patched/tkdiff-svn-wrapper
--- tkcvs_8_0_3/tkdiff-svn-wrapper 1970-01-01 01:00:00.000000000 +0100
+++ tkcvs_8_0_3-patched/tkdiff-svn-wrapper 2004-06-29 17:06:06.000000000 +0200
@@ -0,0 +1,9 @@
+#!/bin/bash
+ARGS=("$@") # creates an array variable
+LABEL1="${ARGS[$(($#-5))]}"; unset ARGS[$(($#-5))]
+DUMMY="${ARGS[$(($#-4))]}"; unset ARGS[$(($#-4))]
+LABEL2="${ARGS[$(($#-3))]}"; unset ARGS[$(($#-3))]
+FILE1="${ARGS[$(($#-2))]}"; unset ARGS[$(($#-2))]
+FILE2="${ARGS[$(($#-1))]}"; unset ARGS[$(($#-1))]
+
+tkdiff -L "$LABEL1" -L "$LABEL2" "$FILE1" "$FILE2"

tkcvs _unstable_ port .patch