fe9f6eb82f
- Fix build with CUSTOM PREFIX PR: 135985 Submitted by: Wen Heping <wenheping@gmail.com> (maintainer)
29 lines
615 B
Makefile
29 lines
615 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.04
|
|
CATEGORIES= math python
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
COMMENT= Python Extension that Wraps the GMP Library
|
|
|
|
LIB_DEPENDS= gmp.8:${PORTSDIR}/math/libgmp4
|
|
|
|
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>
|