aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/qxmpp-leechcraft/Makefile
blob: 07cd6e2df4604577610e96eebea733269b180409 (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
# New ports collection makefile for:    qxmpp-leechcraft
# Date created:             2012-01-07
# Whom:             Gvozdikov Veniamin <g.veniamin@googlemail.com>
#
# $FreeBSD$
#

PORTNAME=   qxmpp
PORTVERSION=    0.3.61
CATEGORIES= net-im
MASTER_SITES=   http://cloud.github.com/downloads/0xd34df00d/qxmpp-dev/
PKGNAMESUFFIX=  -leechcraft
DISTNAME=   qxmpp-${PORTVERSION}-extras

MAINTAINER= vg@FreeBSD.org
COMMENT=    XMPP client library based on C++ and Qt

LICENSE=    LGPL21

LIB_DEPENDS=    speex:${PORTSDIR}/audio/speex

USE_BZIP2=  yes
USE_QT4=    gui moc_build network qmake_build rcc_build uic_build xml

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

post-patch:
    @${REINPLACE_CMD} -e 's|pkgconfig|../libdata/&|' \
        ${WRKSRC}/src/src.pro
    @${REINPLACE_CMD} -E 's|(docs\.commands\|INSTALLS)|#&|' \
        ${WRKSRC}/${PORTNAME}.pro

do-configure:
    @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS}

.include <bsd.port.mk>