diff options
author | mph <mph@FreeBSD.org> | 1998-05-07 05:20:22 +0000 |
---|---|---|
committer | mph <mph@FreeBSD.org> | 1998-05-07 05:20:22 +0000 |
commit | 9f2d96199b8dcd089aa4d6c3e6ffd14df4deed74 (patch) | |
tree | b29740de66e97d62ee2ebccdcb1d9dc46c880bbd /irc/sirc/scripts | |
parent | 418dfa18555de81418c292b7d11d50710520b2a2 (diff) | |
download | FreeBSD-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-proto | 17 |
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 |