source: trunk/dports/irc/infobot/Portfile

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

infobot: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 112159 2013-10-14 04:55:04Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            infobot
6version         0.45.3
7categories      irc
8license         {Artistic-1 GPL}
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, \
14                        and it up.
15
16platforms       darwin freebsd
17homepage        http://www.infobot.org/
18master_sites    ${homepage}src/
19checksums       md5 897a005182928613eadd30c267ce9c5b
20use_configure   no
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.