1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Update to 6.3

PR:		21047
Submitted by:	W Gerald Hicks <gehicks@cisco.com>
Cleanups by:	ade
This commit is contained in:
Ade Lovett 2000-09-13 20:23:56 +00:00
parent e24d407973
commit 7a91cbabe5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32588
5 changed files with 136 additions and 116 deletions

View File

@ -6,30 +6,31 @@
# #
PORTNAME= tkcvs PORTNAME= tkcvs
PORTVERSION= 6.0 PORTVERSION= 6.3
CATEGORIES= devel tk82 CATEGORIES= devel tk82
MASTER_SITES= http://www.neosoft.com/tcl/ftparchive/sorted/apps/tkcvs-6.0/ \ MASTER_SITES= http://www.twobarleycorns.net/
http://ftp.sunet.se/pub/lang/tcl/sorted/apps/tkcvs-6.0/
MAINTAINER= shanee@augusta.de MAINTAINER= shanee@augusta.de
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
NO_BUILD= yes NO_BUILD= yes
MAN1= tkcvs.1 tkdiff.1 MAN= tkcvs.n
post-extract: WISH= wish8\.2
${CP} ${WRKSRC}/tkcvs/tkcvs.n ${WRKSRC}/tkcvs/tkcvs.1 TCLSH= tclsh8\.2
${CP} ${WRKSRC}/tkdiff/tkdiff.n ${WRKSRC}/tkdiff/tkdiff.1
post-patch:
@${PERL} -pi -e 's|wish|${WISH}|g' ${WRKSRC}/tkcvs/tkcvs.blank
@${PERL} -pi -e 's|wish|${WISH}|g' ${WRKSRC}/tkdiff/tkdiff
do-install: do-install:
(cd $(WRKSRC)/tkcvs; ${SETENV} ${MAKE_ENV} sh ./doinstall) (cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${TCLSH} doinstall.tcl)
post-install: post-install:
.if !defined(NOPORTDOCS) .if !defined{NOPORTDOCS}
${MKDIR} ${PREFIX}/share/doc/tkcvs ${MKDIR} ${PREFIX}/share/doc/tkcvs
${INSTALL_DATA} ${WRKSRC}/README.tkcvs $(PREFIX)/share/doc/tkcvs/ ${INSTALL_DATA} ${WRKSRC}/README.tkcvs ${PREFIX}/share/doc/tkcvs/
${INSTALL_DATA} ${WRKSRC}/tkdiff/README $(PREFIX)/share/doc/tkcvs/README.tkdiff
.endif .endif
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (tkcvs-6.0.tar.gz) = e04f38cc344f9ea222fa48cb774ab7a5 MD5 (tkcvs-6.3.tar.gz) = 59b141fcc658330939c9512033e15894

View File

