summaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-02-28 22:55:24 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-02-28 22:55:24 +0800
commit22aab69ffa4a6a2301f8f0fda0c191c16f578c68 (patch)
treeff1fffb9dc63c454d8d4d8a4406ca2aadfa57b95 /net-im
parent5de758dcb2f39c2a2b32c508a8914aa857d94c2e (diff)
downloadmarcuscom-ports-22aab69ffa4a6a2301f8f0fda0c191c16f578c68.tar.gz
marcuscom-ports-22aab69ffa4a6a2301f8f0fda0c191c16f578c68.tar.zst
marcuscom-ports-22aab69ffa4a6a2301f8f0fda0c191c16f578c68.zip
Sync with ports (gnutls update).
Update Makefile header, remove shlib versions from LIB_DEPENDS and convert to OptionsNG. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@17211 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net-im')
-rw-r--r--net-im/loudmouth/Makefile27
1 files changed, 12 insertions, 15 deletions
diff --git a/net-im/loudmouth/Makefile b/net-im/loudmouth/Makefile
index d9cea4ef7..ffc876b02 100644
--- a/net-im/loudmouth/Makefile
+++ b/net-im/loudmouth/Makefile
@@ -1,20 +1,16 @@
-# New ports collection makefile for: loudmouth
-# Date created: 08 July 2003
-# Whom: Adam Weinberger <adamw@FreeBSD.org>
-#
+# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= loudmouth
PORTVERSION= 1.4.3
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= net-im gnome
MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= Lightweight Jabber client library
-LIB_DEPENDS= idn.17:${PORTSDIR}/dns/libidn
+LIB_DEPENDS= idn:${PORTSDIR}/dns/libidn
USE_BZIP2= yes
USE_GMAKE= yes
@@ -26,23 +22,24 @@ CONFIGURE_ARGS= --disable-gtk-doc
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -Wl,-Bsymbolic -L${LOCALBASE}/lib
-OPTIONS= GNUTLS "Enable SSL (via GnuTLS) support" on \
- OPENSSL "Enable SSL (via OpenSSL) support" off
+OPTIONS_DEFAULT=GNUTLS
+OPTIONS_RADIO= SSL
+OPTIONS_RADIO_SSL= GNUTLS OPENSSL
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_GNUTLS)
-LIB_DEPENDS+= gnutls.47:${PORTSDIR}/security/gnutls
+.if ${PORT_OPTIONS:MGNUTLS}
+LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
.endif
-.if defined(WITH_OPENSSL)
+.if ${PORT_OPTIONS:MOPENSSL}
USE_OPENSSL= yes
CONFIGURE_ARGS+=--with-ssl=openssl
RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
.endif
-.if !defined(WITH_GNUTLS) && !defined(WITH_OPENSSL)
+.if !${PORT_OPTIONS:MGNUTLS} && !${PORT_OPTIONS:MOPENSSL}
CONFIGURE_ARGS+=--without-ssl
.endif
@@ -50,4 +47,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/loudmouth/lm-ssl-gnutls.c
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>