aboutsummaryrefslogtreecommitdiffstats
path: root/irc/sirc/scripts
diff options
context:
space:
mode:
authormph <mph@FreeBSD.org>1998-05-07 13:20:22 +0800
committermph <mph@FreeBSD.org>1998-05-07 13:20:22 +0800
commit9f2d96199b8dcd089aa4d6c3e6ffd14df4deed74 (patch)
treeb29740de66e97d62ee2ebccdcb1d9dc46c880bbd /irc/sirc/scripts
parent418dfa18555de81418c292b7d11d50710520b2a2 (diff)
downloadfreebsd-ports-gnome-9f2d96199b8dcd089aa4d6c3e6ffd14df4deed74.tar.gz
freebsd-ports-gnome-9f2d96199b8dcd089aa4d6c3e6ffd14df4deed74.tar.zst
freebsd-ports-gnome-9f2d96199b8dcd089aa4d6c3e6ffd14df4deed74.zip
Import of sirc, Yet Another IRC Client. (Is this the "net" equivalent
of Minesweeper in "games"?) This one is written in Perl, so it is convenient for people who would like to script in Perl. PR: 6535 Submitted by: Studded@dal.net
Diffstat (limited to 'irc/sirc/scripts')
-rw-r--r--irc/sirc/scripts/sirc-proto17
1 files changed, 17 insertions, 0 deletions
diff --git a/irc/sirc/scripts/sirc-proto b/irc/sirc/scripts/sirc-proto
new file mode 100644
index 000000000000..2de5b34e9810
--- /dev/null
+++ b/irc/sirc/scripts/sirc-proto
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+PREFIX=
+SIRCLIB=${PREFIX}/libexec/sirc ; export SIRCLIB
+
+if test -z "$SIRCSERVER" && test -z "$IRCSERVER"
+then
+ SIRCSERVER="irc.dal.net"
+ export SIRCSERVER
+fi
+
+case "$1" in
+ -d) shift
+ exec ${PREFIX}/bin/perl5 ${SIRCLIB}/dsirc "$@"
+ ;;
+ *) eval exec ${PREFIX}/bin/ssfe $SSFE ${PREFIX}/bin/perl5 ${SIRCLIB}/dsirc \"\$@\"
+esac