aboutsummaryrefslogtreecommitdiff
path: root/net/p5-ZeroMQ
diff options
context:
space:
mode:
Diffstat (limited to 'net/p5-ZeroMQ')
-rw-r--r--net/p5-ZeroMQ/Makefile44
-rw-r--r--net/p5-ZeroMQ/distinfo2
-rw-r--r--net/p5-ZeroMQ/pkg-descr5
-rw-r--r--net/p5-ZeroMQ/pkg-plist12
4 files changed, 63 insertions, 0 deletions
diff --git a/net/p5-ZeroMQ/Makefile b/net/p5-ZeroMQ/Makefile
new file mode 100644
index 000000000000..fdb758654599
--- /dev/null
+++ b/net/p5-ZeroMQ/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: ZeroMQ
+# Date created: 2011-10-26
+# Whom: Andrej Zverev <az@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ZeroMQ
+PORTVERSION= 0.17
+CATEGORIES= net perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:DMAKI
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= az@FreeBSD.org
+COMMENT= A ZeroMQ2 wrapper for Perl
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+RUN_DEPENDS= p5-Task-Weaken>=0:${PORTSDIR}/devel/p5-Task-Weaken
+BUILD_DEPENDS= p5-Task-Weaken>=0:${PORTSDIR}/devel/p5-Task-Weaken
+LIB_DEPENDS= zmq.1:${PORTSDIR}/devel/zmq \
+ uuid:${PORTSDIR}/misc/e2fsprogs-libuuid
+
+TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
+ p5-Test-Requires>=0.05:${PORTSDIR}/devel/p5-Test-Requires \
+ p5-Test-TCP>=0:${PORTSDIR}/devel/p5-Test-TCP
+
+PERL_CONFIGURE= yes
+
+MAN3= \
+ ZeroMQ::Raw.3 \
+ ZeroMQ::Socket.3 \
+ ZeroMQ::Context.3 \
+ ZeroMQ.3 \
+ ZeroMQ::Constants.3 \
+ ZeroMQ::Poller.3 \
+ ZeroMQ::Message.3
+
+post-patch:
+ @${PERL} -pi -e "s/lib => 'zmq',//" ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/net/p5-ZeroMQ/distinfo b/net/p5-ZeroMQ/distinfo
new file mode 100644
index 000000000000..4a067c8d40b8
--- /dev/null
+++ b/net/p5-ZeroMQ/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ZeroMQ-0.17.tar.gz) = 05bda0e099bba1b5296fb3685fcae89039e8f45697bb03ad2d0cca7e0a403781
+SIZE (ZeroMQ-0.17.tar.gz) = 63353
diff --git a/net/p5-ZeroMQ/pkg-descr b/net/p5-ZeroMQ/pkg-descr
new file mode 100644
index 000000000000..779176401869
--- /dev/null
+++ b/net/p5-ZeroMQ/pkg-descr
@@ -0,0 +1,5 @@
+The ZeroMQ module is a wrapper of the 0MQ message passing library for Perl.
+It's a thin wrapper around the C API. Please read http://zeromq.org for more
+details on ZeroMQ.
+
+WWW: http://search.cpan.org/dist/ZeroMQ/
diff --git a/net/p5-ZeroMQ/pkg-plist b/net/p5-ZeroMQ/pkg-plist
new file mode 100644
index 000000000000..a840eae9db88
--- /dev/null
+++ b/net/p5-ZeroMQ/pkg-plist
@@ -0,0 +1,12 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/ZeroMQ.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/ZeroMQ/Context.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/ZeroMQ/Message.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/ZeroMQ/Constants.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/ZeroMQ/Poller.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/ZeroMQ/Raw.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/ZeroMQ/Socket.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/ZeroMQ/ZeroMQ.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/ZeroMQ/ZeroMQ.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/ZeroMQ/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/ZeroMQ
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/ZeroMQ