1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/net-im/qxmpp/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
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
2018-06-28 17:39:53 +00:00

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>