aboutsummaryrefslogtreecommitdiffstats
path: root/net/libzmq3/Makefile
blob: ec852ebd529d69a0d9d225e2cb845a52109d00e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# $FreeBSD$

PORTNAME=   libzmq3
PORTVERSION=    3.2.5
CATEGORIES= net
MASTER_SITES=   http://download.zeromq.org/
DISTNAME=   zeromq-${DISTVERSION}

MAINTAINER= koobs@FreeBSD.org
COMMENT=    ZeroMQ core library (Version 3)

LICENSE=    LGPL3
LICENSE_FILE=   ${WRKSRC}/COPYING

CONFLICTS=  zmq-[0-9]* libzmq[^3]-[0-9]*

USES=       libtool pathfix
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes

OPTIONS_DEFINE=     DEBUG PGM
OPTIONS_DEFAULT=    PGM

PGM_DESC=   Reliable multicast transport using PGM via OpenPGM

DEBUG_CONFIGURE_ON= --enable-debug
PGM_CONFIGURE_ON=   --with-system-pgm
PGM_LIB_DEPENDS=    libpgm.so:net/openpgm
PGM_USES=       pkgconfig

MAKE_ENV=   V=1
INSTALL_TARGET= install-strip

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDEBUG}
WITH_DEBUG= yes
.endif

regression-test: build
    @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
        ${MAKEFILE} ${MAKE_ARGS} check)

.include <bsd.port.mk>