source: trunk/dports/irc/infobot/Portfile

Last change on this file was 112159, checked in by jmr@…, 6 years ago

infobot: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
[20314]1# $Id: Portfile 112159 2013-10-14 04:55:04Z $
[32690]3PortSystem      1.0
[32687]5name            infobot
6version         0.45.3
7categories      irc
[112159]8license         {Artistic-1 GPL}
[32687]9maintainers     nomaintainer
10description     IRC Bot written in Perl with a rabid AI
11long_description        The infobot connects to an Internet Relay Chat (IRC) server, joins \
12                        some channels (maybe), and begins accumulating factoids. To run one, \
13                        download the source, uncompress it, untar it, edit the config files, \
[32690]14                        and it up.
[32687]16platforms       darwin freebsd
18master_sites    ${homepage}src/
[32687]19checksums       md5 897a005182928613eadd30c267ce9c5b
[32688]20use_configure   no
[32687]21build           {}
22destroot        { xinstall -m 755 -d ${destroot}${prefix}/bin
23                  set script [open "${prefix}/bin/infobot" w 0755]
24                  puts $script "#!/bin/sh"
25                  puts $script "cd ${prefix}/share/infobot && perl infobot"
26                  close $script
27                  xinstall -m 755 -d ${destroot}${prefix}/share/infobot
28                  eval file copy [glob ${worksrcpath}/*] ${destroot}${prefix}/share/infobot }
Note: See TracBrowser for help on using the repository browser.