aboutsummaryrefslogblamecommitdiff
path: root/net-im/gloox/Makefile
blob: 49b8a9ec3146575189fa1c8ef3f03a893308dade (plain) (tree)
1
2
3
4
5
6
7
8
9
                     
                      


                                           
                                 
                                          
                                        
 

                                              
 

                                            
 
                                                             
                   

                             
 

                           
                                          
 
                                                              
                                    
                             
 

                              

                                                                          


                                                                               
 
                      
PORTNAME=	gloox
DISTVERSION=	1.0.24
CATEGORIES=	net-im
MASTER_SITES=	http://camaya.net/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Jabber/XMPP client library
WWW=		https://camaya.net/gloox

LICENSE=	GPLv3 # with OpenSSL exception
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libidn.so:dns/libidn \
		libgnutls.so:security/gnutls

USES=		libtool localbase pathfix pkgconfig tar:bzip2
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
USE_LDCONFIG=	yes

PORTSCOUT=	skipv:1.0.x

OPTIONS_DEFINE=		MDNSRESPONDER TEST

MDNSRESPONDER_LIB_DEPENDS=	libdns_sd.so:net/mDNSResponder
MDNSRESPONDER_CONFIGURE_ENABLE=	mdns
TEST_CONFIGURE_WITH=	tests

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>