c71b83c89e
All other core ZeroMQ library ports have been moved to the net/ category along with the czmq client library. This change completes the set, enabling greater flexibility and choice for maintainers of ZeroMQ-based software in the ports tree. - Move devel/zmq to net/libzmq2 - Update devel/ and net/ category Makefiles - Add MOVED entry - Update LIB_DEPENDS in dependent ports net/libzmq2: - Switch primary category to net - Enable STAGE support - Add DEBUG option - Update COMMENT to match libzmq[34] - Update pkg-descr to match libzmq[34] - Update CONFLICTS - Add LICENSE - Sort USE_* section - Remove MAN macros and move entries to pkg-plist - Add regression-test target for QA Reviewed by: makc Approved by: Gea-Suan Lin <gslin@gslin.org> (maintainer, via email)
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ZeroMQ
|
|
PORTVERSION= 0.21
|
|
PORTREVISION= 2
|
|
CATEGORIES= net perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:DMAKI
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= az@FreeBSD.org
|
|
COMMENT= 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}/net/libzmq2 \
|
|
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
|
|
|
|
USES= pkgconfig perl5
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
USE_PERL5= configure
|
|
|
|
MAN3= \
|
|
ZeroMQ::Raw.3 \
|
|
ZeroMQ::Socket.3 \
|
|
ZeroMQ::Context.3 \
|
|
ZeroMQ.3 \
|
|
ZeroMQ::Constants.3 \
|
|
ZeroMQ::Poller.3 \
|
|
ZeroMQ::Message.3
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 501400
|
|
TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -i '' -e "s/lib => 'zmq',//" ${WRKSRC}/Makefile.PL
|
|
|
|
.include <bsd.port.post.mk>
|