aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Net-MQTT/Makefile35
-rw-r--r--net/p5-Net-MQTT/distinfo2
-rw-r--r--net/p5-Net-MQTT/pkg-descr6
-rw-r--r--net/p5-Net-MQTT/pkg-plist46
5 files changed, 90 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 9fc15b60bc00..95ec7cc1c9e3 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -639,6 +639,7 @@
SUBDIR += p5-Net-LimeLight-Purge
SUBDIR += p5-Net-MAC
SUBDIR += p5-Net-MAC-Vendor
+ SUBDIR += p5-Net-MQTT
SUBDIR += p5-Net-Mosso-CloudFiles
SUBDIR += p5-Net-MovableType
SUBDIR += p5-Net-NBName
diff --git a/net/p5-Net-MQTT/Makefile b/net/p5-Net-MQTT/Makefile
new file mode 100644
index 000000000000..21bdee8e9b96
--- /dev/null
+++ b/net/p5-Net-MQTT/Makefile
@@ -0,0 +1,35 @@
+# Created by: Alex Bakhtin <Alex.Bakhtin@gmail.com>
+# $FreeBSD$
+
+PORTNAME= Net-MQTT
+PORTVERSION= 1.143260
+CATEGORIES= net perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= Alex.Bakhtin@gmail.com
+COMMENT= Net::MQTT - Perl modules for MQTT Protocol (http://mqtt.org/)
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= p5-Getopt-Long>=0:devel/p5-Getopt-Long \
+ p5-Carp>=0:devel/p5-Carp \
+ p5-Module-Pluggable>=0:devel/p5-Module-Pluggable \
+ p5-Pod-Usage>=0:devel/p5-Pod-Usage \
+ p5-Time-HiRes>=0:devel/p5-Time-HiRes \
+ p5-Net-Pcap>=0:net/p5-Net-Pcap
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USES= perl5
+USE_PERL5= configure
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Changes ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+
+.include <bsd.port.mk>
diff --git a/net/p5-Net-MQTT/distinfo b/net/p5-Net-MQTT/distinfo
new file mode 100644
index 000000000000..c42f7e4b7b6a
--- /dev/null
+++ b/net/p5-Net-MQTT/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Net-MQTT-1.143260.tar.gz) = 9ec479b5e4a05d005bc55232edb2e1f6708cda94fc15ac46c8f467602b581cf3
+SIZE (Net-MQTT-1.143260.tar.gz) = 30706
diff --git a/net/p5-Net-MQTT/pkg-descr b/net/p5-Net-MQTT/pkg-descr
new file mode 100644
index 000000000000..16b0f365b6c9
--- /dev/null
+++ b/net/p5-Net-MQTT/pkg-descr
@@ -0,0 +1,6 @@
+Net::MQTT - Perl modules for MQTT Protocol (http://mqtt.org/)
+
+Low level API for the MQTT protocol described at http://mqtt.org.
+IMPORTANT: This is an early release and the API is still subject to change.
+
+WWW: http://search.cpan.org/dist/Net-MQTT/
diff --git a/net/p5-Net-MQTT/pkg-plist b/net/p5-Net-MQTT/pkg-plist
new file mode 100644
index 000000000000..7bbd73137f41
--- /dev/null
+++ b/net/p5-Net-MQTT/pkg-plist
@@ -0,0 +1,46 @@
+bin/net-mqtt-pub
+bin/net-mqtt-sub
+bin/net-mqtt-trace
+%%SITE_PERL%%/Net/MQTT.pod
+%%SITE_PERL%%/Net/MQTT/Constants.pm
+%%SITE_PERL%%/Net/MQTT/Message.pm
+%%SITE_PERL%%/Net/MQTT/Message/ConnAck.pm
+%%SITE_PERL%%/Net/MQTT/Message/Connect.pm
+%%SITE_PERL%%/Net/MQTT/Message/Disconnect.pm
+%%SITE_PERL%%/Net/MQTT/Message/JustMessageId.pm
+%%SITE_PERL%%/Net/MQTT/Message/PingReq.pm
+%%SITE_PERL%%/Net/MQTT/Message/PingResp.pm
+%%SITE_PERL%%/Net/MQTT/Message/PubAck.pm
+%%SITE_PERL%%/Net/MQTT/Message/PubComp.pm
+%%SITE_PERL%%/Net/MQTT/Message/PubRec.pm
+%%SITE_PERL%%/Net/MQTT/Message/PubRel.pm
+%%SITE_PERL%%/Net/MQTT/Message/Publish.pm
+%%SITE_PERL%%/Net/MQTT/Message/SubAck.pm
+%%SITE_PERL%%/Net/MQTT/Message/Subscribe.pm
+%%SITE_PERL%%/Net/MQTT/Message/UnsubAck.pm
+%%SITE_PERL%%/Net/MQTT/Message/Unsubscribe.pm
+%%SITE_PERL%%/Net/MQTT/TopicStore.pm
+%%PERL5_MAN1%%/net-mqtt-pub.1.gz
+%%PERL5_MAN1%%/net-mqtt-sub.1.gz
+%%PERL5_MAN1%%/net-mqtt-trace.1.gz
+%%PERL5_MAN3%%/Net::MQTT.3.gz
+%%PERL5_MAN3%%/Net::MQTT::Constants.3.gz
+%%PERL5_MAN3%%/Net::MQTT::Message.3.gz
+%%PERL5_MAN3%%/Net::MQTT::Message::ConnAck.3.gz
+%%PERL5_MAN3%%/Net::MQTT::Message::Connect.3.gz
+%%PERL5_MAN3%%/Net::MQTT::Message::Disconnect.3.gz
+%%PERL5_MAN3%%/Net::MQTT::Message::JustMessageId.3.gz
+%%PERL5_MAN3%%/Net::MQTT::Message::PingReq.3.gz
+%%PERL5_MAN3%%/Net::MQTT::Message::PingResp.3.gz
+%%PERL5_MAN3%%/Net::MQTT::Message::PubAck.3.gz
+%%PERL5_MAN3%%/Net::MQTT::Message::PubComp.3.gz
+%%PERL5_MAN3%%/Net::MQTT::Message::PubRec.3.gz
+%%PERL5_MAN3%%/Net::MQTT::Message::PubRel.3.gz
+%%PERL5_MAN3%%/Net::MQTT::Message::Publish.3.gz
+%%PERL5_MAN3%%/Net::MQTT::Message::SubAck.3.gz
+%%PERL5_MAN3%%/Net::MQTT::Message::Subscribe.3.gz
+%%PERL5_MAN3%%/Net::MQTT::Message::UnsubAck.3.gz
+%%PERL5_MAN3%%/Net::MQTT::Message::Unsubscribe.3.gz
+%%PERL5_MAN3%%/Net::MQTT::TopicStore.3.gz
+%%PORTDOCS%%%%DOCSDIR%%/Changes
+%%PORTDOCS%%%%DOCSDIR%%/README