1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/net/libzmq2/Makefile
Kubilay Kocak c71b83c89e devel/zmq: Move to net/libzmq2 & update to align with other ZeroMQ ports
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)
2013-12-04 14:08:03 +00:00

38 lines
667 B
Makefile

# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= zmq
PORTVERSION= 2.2.0
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://download.zeromq.org/
DISTNAME= zeromq-${DISTVERSION}
MAINTAINER= gslin@gslin.org
COMMENT= ZeroMQ core library (Version 2)
LICENSE= LGPL3
USES= pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFLICTS= libzmq[^2]-[0-9]*
OPTIONS_DEFINE= DEBUG
DEBUG_CONFIGURE_ON= --enable-debug
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDEBUG}
WITH_DEBUG= yes
.endif
post-patch:
${REINPLACE_CMD} -e '9s|$$| -pthread|' ${WRKSRC}/src/libzmq.pc.in
regression-test: build
cd ${WRKSRC} && ${MAKE} check
.include <bsd.port.mk>