---
name: darkbot
version: 6f6.r6,1
origin: irc/darkbot
comment: IRC talking bot with a very fast algorithm for its database
arch: freebsd:9:x86:64
www: http://darkbot.sourceforge.net/
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 111848
desc: |
  Originally created  by Jason Hamilton  as an aid  for help
  channels to answer  repeated questions  from its virtually
  unlimited database, it has became  a  very popular talking
  robot in a generic sense, being used all over IRC networks
  for different  purposes and  in 18 languages.  Data can be
  added to it  and  managed  dynamically online or edited in
  its database files offline.

  WWW: http://darkbot.sourceforge.net/
categories: [irc]
files:
  /usr/local/bin/darkbot: 2f50c0b239531aa0f76a66b321f6de3786f97b2ef47dd8145aab42e779c5a260
  /usr/local/etc/darkbot/AddServer: 817f6f26b02d7dec41fd6e808d1cf9345c415b6e5bb4726a9ff62594a4bd8cc3
  /usr/local/etc/darkbot/Adduser: 73242e9e80a282dcb6a0375cacaa0e3459754236f5e82f905f0c0780afd19a1f
  /usr/local/etc/darkbot/config: 23088ab3e79d717c464a74014e3e40849bb586f5b308579a99c4f7523f54d959
  /usr/local/etc/darkbot/configure: 4acaeec1c22fc286f647c0d8f7424f803667544b26310ffb998237da180195a8
  /usr/local/etc/darkbot/dat/deop.ini.dist: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
  /usr/local/etc/darkbot/dat/info2.db.dist: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
  /usr/local/etc/darkbot/dat/perform.ini.dist: 49dd2ab6f1df301c15def47aaf6c78c8363c8fa8bc11eb16a8f013f47ddfc763
  /usr/local/etc/darkbot/dat/permbans.db.dist: 44ed57dc438120eb65ba58e8717884b15be884843fa8368bc5dfd4c24224e01a
  /usr/local/etc/darkbot/dat/random.ini.dist: 75aa3988d2336a8e668e7055321c6f9b43d5f68e0156479d0104b9dd799e7ac4
  /usr/local/etc/darkbot/dat/randomstuff.ini.dist: 994b45bc00112f4fdb5599697ec0f758c93519c13e8b036589050a8261669582
  /usr/local/etc/darkbot/dat/seen.db.dist: 0c20f9de3c9eec191882bc161e59c9b6701ce53b40b10df98142de9c9fa291bc
  /usr/local/etc/darkbot/logs/.pkgcreate: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
  /usr/local/man/man1/darkbot.1.gz: 7fc18616522fa2939ee401fbcf0c4e96661b71b1e722f475e95eef5b74a5227b
  /usr/local/share/doc/darkbot/README: 8610fc383caa18175f9f6bab32935bf8c21c21330f72c6f6a6f556ff6da42161
directories:
  /usr/local/share/doc/darkbot/: n
  /usr/local/etc/darkbot/logs/: y
  /usr/local/etc/darkbot/dat/: y
  /usr/local/etc/darkbot/: y
scripts:
  post-install: |
    cp -np /usr/local/etc/darkbot/dat/deop.ini.dist /usr/local/etc/darkbot/dat/deop.ini
    cp -np /usr/local/etc/darkbot/dat/info2.db.dist /usr/local/etc/darkbot/dat/info2.db
    cp -np /usr/local/etc/darkbot/dat/perform.ini.dist /usr/local/etc/darkbot/dat/perform.ini
    cp -np /usr/local/etc/darkbot/dat/permbans.db.dist /usr/local/etc/darkbot/dat/permbans.db
    cp -np /usr/local/etc/darkbot/dat/random.ini.dist /usr/local/etc/darkbot/dat/random.ini
    cp -np /usr/local/etc/darkbot/dat/randomstuff.ini.dist /usr/local/etc/darkbot/dat/randomstuff.ini
    cp -np /usr/local/etc/darkbot/dat/seen.db.dist /usr/local/etc/darkbot/dat/seen.db
  pre-deinstall: |
    cmp -s /usr/local/etc/darkbot/dat/deop.ini  /usr/local/etc/darkbot/dat/deop.ini.dist &&  rm -f /usr/local/etc/darkbot/dat/deop.ini || true
    cmp -s /usr/local/etc/darkbot/dat/info2.db  /usr/local/etc/darkbot/dat/info2.db.dist &&  rm -f /usr/local/etc/darkbot/dat/info2.db || true
    cmp -s /usr/local/etc/darkbot/dat/perform.ini  /usr/local/etc/darkbot/dat/perform.ini.dist &&  rm -f /usr/local/etc/darkbot/dat/perform.ini || true
    cmp -s /usr/local/etc/darkbot/dat/permbans.db  /usr/local/etc/darkbot/dat/permbans.db.dist &&  rm -f /usr/local/etc/darkbot/dat/permbans.db || true
    cmp -s /usr/local/etc/darkbot/dat/random.ini  /usr/local/etc/darkbot/dat/random.ini.dist &&  rm -f /usr/local/etc/darkbot/dat/random.ini || true
    cmp -s /usr/local/etc/darkbot/dat/randomstuff.ini  /usr/local/etc/darkbot/dat/randomstuff.ini.dist &&  rm -f /usr/local/etc/darkbot/dat/randomstuff.ini || true
    cmp -s /usr/local/etc/darkbot/dat/seen.db  /usr/local/etc/darkbot/dat/seen.db.dist &&  rm -f /usr/local/etc/darkbot/dat/seen.db || true
message: |
  Before using darkbot, it must be configured.

  Configuration is achieved using:

  # sh /usr/local/etc/darkbot/configure
