2008-07-18 15:15:24 +02:00
|
|
|
# New ports collection makefile for: py-gmpy
|
|
|
|
# Date created: 09 July 2008
|
|
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gmpy
|
2009-07-01 14:34:27 +02:00
|
|
|
PORTVERSION= 1.04
|
2008-07-18 15:15:24 +02:00
|
|
|
CATEGORIES= math python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
2009-02-09 18:06:06 +01:00
|
|
|
COMMENT= Python Extension that Wraps the GMP Library
|
2008-07-18 15:15:24 +02:00
|
|
|
|
2009-05-13 11:46:02 +02:00
|
|
|
LIB_DEPENDS= gmp.8:${PORTSDIR}/math/libgmp4
|
2008-07-18 15:15:24 +02:00
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
|
|
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/gmpy.so
|
|
|
|
|
2009-07-01 14:34:27 +02:00
|
|
|
post-extract:
|
|
|
|
${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
|
|
|
|
${WRKSRC}/setup.py
|
|
|
|
|
2008-07-18 15:15:24 +02:00
|
|
|
.include <bsd.port.mk>
|