a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 20435 2006-11-03 02:20:14Z jberry@macports.org $
PortSystem 1.0
name infobot
version 0.45.3
categories irc
maintainers nomaintainer@macports.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" }