ports/net-im/telepathy-gabble/Makefile
Rene Ladan 4485bd8221 all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
2024-10-01 20:56:20 +02:00

56 lines
1.6 KiB
Makefile

PORTNAME= telepathy-gabble
PORTVERSION= 0.18.4
PORTREVISION= 4
CATEGORIES= net-im
MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/
MAINTAINER= gnome@FreeBSD.org
COMMENT= Jabber Connection Manager for Telepathy Framework
WWW= https://telepathy.freedesktop.org/
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= telepathy-glib>=0.22.0:net-im/telepathy-glib \
ca_root_nss>=0:security/ca_root_nss
LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \
libnice.so:net-im/libnice \
libtelepathy-glib.so:net-im/telepathy-glib \
libdbus-glib-1.so:devel/dbus-glib \
libdbus-1.so:devel/dbus \
libgnutls.so:security/gnutls \
libuuid.so:misc/e2fsprogs-libuuid \
libloudmouth-1.so:net-im/loudmouth
RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss \
libnice-gst1>=0:net-im/libnice-gst1
PORTSCOUT= limitw:1,even
USES= alias gmake gnome libtool pathfix pkgconfig python:build \
shebangfix sqlite ssl
USE_GNOME= glib20 gtksourceview3 libxslt:build
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt
CONFIGURE_ENV= LIBS="-pthread"
INSTALL_TARGET= install-strip
SHEBANG_FILES= plugins/telepathy-gabble-xmpp-console
PLIST_SUB= PVERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT} == base
CONFIGURE_ENV+= OPENSSL_LIBS="-L/usr/lib -ssl -crypto" OPENSSL_CFLAGS="-I/usr/include"
.endif
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-Werror||g' \
${WRKSRC}/lib/ext/wocky/configure
.include <bsd.port.post.mk>