freebsd-ports/net-im/gloox/Makefile
Guido Falsi bd5cee9c84 - Update to 1.0.14
- Add option to use mDNS

PR:		202855
Submitted by:	Ports Fury
2015-09-26 13:04:22 +00:00

41 lines
927 B
Makefile

# Created by: trasz
# $FreeBSD$
PORTNAME= gloox
PORTVERSION= 1.0.14
CATEGORIES= net-im
MASTER_SITES= http://camaya.net/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Jabber/XMPP client library
LICENSE= GPLv3
#LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn \
libgnutls.so:${PORTSDIR}/security/gnutls
USES= libtool pathfix pkgconfig tar:bzip2
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTSCOUT= skipv:1.0.x
OPTIONS_DEFINE= MDNSRESPONDER
MDNSRESPONDER_LIB_DEPENDS= libdns_sd.so:${PORTSDIR}/net/mDNSResponder
MDNSRESPONDER_CONFIGURE_ENABLE= mdns
post-patch:
@${REINPLACE_CMD} -e \
's| -ansi|| ; \
s|\(enable_mdns=\)yes|\1$$enableval|' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's| -pedantic|| ; \
s| -pipe||'
.include <bsd.port.mk>