aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2011-10-30 11:58:49 +0000
committerAndrej Zverev <az@FreeBSD.org>2011-10-30 11:58:49 +0000
commita209c62bc646df181f29b9e7870018b71108b362 (patch)
tree3047bca8114c75e0d3a0cf1b2bdf080ce15068c9 /net
parenta2288cce226c81e0e2b066707f0233d77c0cb5c6 (diff)
downloadports-a209c62bc646df181f29b9e7870018b71108b362.tar.gz
ports-a209c62bc646df181f29b9e7870018b71108b362.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-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
5 files changed, 64 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index bd4b49a93480..7a57c7e432e6 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -742,6 +742,7 @@
SUBDIR += p5-XPC
SUBDIR += p5-ZConf
SUBDIR += p5-ZConf-Bookmarks
+ SUBDIR += p5-ZeroMQ
SUBDIR += p5-perl-ldap
SUBDIR += panoptis
SUBDIR += paris-traceroute
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