aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-02-01 19:22:45 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-02-01 19:22:45 +0800
commit7993b953cd7827a2e43f317765974d2ea980dc5b (patch)
tree428368faf8287a6e46028c9416d1f93c354163f2
parenta46d6f6cfbb47f0959081b5ce7bb57a0ccaf85f6 (diff)
downloadfreebsd-ports-gnome-7993b953cd7827a2e43f317765974d2ea980dc5b.tar.gz
freebsd-ports-gnome-7993b953cd7827a2e43f317765974d2ea980dc5b.tar.zst
freebsd-ports-gnome-7993b953cd7827a2e43f317765974d2ea980dc5b.zip
- Update to 1.0.5
- Tweak depends
-rw-r--r--net-im/mcabber/Makefile23
-rw-r--r--net-im/mcabber/distinfo6
2 files changed, 18 insertions, 11 deletions
diff --git a/net-im/mcabber/Makefile b/net-im/mcabber/Makefile
index 77d38d383d15..4e711fecb91b 100644
--- a/net-im/mcabber/Makefile
+++ b/net-im/mcabber/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= mcabber
-PORTVERSION= 1.0.4
-PORTREVISION= 1
+PORTVERSION= 1.0.5
CATEGORIES= net-im
MASTER_SITES= http://www.lilotux.net/~mikael/mcabber/files/
@@ -13,24 +12,27 @@ COMMENT= Small Jabber console client
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libloudmouth-1.so:net-im/loudmouth
+# it picks libcharset from converters/libiconv installed by glib,
+# so provide an explicit dependency
+LIB_DEPENDS= libloudmouth-1.so:net-im/loudmouth \
+ libcharset.so:converters/libiconv
-USES= gettext iconv libtool localbase ncurses pathfix pkgconfig tar:bzip2
+USES= gettext iconv:wchar_t libtool localbase ncurses pathfix pkgconfig tar:bzip2
USE_GNOME= glib20
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-hgcset
+CONFIGURE_ARGS= --disable-hgcset --without-libidn
INSTALL_TARGET= install-strip
-OPTIONS_DEFINE= EXAMPLES GPGME OTR
+OPTIONS_DEFINE= EXAMPLES GPGME OTR IDN
+OPTIONS_DEFAULT= IDN
OPTIONS_RADIO= SPELL
OPTIONS_RADIO_SPELL= ASPELL ENCHANT
+OPTIONS_SUB= yes
ENCHANT_DESC= Spell checking support via Enchant
GPGME_DESC= OpenPGP support via GPGME
OTR_DESC= Off-the-record messaging support
-OPTIONS_SUB= yes
-
ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell
ASPELL_CONFIGURE_ENABLE=aspell
@@ -44,6 +46,9 @@ OTR_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libotr.so.5:security/libotr
OTR_CONFIGURE_ENABLE= otr
+IDN_LIB_DEPENDS= libidn.so:dns/libidn
+IDN_CONFIGURE_OFF= --without-libidn
+
post-patch:
@${REINPLACE_CMD} -e 's|$$"$${libdir}|"$${libdir}|' \
-e 's|-O2 $$CFLAGS|$$CFLAGS|' ${WRKSRC}/configure
@@ -51,6 +56,8 @@ post-patch:
post-install:
${INSTALL_DATA} ${WRKSRC}/mcabber.desktop \
${STAGEDIR}${PREFIX}/share/applications
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/mcabberrc.example \
${STAGEDIR}${EXAMPLESDIR}/mcabberrc
diff --git a/net-im/mcabber/distinfo b/net-im/mcabber/distinfo
index 82e67bdc5484..439f1661ca61 100644
--- a/net-im/mcabber/distinfo
+++ b/net-im/mcabber/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1479891108
-SHA256 (mcabber-1.0.4.tar.bz2) = 63b6bc003fcceba4dc4b273ed1c71643c4f8d95e8696543d53f64a7672b1ce0a
-SIZE (mcabber-1.0.4.tar.bz2) = 605462
+TIMESTAMP = 1485935359
+SHA256 (mcabber-1.0.5.tar.bz2) = a0f200817d2b6196fe4d37918ce16f6fed83a3cef861d7165161e8b1cafcad47
+SIZE (mcabber-1.0.5.tar.bz2) = 605483