@ -1,65 +1,63 @@
--- tkcvs/doinstall.orig Tue Jan 9 22:17:52 1996 --- doinstall.tcl.orig Sun May 7 01:12:41 2000
+++ tkcvs/doinstall Fri Oct 31 09:21:23 1997 +++ doinstall.tcl Mon Sep 4 17:06:32 2000
@@ -5,31 +5,31 @@ @@ -4,1 +4,1 @@
-exec wish "$0" -- ${1+"$@"}
+exec wish8.2 "$0" -- ${1+"$@"}
@@ -30,13 +30,9 @@
set msg(5) [file join $MANDIR tkcvs.n]
}
foreach m [lsort [array names msg]] {
- if {[winfo exists .messages.$m]} {
- destroy .messages.$m
- }
global var$m
set var$m $msg($m)
- label .messages.$m -text $msg($m) -justify left -textvariable var$m
- pack .messages.$m -side top -anchor w
+ puts var$m
}
}
# Some rational and reasonable defaults. @@ -94,11 +90,6 @@
}
cd ..
puts "Finished!"
-
- destroy .bottom.do
- destroy .bottom.not
- button .bottom.done -text "Finished!" -command {destroy .}
- pack .bottom.done
}
-INSTALLDIR=/usr/local/lib #
-BINDIR=/usr/local/bin @@ -115,28 +106,6 @@
-MANDIR=/usr/local/man/mann set TKDIFF "tkdiff"
+INSTALLDIR=${PREFIX}/share }
+BINDIR=${PREFIX}/bin
+MANDIR=${PREFIX}/man/man1
INSTALL_PROG=./install-sh -frame .title
-label .title.lbl -text "TkCVS Installer" -font {Helvetica -14 bold}
# This must be an X based editor -- do NOT use vi except via an xterm -pack .title -side top
# or shelltool. -pack .title.lbl -side top
-frame .entry
-EDITOR=nedit -label .entry.instlbl -text "Installation Root"
+EDITOR="xedit" -entry .entry.instent -textvariable INSTALLROOT
-bind .entry.instent <Return> {show_paths $INSTALLROOT}
# Find a Tk interpreter. -pack .entry -side top -pady 10
-pack .entry.instlbl -side left
-WISH=`which wish4.0` -pack .entry.instent -side left
+WISH=`which wish8.2` -
if [ ! -f $WISH ]; then -frame .messages -relief groove -bd 2
- WISH=`which wish4.1` -pack .messages -side top -expand y -fill x
+ WISH=`which wish4.0` -label .messages.adv -text "These files will be installed:"
fi -pack .messages.adv -side top
if [ ! -f $WISH ]; then show_paths $INSTALLROOT
- echo "I cant find a Tk interpreter on your system" -
+ echo "I cant find a useful Tk interpreter on your system" -frame .bottom
exit 1 -button .bottom.do -text "Install" -command {doinstall $INSTALLROOT}
fi -button .bottom.not -text "Cancel" -command {destroy .}
-pack .bottom -side top
# Find where the global bitmaps are. -pack .bottom.do -side left
-pack .bottom.not -side left
-for GDIR in /usr/include/X11/bitmaps /usr/openwin/include/X11/bitmaps /usr/X11/include/bitmaps /usr/include/bitmaps /usr/local/include/bitmaps -
+for GDIR in /usr/X11R6/include/X11/bitmaps /usr/openwin/include/X11/bitmaps /usr/X11/include/bitmaps /usr/include/bitmaps ${PREFIX}/include/bitmaps +doinstall $INSTALLROOT
do +exit 0
if [ -d "$GDIR" ]; then
break
@@ -62,10 +62,10 @@
# Some directories we have to create.
-LDIR=${INSTALLDIR}/bitmaps
TCDIR=${INSTALLDIR}/tkcvs
-mkdir -p $LDIR $TCDIR
-for dir in $LDIR $TCDIR
+LDIR=${TCDIR}/bitmaps
+mkdir -p $LDIR $TCDIR
+for dir in $TCDIR $LDIR
do
if [ ! -d $dir ]; then
echo "I cant create the directory $dir"
@@ -99,7 +99,7 @@
fi
done
-for f in *.n ../tkdiff/*.n
+for f in *.1 ../tkdiff/*.1
do
$INSTALL_PROG -m 444 $f $MANDIR
done

View File

@ -1,3 +1,3 @@
This is a port of tkcvs and tkdiff, the Tcl/Tk frontends to CVS and diff This is a port of tkcvs and tkdiff, the Tcl/Tk frontends to CVS and diff
This is tkcvs version 6.0 and tkdiff version 1.0. This is tkcvs version 6.3 and tkdiff version 1.0.

View File

@ -1,45 +1,66 @@
bin/tkcvs bin/tkcvs
bin/tkdiff bin/tkdiff
lib/tkcvs/commit.tcl
lib/tkcvs/cvs.tcl
lib/tkcvs/dialog.tcl
lib/tkcvs/errors.tcl
lib/tkcvs/filebrowse.tcl
lib/tkcvs/gen_log.tcl
lib/tkcvs/help.tcl
lib/tkcvs/import.tcl
lib/tkcvs/logcanvas.tcl
lib/tkcvs/merge.tcl
lib/tkcvs/modbrowse.tcl
lib/tkcvs/modtree.tcl
lib/tkcvs/modules.tcl
lib/tkcvs/reports.tcl
lib/tkcvs/search.tcl
lib/tkcvs/static.tcl
lib/tkcvs/tclIndex
lib/tkcvs/tkcvs_def.tcl
lib/tkcvs/tooltips.tcl
lib/tkcvs/workdir.tcl
lib/tkcvs/bitmaps/add.gif
lib/tkcvs/bitmaps/adir.gif
lib/tkcvs/bitmaps/amod.gif
lib/tkcvs/bitmaps/arrow.gif
lib/tkcvs/bitmaps/ball.gif
lib/tkcvs/bitmaps/branch.gif
lib/tkcvs/bitmaps/branchtag.gif
lib/tkcvs/bitmaps/checkin.gif
lib/tkcvs/bitmaps/checkout.gif
lib/tkcvs/bitmaps/clean.gif
lib/tkcvs/bitmaps/clear.gif
lib/tkcvs/bitmaps/conflict.gif
lib/tkcvs/bitmaps/delete.gif
lib/tkcvs/bitmaps/diff.gif
lib/tkcvs/bitmaps/dir.gif
lib/tkcvs/bitmaps/export.gif
lib/tkcvs/bitmaps/fileedit.gif
lib/tkcvs/bitmaps/files.gif
lib/tkcvs/bitmaps/fileview.gif
lib/tkcvs/bitmaps/import.gif
lib/tkcvs/bitmaps/logfile.gif
lib/tkcvs/bitmaps/mdir.gif
lib/tkcvs/bitmaps/mergebranch.gif
lib/tkcvs/bitmaps/mergediff.gif
lib/tkcvs/bitmaps/mod.gif
lib/tkcvs/bitmaps/modbrowse.xbm
lib/tkcvs/bitmaps/modules.gif
lib/tkcvs/bitmaps/patches.gif
lib/tkcvs/bitmaps/patchfile.gif
lib/tkcvs/bitmaps/refresh.gif
lib/tkcvs/bitmaps/remove.gif
lib/tkcvs/bitmaps/tag.gif
lib/tkcvs/bitmaps/tags.gif
lib/tkcvs/bitmaps/tclfish.gif
lib/tkcvs/bitmaps/tclfish.xbm
lib/tkcvs/bitmaps/tclfish_fly.xbm
lib/tkcvs/bitmaps/tkcvs32.xbm
lib/tkcvs/bitmaps/tkcvs32_mask.xbm
lib/tkcvs/bitmaps/tkcvs48.xbm
lib/tkcvs/bitmaps/who.gif
share/doc/tkcvs/README.tkcvs share/doc/tkcvs/README.tkcvs
share/doc/tkcvs/README.tkdiff @dirrm lib/tkcvs/bitmaps
share/tkcvs/bindings.tcl @dirrm lib/tkcvs
share/tkcvs/checkout.tcl
share/tkcvs/commit.tcl
share/tkcvs/cvs.tcl
share/tkcvs/errors.tcl
share/tkcvs/filebrowse.tcl
share/tkcvs/help.tcl
share/tkcvs/import.tcl
share/tkcvs/logcanvas.tcl
share/tkcvs/merge.tcl
share/tkcvs/modules.tcl
share/tkcvs/reports.tcl
share/tkcvs/search.tcl
share/tkcvs/static.tcl
share/tkcvs/tag.tcl
share/tkcvs/tclIndex
share/tkcvs/tkcvs_def.tcl
share/tkcvs/tooltips.tcl
share/tkcvs/update.tcl
share/tkcvs/venget.tcl
share/tkcvs/workdir.tcl
share/tkcvs/bitmaps/add.xbm
share/tkcvs/bitmaps/check.xbm
share/tkcvs/bitmaps/checkin.xbm
share/tkcvs/bitmaps/clean.xbm
share/tkcvs/bitmaps/clear.xbm
share/tkcvs/bitmaps/delete.xbm
share/tkcvs/bitmaps/diff.xbm
share/tkcvs/bitmaps/import.xbm
share/tkcvs/bitmaps/logfile.xbm
share/tkcvs/bitmaps/notebook.xbm
share/tkcvs/bitmaps/refresh.xbm
share/tkcvs/bitmaps/remove.xbm
share/tkcvs/bitmaps/tkcvs16.xbm
share/tkcvs/bitmaps/tkcvs32.xbm
share/tkcvs/bitmaps/tkcvs32_mask.xbm
share/tkcvs/bitmaps/tree16.xbm
share/tkcvs/bitmaps/update.xbm
@dirrm share/tkcvs/bitmaps
@dirrm share/tkcvs
@dirrm share/doc/tkcvs @dirrm share/doc/tkcvs