aboutsummaryrefslogtreecommitdiff
path: root/irc/bitlbee-otr
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-06-08 08:05:24 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-06-08 08:05:24 +0000
commitead465b0dda0def780e3c6466df119de8f3ef296 (patch)
tree868ed50a56a73cc69047859e26403d64aaf0b767 /irc/bitlbee-otr
parentd4e1bd224cc6d640c8891dcec551ba8435f21a1f (diff)
downloadports-ead465b0dda0def780e3c6466df119de8f3ef296.tar.gz
ports-ead465b0dda0def780e3c6466df119de8f3ef296.zip
Notes
Diffstat (limited to 'irc/bitlbee-otr')
-rw-r--r--irc/bitlbee-otr/Makefile18
-rw-r--r--irc/bitlbee-otr/distinfo4
-rw-r--r--irc/bitlbee-otr/files/patch-configure20
3 files changed, 34 insertions, 8 deletions
diff --git a/irc/bitlbee-otr/Makefile b/irc/bitlbee-otr/Makefile
index 31e0df0a49b7..43c76c9b6ad0 100644
--- a/irc/bitlbee-otr/Makefile
+++ b/irc/bitlbee-otr/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-otr/distinfo b/irc/bitlbee-otr/distinfo
index f9b4d0cd7699..446f7183f66f 100644
--- a/irc/bitlbee-otr/distinfo
+++ b/irc/bitlbee-otr/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-otr/files/patch-configure b/irc/bitlbee-otr/files/patch-configure
new file mode 100644
index 000000000000..b0aad763e611
--- /dev/null
+++ b/irc/bitlbee-otr/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