mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
b1a1d38bf9
From now on, ports that depend on Qt4 will have to set USES= qt:4 USE_QT= foo bar ports depending on Qt5 will use USES= qt:5 USE_QT= foo bar PR: 229225 Exp-run by: antoine Reviewed by: mat Approved by: portmgr (antoine) Differential Revision: →https://reviews.freebsd.org/D15540
40 lines
866 B
Makefile
40 lines
866 B
Makefile
# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qxmpp
|
|
PORTVERSION= 0.9.3
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= net-im
|
|
|
|
MAINTAINER= ports@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)
|
|
USES+= qt:5
|
|
USE_QT= core gui network xml buildtools_build
|
|
PLIST_SUB= QDNS="@comment "
|
|
.else
|
|
USES+= qt:4
|
|
USE_QT= 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>
|