2013-11-28 12:41:56 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libzmq4
|
2015-08-25 19:17:59 +02:00
|
|
|
PORTVERSION= 4.1.3
|
2013-11-28 12:41:56 +01:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://download.zeromq.org/
|
|
|
|
DISTNAME= zeromq-${DISTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= koobs@FreeBSD.org
|
|
|
|
COMMENT= ZeroMQ core library (Version 4)
|
|
|
|
|
|
|
|
LICENSE= LGPL3
|
2015-02-09 04:23:49 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
CONFLICTS= zmq-[0-9]* libzmq[^4]-[0-9]*
|
2013-11-28 12:41:56 +01:00
|
|
|
|
2015-06-15 13:06:49 +02:00
|
|
|
USES= libtool pkgconfig
|
2013-11-28 12:41:56 +01:00
|
|
|
USE_LDCONFIG= yes
|
2015-02-09 04:23:49 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2013-11-28 12:41:56 +01:00
|
|
|
|
2015-06-15 13:06:49 +02:00
|
|
|
OPTIONS_DEFINE= CURVE DEBUG PGM
|
2014-10-31 11:21:11 +01:00
|
|
|
OPTIONS_DEFAULT= CURVE PGM
|
2015-02-09 04:23:49 +01:00
|
|
|
|
2013-11-28 12:41:56 +01:00
|
|
|
CURVE_DESC= CURVE security mechanism via libsodium
|
|
|
|
PGM_DESC= Reliable multicast transport using PGM via OpenPGM
|
|
|
|
|
2015-06-15 13:06:49 +02:00
|
|
|
CURVE_CONFIGURE_WITH= libsodium
|
2013-11-28 12:41:56 +01:00
|
|
|
CURVE_LIB_DEPENDS= libsodium.so:${PORTSDIR}/security/libsodium
|
2015-02-09 04:23:49 +01:00
|
|
|
|
2015-06-15 13:06:49 +02:00
|
|
|
DEBUG_CONFIGURE_ENABLE= debug
|
|
|
|
|
|
|
|
PGM_CONFIGURE_WITH= pgm
|
2013-11-28 12:41:56 +01:00
|
|
|
PGM_LIB_DEPENDS= libpgm.so:${PORTSDIR}/net/openpgm
|
2015-06-15 13:06:49 +02:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
|
2013-11-28 12:41:56 +01:00
|
|
|
|
2015-02-09 04:23:49 +01:00
|
|
|
CFLAGS+= -Wno-long-long
|
|
|
|
MAKE_ENV= V=1
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
|
2013-11-28 12:41:56 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MDEBUG}
|
|
|
|
WITH_DEBUG= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
regression-test: build
|
2015-02-09 04:23:49 +01:00
|
|
|
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
|
|
|
|
${MAKEFILE} ${MAKE_ARGS} check)
|
2013-11-28 12:41:56 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|