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

Last change on this file since 21484 was 20435, checked in by jberry@…, 13 years ago

Convert all darwinports@… addresses
to nomaintainer@… or openmaintainer@….

See http://trac.macports.org/projects/macports/wiki/SpecialMaintainerAddresses
for more information.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 955 bytes
Line 
1# $Id: Portfile 20435 2006-11-03 02:20:14Z jberry@macports.org $
2
3PortSystem 1.0
4name            infobot
5version         0.45.3
6categories      irc
7maintainers     nomaintainer@macports.org
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
15master_sites    http://www.infobot.org/src/
16checksums       md5 897a005182928613eadd30c267ce9c5b
17configure       {}
18build           {}
19destroot        { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
20                  set script [open "${prefix}/bin/infobot" w 0755]
21                  puts $script "#!/bin/sh"
22                  puts $script "cd ${prefix}/share/infobot && perl infobot"
23                  close $script
24                  cd ${portpath}/${workdir}/${worksrcdir}
25                  system "install -o root -m 755 -d ${destroot}${prefix}/share/infobot"
26                  system "cp -Rp * ${destroot}${prefix}/share/infobot" }
27
Note: See TracBrowser for help on using the repository browser.