aboutsummaryrefslogtreecommitdiffstats
path: root/irc/darkbot
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-04-01 16:35:00 +0800
committeredwin <edwin@FreeBSD.org>2003-04-01 16:35:00 +0800
commit866862113bddc610c8470aee25d6a58f010ea6c6 (patch)
tree4f33d0965ab2194f9976f342481eaa4407899461 /irc/darkbot
parentc0eb396e0b98cb185ccc7f6d6b548e9019990b92 (diff)
downloadfreebsd-ports-gnome-866862113bddc610c8470aee25d6a58f010ea6c6.tar.gz
freebsd-ports-gnome-866862113bddc610c8470aee25d6a58f010ea6c6.tar.zst
freebsd-ports-gnome-866862113bddc610c8470aee25d6a58f010ea6c6.zip
irc/darkbot - The talking IRC Bot!
Darkbot is a very smart IRC bot with a very fast algorithm for an auto-responder database. More information about Darkbot can be found on http://darkbot.sourceforge.net/ PR: ports/48847 Submitted by: A. Gabriel <backslash@BSDCode.org>
Diffstat (limited to 'irc/darkbot')
-rw-r--r--irc/darkbot/Makefile28
-rw-r--r--irc/darkbot/distinfo1
-rw-r--r--irc/darkbot/files/patch-Makefile30
-rw-r--r--irc/darkbot/pkg-comment2
-rw-r--r--irc/darkbot/pkg-descr11
-rw-r--r--irc/darkbot/pkg-plist9
6 files changed, 81 insertions, 0 deletions
diff --git a/irc/darkbot/Makefile b/irc/darkbot/Makefile
new file mode 100644
index 000000000000..575804943f9c
--- /dev/null
+++ b/irc/darkbot/Makefile
@@ -0,0 +1,28 @@
+# Ports collection makefile for: Darkbot
+# Date created: 24 February 2003
+# Whom: A. Gabriel <backslash@BSDCode.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= darkbot
+PORTVERSION= 6f6_r6
+CATEGORIES= irc
+MASTER_SITES= http://darkbot.sourceforge.net/archive/unix/ \
+ http://www.BSDCode.org/port/
+
+MAINTAINER= backslash@BSDCode.org
+COMMENT= IRC talking bot with a very fast algorithm for its database
+
+PLIST= ${WRKDIR}/plist
+
+MAN1= darkbot.1
+MANCOMPRESSED= yes
+
+GNU_CONFIGURE= yes
+IS_INTERACTIVE= yes
+
+pre-install:
+ ${CAT} ${MASTERDIR}/pkg-plist | ${SED} -e "s,/usr/local,${LOCALBASE},g" > ${PLIST}
+
+.include <bsd.port.mk>
diff --git a/irc/darkbot/distinfo b/irc/darkbot/distinfo
new file mode 100644
index 000000000000..b280e40e617a
--- /dev/null
+++ b/irc/darkbot/distinfo
@@ -0,0 +1 @@
+MD5 (darkbot-6f6_r6.tar.gz) = 8b27e94dafc967dee89938be67a7d8cb
diff --git a/irc/darkbot/files/patch-Makefile b/irc/darkbot/files/patch-Makefile
new file mode 100644
index 000000000000..aecc689a1d72
--- /dev/null
+++ b/irc/darkbot/files/patch-Makefile
@@ -0,0 +1,30 @@
+--- Makefile.orig Tue Apr 1 00:14:41 2003
++++ Makefile Tue Apr 1 00:23:28 2003
+@@ -23,14 +23,15 @@
+
+ ALL_SRC = darkbot.c
+
+-BASE_DIR = /usr/local/
++BASE_DIR = ${PREFIX}/
+
+ all: ; ${CC} ${CFLAGS} ${ALL_SRC} -o ${EXE_NAME};
+ chmod +x ./configure;
+
+ install: ; cp darkbot ${BASE_DIR}bin/;
+- mkdir ${BASE_DIR}etc/darkbot/; mkdir ${BASE_DIR}etc/darkbot/logs/;
+- mkdir ${BASE_DIR}etc/darkbot/dat/;
++ -mkdir ${BASE_DIR}etc/darkbot/;
++ -mkdir ${BASE_DIR}etc/darkbot/logs/;
++ -mkdir ${BASE_DIR}etc/darkbot/dat/;
+ cp dat/* ${BASE_DIR}etc/darkbot/dat/; chmod +x ./.runonce; ./.runonce;
+ cp configure config; chmod -x ./config;
+ cp ./config ${BASE_DIR}etc/darkbot/;
+@@ -38,7 +39,7 @@
+ echo "cd /usr/local/etc/darkbot/;/bin/sh config" >> \
+ ${BASE_DIR}etc/darkbot/configure;
+ chmod +x ${BASE_DIR}etc/darkbot/configure;
+- cp ./darkbot.1.gz /usr/local/man/man1/;
++ cp ./darkbot.1.gz ${BASE_DIR}man/man1/;
+
+ debug: ; ${CC} ${DFLAGS} ${ALL_SRC} -o ${EXE_NAME}; cat .debug ; gdb ${EXE_NAME}
+
diff --git a/irc/darkbot/pkg-comment b/irc/darkbot/pkg-comment
new file mode 100644
index 000000000000..ae3f8fa0c0df
--- /dev/null
+++ b/irc/darkbot/pkg-comment
@@ -0,0 +1,2 @@
+IRC talking bot with a very fast algorithm for its database (auto-responds
+on given masks).
diff --git a/irc/darkbot/pkg-descr b/irc/darkbot/pkg-descr
new file mode 100644
index 000000000000..5c0bd3be9ec8
--- /dev/null
+++ b/irc/darkbot/pkg-descr
@@ -0,0 +1,11 @@
+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/
+
+--backslash <backslash@BSDCode.org>
diff --git a/irc/darkbot/pkg-plist b/irc/darkbot/pkg-plist
new file mode 100644
index 000000000000..040d0c918038
--- /dev/null
+++ b/irc/darkbot/pkg-plist
@@ -0,0 +1,9 @@
+bin/darkbot
+etc/darkbot/dat/info2.db
+etc/darkbot/dat/deop.ini
+etc/darkbot/dat/perform.ini
+etc/darkbot/dat/permbans.db
+etc/darkbot/dat/random.ini
+etc/darkbot/dat/randomstuff.ini
+etc/darkbot/dat/seen.db
+@unexec rm -rf /usr/local/etc/darkbot/ /usr/local/bin/darkbot*