aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/gloox/Makefile
blob: f784b20a4749e48374be98c816c8f4067504a661 (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
37
38
39
40
# New ports collection makefile for:    gloox
# Date created:         24 April 2006
# Whom:             trasz
#
# $FreeBSD$
#

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

MAINTAINER= trasz@pin.if.uz.zgora.pl
COMMENT=    Jabber/XMPP client library

LIB_DEPENDS=    iksemel.3:${PORTSDIR}/textproc/iksemel \
        idn.16:${PORTSDIR}/dns/libidn \
        gnutls.13:${PORTSDIR}/security/gnutls

USE_BZIP2=  yes
USE_GNOME=  gnomehack
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes

.include <bsd.port.pre.mk>

.if (${OSVERSION} < 500000)
BROKEN=     does not build on FreeBSD < 5.x
.endif

post-install:
    @${FIND} ${PREFIX}/include/gloox ! -type d | \
        ${SED} "s,${PREFIX}/,," >> ${TMPPLIST}
    @${FIND} ${PREFIX}/include/gloox -type d | ${SORT} -r | \
        ${SED} "s,${PREFIX}/,@dirrm ," >> ${TMPPLIST}

.include <bsd.port.post.mk>