aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-11-22 20:55:00 +0800
committermakc <makc@FreeBSD.org>2013-11-22 20:55:00 +0800
commit612bc3c9c8698b6a8cdbb965267678a0ac829218 (patch)
treeedc1328e7d68e649db202ae07c396b88869f73de /net-im
parent83574ff9450fce1ff644a38992000262dfd6586b (diff)
downloadfreebsd-ports-gnome-612bc3c9c8698b6a8cdbb965267678a0ac829218.tar.gz
freebsd-ports-gnome-612bc3c9c8698b6a8cdbb965267678a0ac829218.tar.zst
freebsd-ports-gnome-612bc3c9c8698b6a8cdbb965267678a0ac829218.zip
- Convert to USES=qmake (and other USES while I'm here)
- Add state support - Convert LIB_DEPENDS to new style, adjust USE_QT4 components, etc. Approved by: portmgr (blanket approval)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/qxmpp-leechcraft/Makefile9
-rw-r--r--net-im/qxmpp/Makefile7
2 files changed, 6 insertions, 10 deletions
diff --git a/net-im/qxmpp-leechcraft/Makefile b/net-im/qxmpp-leechcraft/Makefile
index 258b591c5cd5..27970c1db1cc 100644
--- a/net-im/qxmpp-leechcraft/Makefile
+++ b/net-im/qxmpp-leechcraft/Makefile
@@ -13,21 +13,18 @@ COMMENT= XMPP client library based on C++ and Qt
LICENSE= LGPL21
-LIB_DEPENDS= speex:${PORTSDIR}/audio/speex
+LIB_DEPENDS= libspeex.so:${PORTSDIR}/audio/speex
+USES= qmake
USE_BZIP2= yes
-USE_QT4= gui moc_build network qmake_build rcc_build uic_build xml
+USE_QT4= gui moc_build network rcc_build uic_build xml
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-NO_STAGE= yes
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>
diff --git a/net-im/qxmpp/Makefile b/net-im/qxmpp/Makefile
index a73b6d429b13..9725a61f458d 100644
--- a/net-im/qxmpp/Makefile
+++ b/net-im/qxmpp/Makefile
@@ -12,16 +12,15 @@ COMMENT= QXmpp is an xmpp client library based on Qt & C++
LICENSE= LGPL21
-USE_QT4= gui network xml qmake_build uic_build moc_build rcc_build
+USES= qmake
+USE_QT4= gui network xml uic_build moc_build rcc_build
CONFLICTS= ${PORTNAME}-leechcraft-[0-9]*
-NO_STAGE= yes
-do-configure:
+pre-configure:
${REINPLACE_CMD} -e 's|%%QT_LIBDIR_REL%%|${QT_LIBDIR_REL}|g' \
${WRKSRC}/src/src.pro
${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${DOCSDIR}|g' \
${WRKSRC}/${PORTNAME}.pro
- cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
.include <bsd.port.mk>