# $Id: Portfile,v 1.18 2003/08/05 09:29:13 jkh Exp $ PortSystem 1.0 name infobot version 0.45.3 categories irc maintainers darwinports@opendarwin.org description IRC Bot written in Perl with a rabid AI long_description The infobot connects to an Internet Relay Chat (IRC) server, joins \ some channels (maybe), and begins accumulating factoids. To run one, \ download the source, uncompress it, untar it, edit the config files, \ and it up. platforms darwin freebsd master_sites http://www.infobot.org/src/ checksums md5 897a005182928613eadd30c267ce9c5b configure {} build {} destroot { system "install -o root -m 755 -d ${destroot}${prefix}/bin" set script [open "${prefix}/bin/infobot" w 0755] puts $script "#!/bin/sh" puts $script "cd ${prefix}/share/infobot && perl infobot" close $script cd ${portpath}/${workdir}/${worksrcdir} system "install -o root -m 755 -d ${destroot}${prefix}/share/infobot" system "cp -Rp * ${destroot}${prefix}/share/infobot" }