mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
a1b203f60c
PR: ports/166705 Submitted by: Mel Flynn <rflynn@acsalaska.net> Feature safe: yes
55 lines
1.2 KiB
Makefile
55 lines
1.2 KiB
Makefile
# New ports collection makefile for: ZeroMQ
|
|
# Date created: 2011-10-26
|
|
# Whom: Andrej Zverev <az@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ZeroMQ
|
|
PORTVERSION= 0.21
|
|
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-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal \
|
|
p5-Test-Requires>=0.05:${PORTSDIR}/devel/p5-Test-Requires \
|
|
p5-Test-TCP>=1.08:${PORTSDIR}/devel/p5-Test-TCP \
|
|
p5-AnyEvent>=0:${PORTSDIR}/devel/p5-AnyEvent \
|
|
p5-JSON>=2.00:${PORTSDIR}/converters/p5-JSON
|
|
|
|
USE_GNOME= pkgconfig
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= \
|
|
ZeroMQ::Raw.3 \
|
|
ZeroMQ::Socket.3 \
|
|
ZeroMQ::Context.3 \
|
|
ZeroMQ.3 \
|
|
ZeroMQ::Constants.3 \
|
|
ZeroMQ::Poller.3 \
|
|
ZeroMQ::Message.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 501400
|
|
TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
|
|
.endif
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e "s/lib => 'zmq',//" ${WRKSRC}/Makefile.PL
|
|
|
|
.include <bsd.port.post.mk>
|