PortSystem 1.0 portname infobot portversion 0.45.3 categories irc maintainers eric@opendarwin.org description IRC Bot written in Perl with a rabid AI master_sites http://www.infobot.org/src/ checksums md5 897a005182928613eadd30c267ce9c5b configure {} build {} install { system "install -o root -m 755 -d ${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 ${prefix}/share/infobot" system "cp -Rp * ${prefix}/share/infobot" } # Obtain the rather large contents list from a separate file include contents