summaryrefslogblamecommitdiff
path: root/net-im/gloox/Makefile
blob: 253e7f0128eaaf88c70c24aec5deceefb19aa8d7 (plain) (tree)
1
2
3
4
5
6
7
8
9
                   
           

                     
                      


                                           
                                 

                                          

                     

                                                        
 
                                                   
                   

                             

                                      
                                  
 

                           

                              

                                                


                                                                               
 
                      
# Created by: trasz
# $FreeBSD$

PORTNAME=	gloox
PORTVERSION=	1.0.13
CATEGORIES=	net-im
MASTER_SITES=	http://camaya.net/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Jabber/XMPP client library

LICENSE=	GPLv3

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

post-patch:
	@${REINPLACE_CMD} -e \
		's|"GNU strip"|"strip"| ; \
		 s| -ansi||' ${WRKSRC}/configure
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
		's| -pedantic|| ; \
		 s| -pipe||'

.include <bsd.port.mk>