mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
824a45d527
PR: 214547 Submitted by: myself Approved by: maintainer timeout
38 lines
837 B
Makefile
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>
|