ports/math/py-gmpy2/Makefile
2021-04-06 16:31:07 +02:00

27 lines
572 B
Makefile

# Created by: Yuri Victorovich <yuri@rawbw.com>
PORTNAME= gmpy2
PORTVERSION= 2.0.8
PORTREVISION= 4
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= GMP/MPIR, MPFR, and MPC interface to Python
LICENSE= GPLv3
LIB_DEPENDS= libgmp.so:math/gmp \
libmpc.so:math/mpc \
libmpfr.so:math/mpfr
USES= python:3.6+ zip
USE_PYTHON= distutils autoplist
CONFLICTS= ${PYTHON_PKGNAMEPREFIX}gmpy2-devel-2.1*
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gmpy2*.so
.include <bsd.port.mk>