1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/math/py-gmpy/Makefile
2012-04-17 13:04:21 +00:00

30 lines
608 B
Makefile

# New ports collection makefile for: py-gmpy
# Date created: 09 July 2008
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= gmpy
PORTVERSION= 1.15
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.10:${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>