45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# New ports collection makefile for: loudmouth
|
|
# Date created: 08 July 2003
|
|
# Whom: Adam Weinberger <adamw@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= loudmouth
|
|
PORTVERSION= 1.4.3
|
|
PORTREVISION= 3
|
|
CATEGORIES= net-im gnome
|
|
MASTER_SITES= http://ftp.imendio.com/pub/imendio/loudmouth/src/ \
|
|
GNOME
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Lightweight Jabber client library
|
|
|
|
LIB_DEPENDS= idn.16:${PORTSDIR}/dns/libidn
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_GETTEXT= yes
|
|
USE_AUTOTOOLS= libtool
|
|
USE_LDCONFIG= yes
|
|
USE_GNOME= gnomehack glib20 ltverhack
|
|
CONFIGURE_ARGS= --disable-gtk-doc
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-Wl,-Bsymbolic -L${LOCALBASE}/lib"
|
|
|
|
OPTIONS= GNUTLS "Enable SSL (via GnuTLS) support" on
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !defined(WITHOUT_GNUTLS)
|
|
LIB_DEPENDS+= gnutls.40:${PORTSDIR}/security/gnutls
|
|
RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
|
|
.else
|
|
CONFIGURE_ARGS+= --without-ssl
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
|
|
${WRKSRC}/loudmouth/lm-ssl-gnutls.c
|
|
|
|
.include <bsd.port.post.mk>
|