aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/qxmpp-leechcraft
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2012-08-30 10:15:58 +0800
committerdanfe <danfe@FreeBSD.org>2012-08-30 10:15:58 +0800
commit45359b25481f62695730df6a00ef2c08b33580d8 (patch)
tree845b40700f543ed8870af124df12149fea7ccca1 /net-im/qxmpp-leechcraft
parent276ca6784b55dc61004fa18aca031dcd5f861686 (diff)
downloadfreebsd-ports-gnome-45359b25481f62695730df6a00ef2c08b33580d8.tar.gz
freebsd-ports-gnome-45359b25481f62695730df6a00ef2c08b33580d8.tar.zst
freebsd-ports-gnome-45359b25481f62695730df6a00ef2c08b33580d8.zip
Add net-im/qxmpp-leechcraft, an XMPP client library based on C++ and Qt.
PR: ports/170416
Diffstat (limited to 'net-im/qxmpp-leechcraft')
-rw-r--r--net-im/qxmpp-leechcraft/Makefile37
-rw-r--r--net-im/qxmpp-leechcraft/distinfo2
-rw-r--r--net-im/qxmpp-leechcraft/files/patch-src-QXmppSrvInfo.h16
-rw-r--r--net-im/qxmpp-leechcraft/pkg-descr9
-rw-r--r--net-im/qxmpp-leechcraft/pkg-plist75
5 files changed, 139 insertions, 0 deletions
diff --git a/net-im/qxmpp-leechcraft/Makefile b/net-im/qxmpp-leechcraft/Makefile
new file mode 100644
index 000000000000..7544e0c67d46
--- /dev/null
+++ b/net-im/qxmpp-leechcraft/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: qxmpp-leechcraft
+# Date created: 2012-01-07
+# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= qxmpp
+PORTVERSION= 0.3.61
+CATEGORIES= net-im
+MASTER_SITES= http://cloud.github.com/downloads/0xd34df00d/qxmpp-dev/
+PKGNAMESUFFIX= -leechcraft
+DISTNAME= qxmpp-${PORTVERSION}-extras
+
+MAINTAINER= g.veniamin@googlemail.com
+COMMENT= XMPP client library based on C++ and Qt
+
+LICENSE= LGPL21
+
+LIB_DEPENDS= speex:${PORTSDIR}/audio/speex
+
+USE_BZIP2= yes
+USE_QT_VER= 4
+QT_COMPONENTS= gui moc_build network qmake_build rcc_build uic_build xml
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+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-leechcraft/distinfo b/net-im/qxmpp-leechcraft/distinfo
new file mode 100644
index 000000000000..52c3ea995136
--- /dev/null
+++ b/net-im/qxmpp-leechcraft/distinfo
@@ -0,0 +1,2 @@
+SHA256 (qxmpp-0.3.61-extras.tar.bz2) = 4309a8d91fe8b71214b1e7133f77bf23527f5e366f4bb44b8d2235da4622eb25
+SIZE (qxmpp-0.3.61-extras.tar.bz2) = 205766
diff --git a/net-im/qxmpp-leechcraft/files/patch-src-QXmppSrvInfo.h b/net-im/qxmpp-leechcraft/files/patch-src-QXmppSrvInfo.h
new file mode 100644
index 000000000000..e8a9aa59706b
--- /dev/null
+++ b/net-im/qxmpp-leechcraft/files/patch-src-QXmppSrvInfo.h
@@ -0,0 +1,16 @@
+--- src/QXmppSrvInfo.h.orig 2012-01-07 19:34:05.556368712 +0000
++++ src/QXmppSrvInfo.h 2012-01-07 19:34:38.676876486 +0000
+@@ -27,6 +27,13 @@
+ #include <QList>
+ #include <QString>
+
++#ifdef __FreeBSD__
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
++#include <netinet/ip.h>
++#endif
++
+ class QObject;
+ class QXmppSrvInfoPrivate;
+ class QXmppSrvRecordPrivate;
diff --git a/net-im/qxmpp-leechcraft/pkg-descr b/net-im/qxmpp-leechcraft/pkg-descr
new file mode 100644
index 000000000000..8d4820f94cec
--- /dev/null
+++ b/net-im/qxmpp-leechcraft/pkg-descr
@@ -0,0 +1,9 @@
+QXmpp is pretty intuitive and easy to use. It uses Qt extensively; it is
+the only third party library it depends upon. Users need to have working
+knowledge of C++ and Qt basics (Signals and Slots and Qt data types). The
+underlying TCP socket and the XMPP RFCs (RFC3920 and RFC3921) have been
+encapsulated into classes and functions. Therefore the user would not be
+bothered with these details. But it is recommended to advanced users to
+read and enjoy the low level details.
+
+WWW: http://code.google.com/p/qxmpp/
diff --git a/net-im/qxmpp-leechcraft/pkg-plist b/net-im/qxmpp-leechcraft/pkg-plist
new file mode 100644
index 000000000000..834acee0c479
--- /dev/null
+++ b/net-im/qxmpp-leechcraft/pkg-plist
@@ -0,0 +1,75 @@
+lib/libqxmpp-lc.a
+include/qxmpp-lc/QXmppArchiveManager.h
+include/qxmpp-lc/QXmppCallManager.h
+include/qxmpp-lc/QXmppVersionIq.h
+include/qxmpp-lc/QXmppStreamFeatures.h
+include/qxmpp-lc/QXmppEntityTimeManager.h
+include/qxmpp-lc/QXmppRpcIq.h
+include/qxmpp-lc/QXmppDeliveryReceiptsManager.h
+include/qxmpp-lc/QXmppBobIq.h
+include/qxmpp-lc/QXmppNonSASLAuth.h
+include/qxmpp-lc/QXmppTransferManager.h
+include/qxmpp-lc/QXmppSocks.h
+include/qxmpp-lc/QXmppStreamInitiationIq.h
+include/qxmpp-lc/QXmppOutgoingServer.h
+include/qxmpp-lc/QXmppDialback.h
+include/qxmpp-lc/QXmppBindIq.h
+include/qxmpp-lc/QXmppRosterIq.h
+include/qxmpp-lc/QXmppGlobal.h
+include/qxmpp-lc/QXmppJingleIq.h
+include/qxmpp-lc/QXmppCaptchaIq.h
+include/qxmpp-lc/QXmppByteStreamIq.h
+include/qxmpp-lc/QXmppSessionIq.h
+include/qxmpp-lc/QXmppDataForm.h
+include/qxmpp-lc/QXmppCaptchaManager.h
+include/qxmpp-lc/QXmppBookmarkManager.h
+include/qxmpp-lc/QXmppAnnotationsManager.h
+include/qxmpp-lc/QXmppPingIq.h
+include/qxmpp-lc/QXmppEntityTimeIq.h
+include/qxmpp-lc/QXmppVCardManager.h
+include/qxmpp-lc/QXmppReconnectionManager.h
+include/qxmpp-lc/QXmppConstants.h
+include/qxmpp-lc/QXmppStun.h
+include/qxmpp-lc/QXmppIncomingClient.h
+include/qxmpp-lc/QXmppServer.h
+include/qxmpp-lc/QXmppRtpChannel.h
+include/qxmpp-lc/QXmppIq.h
+include/qxmpp-lc/QXmppRosterManager.h
+include/qxmpp-lc/QXmppUtils.h
+include/qxmpp-lc/QXmppElement.h
+include/qxmpp-lc/QXmppMucIq.h
+include/qxmpp-lc/QXmppPubSubIq.h
+include/qxmpp-lc/QXmppInvokable.h
+include/qxmpp-lc/QXmppServerExtension.h
+include/qxmpp-lc/QXmppIncomingServer.h
+include/qxmpp-lc/QXmppIbbIq.h
+include/qxmpp-lc/QXmppStanza.h
+include/qxmpp-lc/QXmppClient.h
+include/qxmpp-lc/QXmppRemoteMethod.h
+include/qxmpp-lc/QXmppPresence.h
+include/qxmpp-lc/QXmppVersionManager.h
+include/qxmpp-lc/QXmppActivityItem.h
+include/qxmpp-lc/QXmppRpcManager.h
+include/qxmpp-lc/QXmppConfiguration.h
+include/qxmpp-lc/QXmppVCardIq.h
+include/qxmpp-lc/QXmppDiscoveryIq.h
+include/qxmpp-lc/QXmppCodec.h
+include/qxmpp-lc/QXmppSaslAuth.h
+include/qxmpp-lc/QXmppMessage.h
+include/qxmpp-lc/QXmppArchiveIq.h
+include/qxmpp-lc/QXmppAnnotationsIq.h
+include/qxmpp-lc/QXmppPasswordChecker.h
+include/qxmpp-lc/QXmppServerPlugin.h
+include/qxmpp-lc/QXmppSrvInfo.h
+include/qxmpp-lc/QXmppLogger.h
+include/qxmpp-lc/QXmppBookmarkSet.h
+include/qxmpp-lc/QXmppClientExtension.h
+include/qxmpp-lc/QXmppBobManager.h
+include/qxmpp-lc/QXmppDiscoveryManager.h
+include/qxmpp-lc/QXmppPubSubManager.h
+include/qxmpp-lc/QXmppStream.h
+include/qxmpp-lc/QXmppPacket.h
+include/qxmpp-lc/QXmppOutgoingClient.h
+include/qxmpp-lc/QXmppMucManager.h
+libdata/pkgconfig/qxmpp-lc.pc
+@dirrm include/qxmpp-lc