1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/net/libzmq2/Makefile
Kubilay Kocak 384e39b860 net/libzmq2: Fix PKGNAME (PORTNAME: zmq -> libzmq2)
Correctly set PORTNAME to "libzmq2" after moving it from devel/zmq to
net/libzmq2, which was missed in r335619 [1].

This fixes the PKGNAME for this port.

[1] http://svnweb.freebsd.org/ports?view=revision&revision=335619

Reported by:	Franco Fichtner (via twitter: @fitchitis)
Approved by:	pointyhat (koobs)
MFH:		2014Q1
2014-03-22 03:15:01 +00:00

38 lines
671 B
Makefile

# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= libzmq2
PORTVERSION= 2.2.0
PORTREVISION= 2
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>