summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-07-14 02:57:56 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-07-14 02:57:56 +0000
commitd527a6677a6f12fcbe47be7d758e6332f3b2674a (patch)
treeb1a52cac060d25c088a2541c99e6f9858fad7f7b /net-im
parentget rid of libgnugetopt dependency for -CURRENT, (diff)
* Update to 0.11
* Add optional Gnutls support
Notes
Notes: svn path=/head/; revision=84843
Diffstat (limited to 'net-im')
-rw-r--r--net-im/loudmouth/Makefile22
-rw-r--r--net-im/loudmouth/distinfo2
2 files changed, 19 insertions, 5 deletions
diff --git a/net-im/loudmouth/Makefile b/net-im/loudmouth/Makefile
index d8ad6d04af4f..54f382875b98 100644
--- a/net-im/loudmouth/Makefile
+++ b/net-im/loudmouth/Makefile
@@ -6,19 +6,33 @@
#
PORTNAME= loudmouth
-PORTVERSION= 0.10.1
+PORTVERSION= 0.11
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.10
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.11
MAINTAINER= gnome@FreeBSD.org
COMMENT= Lightweight Jabber client library
USE_BZIP2= yes
-GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
USE_GNOME= gnomehack glib20
+CONFIGURE_ARGS= --disable-gtk-doc
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libgnutls.so)
+WITH_GNUTLS= yes
+.endif
+
+.if defined(WITH_GNUTLS)
+LIB_DEPENDS+= gnutls.8:${PORTSDIR}/security/gnutls
+.else
+CONFIGURE_ARGS+= --without-ssl
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net-im/loudmouth/distinfo b/net-im/loudmouth/distinfo
index cfdc984bf65c..f459b04a6776 100644
--- a/net-im/loudmouth/distinfo
+++ b/net-im/loudmouth/distinfo
@@ -1 +1 @@
-MD5 (loudmouth-0.10.1.tar.bz2) = 02772bf6af0a1a8572387913605c9031
+MD5 (loudmouth-0.11.tar.bz2) = 3644a165e5276b00aa083c4be197f0bf