aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-gmpy/Makefile
blob: 84bf6499715dead634966b99e6373b65b949af77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# New ports collection makefile for:    py-gmpy
# Date created:             09 July 2008
# Whom:                 Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   gmpy
PORTVERSION=    1.14
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>