aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/mcabber/Makefile
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-10-29 20:21:36 +0800
committersat <sat@FreeBSD.org>2007-10-29 20:21:36 +0800
commit45a5645a3195ae3b20d96da4ad2246160808b567 (patch)
tree22c0b3d54ffc2e39443e2b0b0b2a5bd5522bd13b /net-im/mcabber/Makefile
parent6dca3a5620e86ce2e240afa9584a4b37b6edebe9 (diff)
downloadfreebsd-ports-gnome-45a5645a3195ae3b20d96da4ad2246160808b567.tar.gz
freebsd-ports-gnome-45a5645a3195ae3b20d96da4ad2246160808b567.tar.zst
freebsd-ports-gnome-45a5645a3195ae3b20d96da4ad2246160808b567.zip
- Update to 0.9.4
Diffstat (limited to 'net-im/mcabber/Makefile')
-rw-r--r--net-im/mcabber/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/net-im/mcabber/Makefile b/net-im/mcabber/Makefile
index 48c034ee80f3..d0c1bb6ff8a9 100644
--- a/net-im/mcabber/Makefile
+++ b/net-im/mcabber/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mcabber
-PORTVERSION= 0.9.3
+PORTVERSION= 0.9.4
CATEGORIES= net-im
MASTER_SITES= http://www.lilotux.net/~mikael/mcabber/files/ CENKES
@@ -28,6 +28,7 @@ LDFLAGS= -L${LOCALBASE}/lib
MAN1= mcabber.1
OPTIONS= GPGME "Use security/gpgme for PGP support" off \
+ OTR "Off-the-record messaging support" off \
ASPELL "Use textproc/aspell for spell checking" off
.include <bsd.port.pre.mk>
@@ -54,6 +55,14 @@ CONFIGURE_ARGS+=--enable-aspell
CONFIGURE_ARGS+=--disable-aspell
.endif
+.if defined(WITH_OTR)
+LIB_DEPENDS+= otr.3:${PORTSDIR}/security/libotr \
+ gcrypt.13:${PORTSDIR}/security/libgcrypt
+CONFIGURE_ARGS+=--enable-otr
+.else
+CONFIGURE_ARGS+=--disable-otr
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|$$"$${datadir}"|"$${datadir}"|;s|-O2||'\
${WRKSRC}/configure ${WRKSRC}/*/configure