mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
upgrade to 1.99.2
This commit is contained in:
parent
fe8309d7fd
commit
7b6353c912
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79985
@ -7,42 +7,41 @@
|
||||
#
|
||||
|
||||
PORTNAME= bobot++
|
||||
PORTVERSION= 1.97
|
||||
PORTVERSION= 1.99.2
|
||||
CATEGORIES= irc
|
||||
MASTER_SITES= http://pltplp.net/bobot++/archive/
|
||||
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
MASTER_SITES= http://savannah.nongnu.org/download/bobotpp/stable.pkg/${PORTVERSION}/
|
||||
DISTNAME= Bobot++-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= An IRC bot written in C++
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_REINPLACE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
.if defined(WITH_GUILE)
|
||||
.if defined(WITHOUT_GUILE)
|
||||
CONFIGURE_ARGS+= --disable-script
|
||||
.else
|
||||
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
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-telnetserver
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -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
|
||||
post-extract:
|
||||
@${FIND} ${WRKSRC}/scripts -name "*~" -delete
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${CP} ${WRKSRC}/doc/* ${DOCSDIR}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
|
||||
@${MKDIR} ${DATADIR}
|
||||
${CP} -R ${WRKSRC}/examples ${DATADIR}
|
||||
${CP} -R ${WRKSRC}/scripts ${DATADIR}
|
||||
.endif
|
||||
|
||||
|
@ -1 +1 @@
|
||||
MD5 (bobot++.1.97.tgz) = e41c1927ff13cdf77e5386de7fba6270
|
||||
MD5 (Bobot++-1.99.2.tar.gz) = 41c87d61d34c07430318c5c7436585bd
|
||||
|
@ -1,13 +0,0 @@
|
||||
--- 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
|
@ -1,11 +0,0 @@
|
||||
--- source/ChannelList.C.orig Sat Nov 23 21:40:56 2002
|
||||
+++ source/ChannelList.C Sat Nov 23 21:41:04 2002
|
||||
@@ -41,7 +41,7 @@
|
||||
}
|
||||
|
||||
void
|
||||
-ChannelList::addChannel(ServerConnection *cnx, String name, String wantedModes = "")
|
||||
+ChannelList::addChannel(ServerConnection *cnx, String name, String wantedModes)
|
||||
{
|
||||
name = name.toLower();
|
||||
list[name] = new Channel(cnx, name, wantedModes);
|
@ -1,13 +0,0 @@
|
||||
--- 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,11 +0,0 @@
|
||||
--- source/ServerList.C.orig Sat Nov 23 21:47:22 2002
|
||||
+++ source/ServerList.C Sat Nov 23 21:47:47 2002
|
||||
@@ -40,7 +40,7 @@
|
||||
void
|
||||
ServerList::delServer(int n)
|
||||
{
|
||||
- v.erase(&v[n]);
|
||||
+ v.erase(v.begin() + n);
|
||||
}
|
||||
|
||||
Server *
|
@ -1,11 +0,0 @@
|
||||
--- source/TodoList.H.orig Sat Nov 23 21:55:46 2002
|
||||
+++ source/TodoList.H Sat Nov 23 22:07:57 2002
|
||||
@@ -23,6 +23,8 @@
|
||||
|
||||
#include "String.H"
|
||||
|
||||
+using namespace std;
|
||||
+
|
||||
class TodoList;
|
||||
|
||||
class TodoListItem {
|
@ -1,3 +1,3 @@
|
||||
The bobot++ is an IRC bot written in C++.
|
||||
|
||||
WWW: http://pltplp.net/bobot++/
|
||||
WWW: http://unknownlamer.org/code/bobot.html
|
||||
|
@ -1,19 +1,28 @@
|
||||
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++
|
||||
bin/bobotpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/bot.log
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/bot.help
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/bot.init
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/bot.conf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/bot.shit
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/bot.users
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/bot.autoexec
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%%%DATADIR%%/scripts/bobot-utils.scm
|
||||
%%PORTDOCS%%%%DATADIR%%/scripts/boulet
|
||||
%%PORTDOCS%%%%DATADIR%%/scripts/country
|
||||
%%PORTDOCS%%%%DATADIR%%/scripts/eval
|
||||
%%PORTDOCS%%%%DATADIR%%/scripts/hello
|
||||
%%PORTDOCS%%%%DATADIR%%/scripts/scheme_add_user
|
||||
%%PORTDOCS%%%%DATADIR%%/scripts/scripts.load
|
||||
%%PORTDOCS%%%%DATADIR%%/scripts/stupid_stuff/insert_saying.scm
|
||||
%%PORTDOCS%%%%DATADIR%%/scripts/stupid_stuff/sayings
|
||||
%%PORTDOCS%%%%DATADIR%%/scripts/stupid_stuff/sayings.sh
|
||||
%%PORTDOCS%%%%DATADIR%%/scripts/stupid_stuff/stupid_stuff
|
||||
%%PORTDOCS%%%%DATADIR%%/scripts/tamere
|
||||
%%PORTDOCS%%%%DATADIR%%/scripts/uname
|
||||
%%PORTDOCS%%%%DATADIR%%/scripts/uptime
|
||||
%%PORTDOCS%%@dirrm %%DATADIR%%/scripts/stupid_stuff
|
||||
%%PORTDOCS%%@dirrm %%DATADIR%%/scripts
|
||||
%%PORTDOCS%%@dirrm %%DATADIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user