diff options
Diffstat (limited to 'chat/tkicb')
-rw-r--r-- | chat/tkicb/Makefile | 41 | ||||
-rw-r--r-- | chat/tkicb/files/md5 | 3 | ||||
-rw-r--r-- | chat/tkicb/files/patch-sum | 5 | ||||
-rw-r--r-- | chat/tkicb/patches/patch-aa | 70 | ||||
-rw-r--r-- | chat/tkicb/patches/patch-ab | 12 | ||||
-rw-r--r-- | chat/tkicb/patches/patch-ac | 11 | ||||
-rw-r--r-- | chat/tkicb/pkg/COMMENT | 1 | ||||
-rw-r--r-- | chat/tkicb/pkg/DESCR | 1 | ||||
-rw-r--r-- | chat/tkicb/pkg/PLIST | 24 |
9 files changed, 168 insertions, 0 deletions
diff --git a/chat/tkicb/Makefile b/chat/tkicb/Makefile new file mode 100644 index 00000000000..d34fb4b0c93 --- /dev/null +++ b/chat/tkicb/Makefile @@ -0,0 +1,41 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/12/15 00:36:36 wiz Exp $ +# + +DISTNAME= icb.2.1.4 +PKGNAME= tkicb-2.1.4nb1 +CATEGORIES= chat x11 +MASTER_SITES= ftp://shoshin.armory.com/pub/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= jwise@netbsd.org +HOMEPAGE= http://www.icb.net/ + +DEPENDS= tk-8.3.2:../../x11/tk + +RESTRICTED= "Author wishes to handle distribution" +NO_BIN_ON_FTP= ${RESTRICTED} +NO_SRC_ON_FTP= ${RESTRICTED} +NO_BIN_ON_CDROM= ${RESTRICTED} +NO_SRC_ON_CDROM= ${RESTRICTED} + +USE_X11= yes +NO_CONFIGURE= yes +NO_WRKSUBDIR= yes + +do-build: + ${SED} -e 's,/usr/local/lib/icb,${PREFIX}/libdata/tkicb,g' \ + -e 's,wish8\.0,${PREFIX}/bin/wish,g' < ${WRKSRC}/bin/icb \ + > ${WRKSRC}/bin/tkicb + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/bin/tkicb ${PREFIX}/bin/tkicb + ${INSTALL_DATA_DIR} ${PREFIX}/libdata/tkicb + ${INSTALL_DATA_DIR} ${PREFIX}/libdata/tkicb/tcl + ${INSTALL_DATA_DIR} ${PREFIX}/libdata/tkicb/lib + ${INSTALL_SCRIPT} ${WRKSRC}/icb.tcl ${PREFIX}/libdata/tkicb/icb.tcl + ${INSTALL_SCRIPT} ${WRKSRC}/tcl/*.tcl ${PREFIX}/libdata/tkicb/tcl + ${INSTALL_SCRIPT} ${WRKSRC}/lib/confuse ${WRKSRC}/lib/flirt \ + ${WRKSRC}/lib/servers ${PREFIX}/libdata/tkicb/lib + ${INSTALL_SCRIPT} ${WRKSRC}/lib/* ${PREFIX}/libdata/tkicb/lib + +.include "../../mk/bsd.pkg.mk" diff --git a/chat/tkicb/files/md5 b/chat/tkicb/files/md5 new file mode 100644 index 00000000000..0d741c05d63 --- /dev/null +++ b/chat/tkicb/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/12/15 00:36:36 wiz Exp $ + +MD5 (icb.2.1.4.tar.Z) = fa59e787e2821755d5c82f6c62c59a99 diff --git a/chat/tkicb/files/patch-sum b/chat/tkicb/files/patch-sum new file mode 100644 index 00000000000..dbbac106d75 --- /dev/null +++ b/chat/tkicb/files/patch-sum @@ -0,0 +1,5 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/12/15 00:36:36 wiz Exp $ + +MD5 (patch-aa) = cf2bc494eaeaf5f23363c9aa77286900 +MD5 (patch-ab) = 7d335d980486839c12a19d1143542e93 +MD5 (patch-ac) = 8ff1e817ca3cdd352d2e95059957b29a diff --git a/chat/tkicb/patches/patch-aa b/chat/tkicb/patches/patch-aa new file mode 100644 index 00000000000..da88a8f223e --- /dev/null +++ b/chat/tkicb/patches/patch-aa @@ -0,0 +1,70 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/12/15 00:36:36 wiz Exp $ +--- tcl/protocol.tcl.orig Thu Jun 29 10:13:05 2000 ++++ tcl/protocol.tcl Mon Jun 1 14:53:11 1998 +@@ -379,20 +379,20 @@ + proc ICB:PERSONAL {sender args} { + TabHist:Add $sender + +- UTIL:EchoArgs [list $sender personal] "<*$sender*> " $args ++ UTIL:EchoArgs [list $sender personal] "[UTIL:TimeStamp] <*$sender*> " $args + } + + proc ICB:OPEN {sender args} { +- UTIL:EchoArgs [list $sender open] "<$sender> " $args ++ UTIL:EchoArgs [list $sender open] "[UTIL:TimeStamp] <$sender> " $args + } + + proc ICB:ERROR {args} { +- UTIL:EchoArgs error "\[=Error=\] " $args ++ UTIL:EchoArgs error "[UTIL:TimeStamp] \[=Error=\] " $args + } + + proc ICB:BEEP {sender args} { + TabHist:Add $sender +- UI:Output -type beep "\[=Beep!=\] $sender sent you a beep." ++ UI:Output -type beep "[UTIL:TimeStamp] \[=Beep!=\] $sender sent you a beep." + } + + proc ICB:STATUS {code argList} { +@@ -410,15 +410,15 @@ + + case $code { + Notify-On { +- set prefix "\[=ON @ $timeStamp=\]" ++ set prefix "[UTIL:TimeStamp] \[=ON=\]" + } + + Notify-Off { +- set prefix "\[=OFF @ $timeStamp=\]" ++ set prefix "[UTIL:TimeStamp] \[=OFF=\]" + } + + default { +- set prefix "\[=$code=\]" ++ set prefix "[UTIL:TimeStamp] \[=$code=\]" + } + } + +@@ -429,11 +429,11 @@ + # + # This doesn't seem to have any purpose. + # +- # UI:Output -type loginok "\[=LOGINOK=\] $sender $args" ++ # UI:Output -type loginok "[UTIL:TimeStamp] \[=LOGINOK=\] $sender $args" + } + + proc ICB:IMPORTANT {sender args} { +- UTIL:EchoArgs important "\[=$sender@[UTIL:TimeStamp]=\] " $args ++ UTIL:EchoArgs important "[UTIL:TimeStamp] \[=$sender@[UTIL:TimeStamp]=\] " $args + } + + proc ICB:EXIT {sender args} { +@@ -445,7 +445,7 @@ + } + + proc ICB:PONG {sender args} { +- UTIL:EchoArgs pong "\[=PONG=\] $sender " $args ++ UTIL:EchoArgs pong "[UTIL:TimeStamp] \[=PONG=\] $sender " $args + } + + proc ICB:AddConnectCallBack {command} { diff --git a/chat/tkicb/patches/patch-ab b/chat/tkicb/patches/patch-ab new file mode 100644 index 00000000000..3f7893ab55c --- /dev/null +++ b/chat/tkicb/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1.1.1 2000/12/15 00:36:36 wiz Exp $ +--- tcl/tabhist.tcl.orig Thu Aug 31 12:12:32 2000 ++++ tcl/tabhist.tcl Thu Aug 31 12:13:10 2000 +@@ -72,7 +72,7 @@ + regsub -all . $searchNick {\\&} matchStr + + foreach nick $TabHist_list { +- if {[regexp -nocase "^$matchStr$" $nick]} { ++ if {[string compare -nocase $matchStr $nick]} { + DEBUG:Output tabhist 6 "TabHist:Search: returning $index" + return $index + } diff --git a/chat/tkicb/patches/patch-ac b/chat/tkicb/patches/patch-ac new file mode 100644 index 00000000000..b1c699af6a1 --- /dev/null +++ b/chat/tkicb/patches/patch-ac @@ -0,0 +1,11 @@ +$NetBSD: patch-ac,v 1.1.1.1 2000/12/15 00:36:36 wiz Exp $ + +--- tcl/util.tcl.orig Mon Jun 1 14:53:11 1998 ++++ tcl/util.tcl Thu Oct 19 23:43:11 2000 +@@ -73,5 +73,5 @@ + incr index -1 + +- if {$index == 0} { ++ if {$index == $start} { + set index [expr $start + $maxLength] + break diff --git a/chat/tkicb/pkg/COMMENT b/chat/tkicb/pkg/COMMENT new file mode 100644 index 00000000000..6adbb8f8b51 --- /dev/null +++ b/chat/tkicb/pkg/COMMENT @@ -0,0 +1 @@ +TK interface to the ICB chat system diff --git a/chat/tkicb/pkg/DESCR b/chat/tkicb/pkg/DESCR new file mode 100644 index 00000000000..e3caf83615f --- /dev/null +++ b/chat/tkicb/pkg/DESCR @@ -0,0 +1 @@ +This is a tk-based chat client similar to irc, but for the icb protocol. diff --git a/chat/tkicb/pkg/PLIST b/chat/tkicb/pkg/PLIST new file mode 100644 index 00000000000..a2516339099 --- /dev/null +++ b/chat/tkicb/pkg/PLIST @@ -0,0 +1,24 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/15 00:36:36 wiz Exp $ +bin/tkicb +libdata/tkicb/icb.tcl +libdata/tkicb/lib/confuse +libdata/tkicb/lib/flirt +libdata/tkicb/lib/servers +libdata/tkicb/tcl/alert.tcl +libdata/tkicb/tcl/away.tcl +libdata/tkicb/tcl/color.tcl +libdata/tkicb/tcl/commands.tcl +libdata/tkicb/tcl/debug.tcl +libdata/tkicb/tcl/friends.tcl +libdata/tkicb/tcl/history.tcl +libdata/tkicb/tcl/log.tcl +libdata/tkicb/tcl/proclist.tcl +libdata/tkicb/tcl/protocol.tcl +libdata/tkicb/tcl/queue.tcl +libdata/tkicb/tcl/tabhist.tcl +libdata/tkicb/tcl/ui.tk.tcl +libdata/tkicb/tcl/util.tcl +libdata/tkicb/tcl/version.tcl +@dirrm libdata/tkicb/lib +@dirrm libdata/tkicb/tcl +@dirrm libdata/tkicb |