1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net/py-pyzmq/Makefile
2014-04-24 18:28:29 +00:00

32 lines
690 B
Makefile

# Created by: Roman Bogorodskiy <novel@FreeBSD.org>
# $FreeBSD$
PORTNAME= pyzmq
PORTVERSION= 14.2.0
CATEGORIES= net devel
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>