aboutsummaryrefslogtreecommitdiffstats
path: root/irc/bitlbee
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-06-08 16:05:24 +0800
committerpav <pav@FreeBSD.org>2004-06-08 16:05:24 +0800
commit1a3c153b759ce67016a4dc3d889b3b1a8004b3c3 (patch)
tree9aece439b8ea1bd7c48ae34bd30808e78d312ff1 /irc/bitlbee
parentb42450f2d1468a538f48ae81ac7c9222e98fb8e3 (diff)
downloadfreebsd-ports-gnome-1a3c153b759ce67016a4dc3d889b3b1a8004b3c3.tar.gz
freebsd-ports-gnome-1a3c153b759ce67016a4dc3d889b3b1a8004b3c3.tar.zst
freebsd-ports-gnome-1a3c153b759ce67016a4dc3d889b3b1a8004b3c3.zip
- Update to 0.90
- Add WITH_FLOOD knob Submitted by: Peter van Dijk <peter@dataloss.nl> (maintainer), Herbert J. Skuhra <herbert.skuhra@gmx.at>
Diffstat (limited to 'irc/bitlbee')
-rw-r--r--irc/bitlbee/Makefile18
-rw-r--r--irc/bitlbee/distinfo4
-rw-r--r--irc/bitlbee/files/patch-configure20
3 files changed, 34 insertions, 8 deletions
diff --git a/irc/bitlbee/Makefile b/irc/bitlbee/Makefile
index 31e0df0a49b7..43c76c9b6ad0 100644
--- a/irc/bitlbee/Makefile
+++ b/irc/bitlbee/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= bitlbee
-PORTVERSION= 0.85a
-PORTREVISION= 1
+PORTVERSION= 0.90
CATEGORIES= irc
MASTER_SITES= http://get.bitlbee.org/src/
@@ -21,17 +20,24 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --mandir=${PREFIX}/man --config=${PREFIX}/etc/bitlbee
USE_GMAKE= yes
USE_GNOME= glib20
+USE_GETOPT_LONG= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
.if defined(WITH_MSN)
-LIB_DEPENDS= gnutls.12:${PORTSDIR}/security/gnutls
-CONFIGURE_ARGS+=--msn=1
+LIB_DEPENDS+= gnutls.12:${PORTSDIR}/security/gnutls
+CONFIGURE_ARGS+= --msn=1
pre-configure:
@${ECHO_CMD} "MSN support will be enabled."
.else
-CONFIGURE_ARGS+=--msn=0
+CONFIGURE_ARGS+= --msn=0
pre-configure:
- @${ECHO_CMD} "Type \"make -DWITH_MSN\" if you want enable MSN support."
+ @${ECHO_CMD} "Type \"make -DWITH_MSN\" if you want to enable MSN support."
+.endif
+
+.if defined(WITH_FLOOD)
+CONFIGURE_ARGS+= --flood=1
+.else
+ @${ECHO_CMD} "Type \"make -DWITH_FLOOD\" if you want to enable flood protection."
.endif
post-build:
diff --git a/irc/bitlbee/distinfo b/irc/bitlbee/distinfo
index f9b4d0cd7699..446f7183f66f 100644
--- a/irc/bitlbee/distinfo
+++ b/irc/bitlbee/distinfo
@@ -1,2 +1,2 @@
-MD5 (bitlbee-0.85a.tar.gz) = d26fc287993e020b38fbde7e5ac6ad0b
-SIZE (bitlbee-0.85a.tar.gz) = 470425
+MD5 (bitlbee-0.90.tar.gz) = b6a7093651141e95b6ac78bf3eec95f3
+SIZE (bitlbee-0.90.tar.gz) = 433321
diff --git a/irc/bitlbee/files/patch-configure b/irc/bitlbee/files/patch-configure
new file mode 100644
index 000000000000..b0aad763e611
--- /dev/null
+++ b/irc/bitlbee/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig Tue Jun 8 09:55:00 2004
++++ configure Tue Jun 8 09:54:50 2004
+@@ -86,7 +86,7 @@
+
+ DESTDIR=
+ LFLAGS=
+-EFLAGS=
++EFLAGS=$LDFLAGS
+ EOF
+
+ cat<<EOF>config.h
+@@ -108,7 +108,7 @@
+ echo 'DEBUG=1' >> Makefile.settings
+ echo '#define DEBUG' >> config.h
+ else
+- echo 'CFLAGS=-O3' >> Makefile.settings;
++ echo "CFLAGS=$CPPFLAGS" >> Makefile.settings;
+ fi
+
+ echo CFLAGS+=-I`pwd` -I`pwd`/protocols -I. >> Makefile.settings