1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/net-im/qxmpp/Makefile
Pawel Pekala 824a45d527 Add qxmpp Qt5 slave port needed for polish/kadu update
PR:		214547
Submitted by:	myself
Approved by:	maintainer timeout
2016-12-05 20:26:36 +00:00

38 lines
837 B
Makefile

# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
# $FreeBSD$
PORTNAME= qxmpp
PORTVERSION= 0.9.3
DISTVERSIONPREFIX= v
CATEGORIES= net-im
MAINTAINER= vg@FreeBSD.org
COMMENT= QXmpp is an xmpp client library based on Qt & C++
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE.LGPL
CONFLICTS?= ${PORTNAME}-qt5-[0-9]*
USES= qmake pathfix pkgconfig libtool
.if defined(QXMPP_SLAVE)
USE_QT5= core gui network xml buildtools_build
PLIST_SUB= QDNS="@comment "
.else
USE_QT4= corelib gui network qtestlib xml uic_build moc_build \
rcc_build
PLIST_SUB= QDNS=""
.endif
QMAKE_ARGS= QXMPP_NO_TESTS=1
USE_GITHUB= yes
GH_ACCOUNT= qxmpp-project
PLIST_SUB+= VERSION=${PORTVERSION} VERSION_MAJOR=${PORTVERSION:R}
pre-configure:
${REINPLACE_CMD} -e 's|pkgconfig|../libdata/pkgconfig|g' \
${WRKSRC}/src/src.pro
.include <bsd.port.mk>