aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-07-14 10:57:56 +0800
committermarcus <marcus@FreeBSD.org>2003-07-14 10:57:56 +0800
commit75df9b5c30968a41ed80b41b63bb6844a4c47e4a (patch)
tree80a5e5ee4bd0aae202be923b68881903ea87f6e6 /net
parent971087c2b4d6b0b917e3fac3ac1334b04f7c9907 (diff)
downloadfreebsd-ports-gnome-75df9b5c30968a41ed80b41b63bb6844a4c47e4a.tar.gz
freebsd-ports-gnome-75df9b5c30968a41ed80b41b63bb6844a4c47e4a.tar.zst
freebsd-ports-gnome-75df9b5c30968a41ed80b41b63bb6844a4c47e4a.zip
* Update to 0.11
* Add optional Gnutls support
Diffstat (limited to 'net')
-rw-r--r--net/loudmouth/Makefile22
-rw-r--r--net/loudmouth/distinfo2
2 files changed, 19 insertions, 5 deletions
diff --git a/net/loudmouth/Makefile b/net/loudmouth/Makefile
index d8ad6d04af4f..54f382875b98 100644
--- a/net/loudmouth/Makefile
+++ b/net/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/loudmouth/distinfo b/net/loudmouth/distinfo
index cfdc984bf65c..f459b04a6776 100644
--- a/net/loudmouth/distinfo
+++ b/net/loudmouth/distinfo
@@ -1 +1 @@
-MD5 (loudmouth-0.10.1.tar.bz2) = 02772bf6af0a1a8572387913605c9031
+MD5 (loudmouth-0.11.tar.bz2) = 3644a165e5276b00aa083c4be197f0bf