mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
46e00f0b65
- remove defunct DOCS option - cleanup options handling for SSL options
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# Created by: Adam Weinberger <adamw@FreeBSD.org>
|
|
# $MCom: ports/trunk/net-im/loudmouth/Makefile 19914 2014-09-25 22:33:21Z kwm $
|
|
|
|
PORTNAME= loudmouth
|
|
DISTVERSION= 1.5.4
|
|
CATEGORIES= net-im
|
|
MASTER_SITES= https://mcabber.com/files/loudmouth/ \
|
|
http://www.lilotux.net/~mikael/mcabber/files/loudmouth/
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Lightweight Jabber client library
|
|
|
|
LICENSE= LGPL21+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libidn.so:dns/libidn
|
|
|
|
USES= gettext gmake gnome libtool pkgconfig tar:bzip2
|
|
USE_GNOME= glib20
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
CONFIGURE_ARGS= --disable-rebuilds \
|
|
--disable-gtk-doc \
|
|
--with-compile-warnings=no \
|
|
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
|
|
INSTALL_TARGET= install-strip
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
OPTIONS_RADIO= SSL
|
|
OPTIONS_RADIO_SSL= GNUTLS OPENSSL
|
|
|
|
OPTIONS_DEFAULT= GNUTLS
|
|
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
|
|
GNUTLS_CONFIGURE_ON= --with-ssl=gnutls
|
|
|
|
OPENSSL_USES= ssl
|
|
OPENSSL_CONFIGURE_ON= --with-ssl=openssl
|
|
OPENSSL_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if empty(PORT_OPTIONS:MGNUTLS) && empty(PORT_OPTIONS:MOPENSSL)
|
|
CONFIGURE_ARGS+= --without-ssl
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|