aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-pyzmq/Makefile
blob: ba0241a7b8d67c200285d912ccb9075d4f26f58a (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
# Created by: Roman Bogorodskiy <novel@FreeBSD.org>
# $FreeBSD$

PORTNAME=   pyzmq
PORTVERSION=    14.1.0
CATEGORIES= devel net
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= novel@FreeBSD.org
COMMENT=    Python bindings for ZeroMQ

LICENSE=    LGPL3

LIB_DEPENDS=    libzmq.so:${PORTSDIR}/net/libzmq4

USE_PYTHON=     yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_AUTOPLIST=  yes

.include <bsd.port.pre.mk>

pre-configure:
    @${SED} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/setup.cfg.template > \
        ${WRKSRC}/setup.cfg

regression-test: extract
    @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} build_ext --inplace
    @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test

.include <bsd.port.post.mk>