aboutsummaryrefslogtreecommitdiff
path: root/net-im/gloox/Makefile
blob: 4e22cb2cbc186a06204190e121c7363f539692d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: trasz
# $FreeBSD$

PORTNAME=	gloox
PORTVERSION=	1.0.9
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

USE_BZIP2=	yes
USES=		compiler:c++11-lang libtool pathfix pkgconfig
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 900033
USE_BINUTILS=	yes
LDFLAGS+=	-B${LOCALBASE}/bin
.endif

post-patch:
	@${REINPLACE_CMD} -e \
		's|-lgcrypt||' ${WRKSRC}/configure

.include <bsd.port.post.mk>