summaryrefslogtreecommitdiffstats
path: root/irc/sirc/scripts
diff options
context:
space:
mode:
authormph <mph@FreeBSD.org>1998-05-07 05:20:22 +0000
committermph <mph@FreeBSD.org>1998-05-07 05:20:22 +0000
commit9f2d96199b8dcd089aa4d6c3e6ffd14df4deed74 (patch)
treeb29740de66e97d62ee2ebccdcb1d9dc46c880bbd /irc/sirc/scripts
parent418dfa18555de81418c292b7d11d50710520b2a2 (diff)
downloadFreeBSD-ports-9f2d96199b8dcd089aa4d6c3e6ffd14df4deed74.zip
FreeBSD-ports-9f2d96199b8dcd089aa4d6c3e6ffd14df4deed74.tar.gz
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 0000000..2de5b34
--- /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
OpenPOWER on IntegriCloud