freebsd-ports/math/py-gmpy/Makefile
2013-08-18 14:49:48 +00:00

25 lines
526 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= gmpy
PORTVERSION= 1.17
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wen@FreeBSD.org
COMMENT= Python Extension that Wraps the GMP Library
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp
USE_ZIP= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PLIST_FILES= %%PYTHON_SITELIBDIR%%/gmpy.so
post-extract:
${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
${WRKSRC}/setup.py
.include <bsd.port.mk>