diff options
author | edwin <edwin@FreeBSD.org> | 2003-04-01 16:35:00 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-04-01 16:35:00 +0800 |
commit | 866862113bddc610c8470aee25d6a58f010ea6c6 (patch) | |
tree | 4f33d0965ab2194f9976f342481eaa4407899461 /irc/darkbot/files | |
parent | c0eb396e0b98cb185ccc7f6d6b548e9019990b92 (diff) | |
download | freebsd-ports-graphics-866862113bddc610c8470aee25d6a58f010ea6c6.tar.gz freebsd-ports-graphics-866862113bddc610c8470aee25d6a58f010ea6c6.tar.zst freebsd-ports-graphics-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/files')
-rw-r--r-- | irc/darkbot/files/patch-Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/irc/darkbot/files/patch-Makefile b/irc/darkbot/files/patch-Makefile new file mode 100644 index 00000000000..aecc689a1d7 --- /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} + |