source: trunk/dports/irc/infobot/Portfile @ 32689

Last change on this file since 32689 was 32689, checked in by ryandesign@…, 12 years ago

infobot: add missing required variable 'homepage'

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