aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/gloox/Makefile
blob: 2e205c0cc0209cc7167a5b382348c2e96269aace (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
# Created by: trasz
# $FreeBSD$

PORTNAME=   gloox
PORTVERSION=    1.0.10
PORTREVISION=   4
CATEGORIES= net-im
MASTER_SITES=   http://camaya.net/download/

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

LICENSE=    GPLv3
LICENSE_FILE=   ${WRKSRC}/LICENSE

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

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

.include <bsd.port.mk>