openbsd-ports/net/sirc/files/sirc-script
reinhard 7974b79e64 MAINTAINER= Peter Valchev <pvalchev@toxiclinux.org>
Sirc is an Internet Relay Chat programmable client written in 
perl and C. It has a main perl script that can be run in 'dumb'
mode, standalone, and a separate split-screen front end in C,
called ssfe.
2001-02-24 11:25:58 +00:00

17 lines
294 B
Bash

#!/bin/sh
PERL=/usr/bin/perl
if test -z "$SIRCSERVER" && test -z "$IRCSERVER"
then
SIRCSERVER="irc.ef.net"
export SIRCSERVER
fi
case "$1" in
-d) shift
exec ${PERL} PREFIX.SED/bin/dsirc "$@"
;;
*) eval exec PREFIX.SED/bin/ssfe $SSFE ${PERL} PREFIX.SED/bin/dsirc \"\$@\"
esac