1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

add bobot++

An IRC bot written in C++
This commit is contained in:
Ying-Chieh Liao 2001-09-07 14:22:36 +00:00
parent 7eee6981b6
commit 761540f47a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47495
8 changed files with 98 additions and 0 deletions

View File

@ -4,6 +4,7 @@
SUBDIR += bitchx
SUBDIR += blackened
SUBDIR += bnc
SUBDIR += bobot++
SUBDIR += dcc
SUBDIR += dircproxy
SUBDIR += epic4

47
irc/bobot++/Makefile Normal file
View File

@ -0,0 +1,47 @@
# ex:ts=8
# New ports collection makefile for: bobot++
# Date created: Sep 7, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= bobot++
PORTVERSION= 1.97
CATEGORIES= irc
MASTER_SITES= http://pltplp.net/bobot++/archive/
DISTNAME= ${PORTNAME}.${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
GNU_CONFIGURE= yes
.if defined(WITH_GUILE)
LIB_DEPENDS+= guile:${PORTSDIR}/lang/guile
GUILE_CONFIG= ${LOCALBASE}/bin/guile-config
CONFIGURE_ARGS+= --enable-script
.endif
.if defined(WITH_TELNET)
CONFIGURE_ARGS+= --enable-telnetserver
.endif
post-patch:
@${PERL} -pi -e "s,%%GUILE_CONFIG%%,${GUILE_CONFIG},g ; \
s,%%PTHREAD_CFLAGS%%,${PTHREAD_CFLAGS},g ; \
s,%%PTHREAD_LIBS%%,${PTHREAD_LIBS},g" ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bobot++ ${PREFIX}/bin
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
${CP} ${WRKSRC}/doc/* ${DOCSDIR}
@${MKDIR} ${DATADIR}
${CP} -R ${WRKSRC}/examples ${DATADIR}
${CP} -R ${WRKSRC}/scripts ${DATADIR}
.endif
.include <bsd.port.mk>

1
irc/bobot++/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (bobot++.1.97.tgz) = e41c1927ff13cdf77e5386de7fba6270

View File

@ -0,0 +1,13 @@
--- configure.orig Fri Sep 7 21:52:05 2001
+++ configure Fri Sep 7 21:53:18 2001
@@ -545,8 +545,8 @@
enableval="$enable_script"
if test $enableval = "yes"; then
- GUILE_DEFINES="-DUSESCRIPTS -DMULTITHREAD"
- GUILE_LIBS="-lguile"
+ GUILE_DEFINES="-DUSESCRIPTS -DMULTITHREAD `%%GUILE_CONFIG%% compile` %%PTHREAD_CFLAGS%%"
+ GUILE_LIBS="-lguile `%%GUILE_CONFIG%% link` %%PTHREAD_LIBS%%"
GUILE_SOURCES="BotInterp.C Interp.C ScriptCommands.C"
GUILE_INCLUDES="BotInterp.H Interp.H ScriptCommands.H"
fi

View File

@ -0,0 +1,13 @@
--- source/Makefile.in.orig Fri Sep 7 21:53:43 2001
+++ source/Makefile.in Fri Sep 7 21:53:51 2001
@@ -4,8 +4,8 @@
DEFINES=@HAVE_STL_CLEAR@ @DISABLE_CRYPT@ @GUILE_DEFINES@ @TSERVER_DEFINES@
RM=rm -f
-CXX=@CXX@ -g
-CXXFLAGS=$(DEFINES)
+CXX=@CXX@
+CXXFLAGS+=$(DEFINES)
LDFLAGS=@LDFLAGS@ @GUILE_LIBS@
SOURCES=BanEntry.C \

1
irc/bobot++/pkg-comment Normal file
View File

@ -0,0 +1 @@
An IRC bot written in C++

3
irc/bobot++/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
The bobot++ is an IRC bot written in C++.
WWW: http://pltplp.net/bobot++/

19
irc/bobot++/pkg-plist Normal file
View File

@ -0,0 +1,19 @@
bin/bobot++
%%PORTDOCS%%share/doc/bobot++/index.html
%%PORTDOCS%%share/bobot++/examples/bot.log
%%PORTDOCS%%share/bobot++/examples/bot.help
%%PORTDOCS%%share/bobot++/examples/bot.init
%%PORTDOCS%%share/bobot++/examples/bot.conf
%%PORTDOCS%%share/bobot++/examples/bot.shit
%%PORTDOCS%%share/bobot++/examples/bot.users
%%PORTDOCS%%share/bobot++/examples/bot.autoexec
%%PORTDOCS%%share/bobot++/scripts/country
%%PORTDOCS%%share/bobot++/scripts/hello
%%PORTDOCS%%share/bobot++/scripts/tamere
%%PORTDOCS%%share/bobot++/scripts/uname
%%PORTDOCS%%share/bobot++/scripts/uptime
%%PORTDOCS%%share/bobot++/scripts/boulet
%%PORTDOCS%%@dirrm share/doc/bobot++
%%PORTDOCS%%@dirrm share/bobot++/examples
%%PORTDOCS%%@dirrm share/bobot++/scripts
%%PORTDOCS%%@dirrm share/bobot++