summaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-03-04 16:07:55 +0000
committerkrion <krion@FreeBSD.org>2004-03-04 16:07:55 +0000
commit0f73c9ecfdfa5c7217e0ef50509e29a2fcab0954 (patch)
tree86002248945644ebc2e503770a90b223291025f2 /irc
parent5c41ffebdb8f11912984c14265875e2cbcd1c4b9 (diff)
downloadFreeBSD-ports-0f73c9ecfdfa5c7217e0ef50509e29a2fcab0954.zip
FreeBSD-ports-0f73c9ecfdfa5c7217e0ef50509e29a2fcab0954.tar.gz
- Update to version 2.6.1
PR: ports/63751 Submitted by: Ports Fury
Diffstat (limited to 'irc')
-rw-r--r--irc/ctrlproxy/Makefile25
-rw-r--r--irc/ctrlproxy/distinfo4
-rw-r--r--irc/ctrlproxy/files/patch-Makefile.in26
-rw-r--r--irc/ctrlproxy/files/patch-doc:Makefile.in15
-rw-r--r--irc/ctrlproxy/files/patch-mods:Makefile.in2
-rw-r--r--irc/ctrlproxy/files/patch-mods:stats.c11
-rw-r--r--irc/ctrlproxy/pkg-plist5
7 files changed, 63 insertions, 25 deletions
diff --git a/irc/ctrlproxy/Makefile b/irc/ctrlproxy/Makefile
index 958e247..6274479 100644
--- a/irc/ctrlproxy/Makefile
+++ b/irc/ctrlproxy/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= ctrlproxy
-PORTVERSION= 2.6
-PORTREVISION= 2
+PORTVERSION= 2.6.1
CATEGORIES= irc
MASTER_SITES= http://jelmer.vernstok.nl/ctrlproxy/
@@ -19,14 +18,11 @@ LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
pcre.0:${PORTSDIR}/devel/pcre \
tdb.1:${PORTSDIR}/databases/tdb
-USE_REINPLACE= yes
USE_OPENSSL= yes
-USE_GNOME= libxml2 glib20
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
+USE_GNOME= glib20 libxml2
USE_GMAKE= yes
-MAKE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= ctrlproxy.1
MAN5= ctrlproxyrc.5
@@ -37,8 +33,15 @@ MAN7= admin.7ctrlproxy antiflood.7ctrlproxy auto-away.7ctrlproxy \
repl_highlight.7ctrlproxy repl_none.7ctrlproxy repl_simple.7ctrlproxy \
socket.7ctrlproxy stats.7ctrlproxy strip.7ctrlproxy
-post-patch:
- @${FIND} ${WRKSRC} -name "*.c" | ${XARGS} ${GREP} -lR "malloc\.h" | \
- ${XARGS} ${REINPLACE_CMD} -e "s@malloc.h@stdlib.h@g"
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+
+post-install:
+.if !defined(NOPORTDOC)
+ @${MKDIR} ${DOCSDIR}
+.for file in AUTHORS TODO doc/ctrlproxy.html doc/ctrlproxy.pdf
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.mk>
diff --git a/irc/ctrlproxy/distinfo b/irc/ctrlproxy/distinfo
index 8616ce7..7aa811f 100644
--- a/irc/ctrlproxy/distinfo
+++ b/irc/ctrlproxy/distinfo
@@ -1,2 +1,2 @@
-MD5 (ctrlproxy-2.6.tar.gz) = f4d242cad2175f1626bb1d5558a8326a
-SIZE (ctrlproxy-2.6.tar.gz) = 409600
+MD5 (ctrlproxy-2.6.1.tar.gz) = 07e802ab99309ecce7ad3b87b16399fb
+SIZE (ctrlproxy-2.6.1.tar.gz) = 409600
diff --git a/irc/ctrlproxy/files/patch-Makefile.in b/irc/ctrlproxy/files/patch-Makefile.in
index 17710b4..71bad24 100644
--- a/irc/ctrlproxy/files/patch-Makefile.in
+++ b/irc/ctrlproxy/files/patch-Makefile.in
@@ -1,11 +1,29 @@
---- Makefile.in.orig Tue Oct 14 02:15:45 2003
-+++ Makefile.in Wed Oct 22 22:47:20 2003
-@@ -23,7 +23,7 @@
+--- Makefile.in.orig Mon Jan 12 09:26:24 2004
++++ Makefile.in Thu Mar 4 19:02:20 2004
+@@ -24,7 +24,7 @@
$(CC) $(LIBS) -rdynamic -o $@ $(OBJS)
printstats: printstats.o
- $(CC) -ltdb -o $@ $<
-+ $(CC) ${LIBS} -ltdb -o $@ $<
++ $(CC) -ltdb -o $@ $< @LDFLAGS@
%.o: %.c
$(CC) $(CFLAGS) -c $<
+@@ -36,7 +36,6 @@
+ $(INSTALL) -d $(DESTDIR)$(man5dir)
+ $(INSTALL) -d $(DESTDIR)$(includedir)
+ $(INSTALL) -d $(DESTDIR)$(modulesdir)
+- $(INSTALL) -d $(DESTDIR)$(docdir)
+ $(INSTALL) -d $(DESTDIR)$(datadir)
+ $(MAKE) -C doc install
+
+@@ -45,9 +44,6 @@
+
+ install-doc:
+ $(INSTALL) ctrlproxy.h $(DESTDIR)$(includedir)
+- $(INSTALL) AUTHORS $(DESTDIR)$(docdir)
+- $(INSTALL) COPYING $(DESTDIR)$(docdir)
+- $(INSTALL) TODO $(DESTDIR)$(docdir)
+
+ install-data:
+ $(INSTALL) motd $(DESTDIR)$(datadir)
diff --git a/irc/ctrlproxy/files/patch-doc:Makefile.in b/irc/ctrlproxy/files/patch-doc:Makefile.in
new file mode 100644
index 0000000..da82f1f
--- /dev/null
+++ b/irc/ctrlproxy/files/patch-doc:Makefile.in
@@ -0,0 +1,15 @@
+--- doc/Makefile.in.orig Tue Jan 20 04:29:52 2004
++++ doc/Makefile.in Thu Mar 4 19:01:46 2004
+@@ -51,12 +51,9 @@
+ $(INSTALL) -d $(DESTDIR)$(man1dir)
+ $(INSTALL) -d $(DESTDIR)$(man5dir)
+ $(INSTALL) -d $(DESTDIR)$(man7dir)
+- $(INSTALL) -d $(DESTDIR)$(docdir)
+ $(INSTALL) ctrlproxy.1 $(DESTDIR)$(man1dir)
+ $(INSTALL) ctrlproxyrc.5 $(DESTDIR)$(man5dir)
+ $(INSTALL) $(MOD_MANPAGES) $(DESTDIR)$(man7dir)
+- $(INSTALL) ctrlproxy.pdf $(DESTDIR)$(docdir)
+- $(INSTALL) ctrlproxy.html $(DESTDIR)$(docdir)
+ else
+ @echo
+ @echo "---------------------------------------------------------------"
diff --git a/irc/ctrlproxy/files/patch-mods:Makefile.in b/irc/ctrlproxy/files/patch-mods:Makefile.in
index 6158a59..b6ae43a 100644
--- a/irc/ctrlproxy/files/patch-mods:Makefile.in
+++ b/irc/ctrlproxy/files/patch-mods:Makefile.in
@@ -5,7 +5,7 @@
libstats.so: stats.o
- $(CC) $(CFLAGS) -shared -o $@ $< -ltdb @LIB_PCRE@
-+ $(CC) $(CFLAGS) -shared -o $@ $< @LIBS@ -ltdb @LIB_PCRE@
++ $(CC) $(CFLAGS) -shared -o $@ $< -ltdb @LIB_PCRE@ @LDFLAGS@
libsocket.so: @SOCKET_OBJS@
$(CC) $(CFLAGS) -shared -o $@ @SOCKET_OBJS@ @SSL_LIB@
diff --git a/irc/ctrlproxy/files/patch-mods:stats.c b/irc/ctrlproxy/files/patch-mods:stats.c
index ea4f070..3c25b0f 100644
--- a/irc/ctrlproxy/files/patch-mods:stats.c
+++ b/irc/ctrlproxy/files/patch-mods:stats.c
@@ -1,8 +1,11 @@
---- mods/stats.c.orig Wed Jan 7 09:20:11 2004
-+++ mods/stats.c Wed Jan 7 09:20:19 2004
-@@ -28,9 +28,9 @@
- #include <malloc.h>
+--- mods/stats.c.orig Wed Dec 10 05:46:40 2003
++++ mods/stats.c Thu Mar 4 19:08:20 2004
+@@ -25,12 +25,10 @@
#include <stdio.h>
+ #include <stdarg.h>
+ #include <string.h>
+-#include <malloc.h>
+-#include <stdio.h>
#include <time.h>
-#include <tdb.h>
#include <sys/types.h>
diff --git a/irc/ctrlproxy/pkg-plist b/irc/ctrlproxy/pkg-plist
index 3b35f17..6e620ff 100644
--- a/irc/ctrlproxy/pkg-plist
+++ b/irc/ctrlproxy/pkg-plist
@@ -18,12 +18,11 @@ lib/ctrlproxy/librepl_simple.so
lib/ctrlproxy/libsocket.so
lib/ctrlproxy/libstats.so
lib/ctrlproxy/libstrip.so
-share/ctrlproxy/motd
+%%DATADIR%%/motd
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/ctrlproxy.html
%%PORTDOCS%%%%DOCSDIR%%/ctrlproxy.pdf
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm share/ctrlproxy
+@dirrm %%DATADIR%%
@dirrm lib/ctrlproxy
OpenPOWER on IntegriCloud