aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-mx-experimental/Makefile
blob: c1b3050437d58909bb6c38b894769beaa44e357c (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   mx-experimental
PORTVERSION=    3.0.0
PORTREVISION=   1
CATEGORIES= devel python
MASTER_SITES=   http://downloads.egenix.com/python/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   egenix-${PORTNAME}-${PORTVERSION}

MAINTAINER= sergio@softshark.org
COMMENT=    The eGenix mx Extensions - EXPERIMENTAL Package

BUILD_DEPENDS=  ${LOCALBASE}/include/gmp.h:math/gmp
#RUN_DEPENDS=   ${PYTHON_SITELIBDIR}/mx/BeeBase/BeeBase.py:lang/py-mx-base@${PY_FLAVOR}

USES=       python:2.7
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME=    egenix-mx-experimental

post-patch:
    @${REINPLACE_CMD} -e "s|LIBGMPH|${PREFIX}/include|" ${WRKSRC}/mxEXPERIMENTAL.py
    @${REINPLACE_CMD} \
        -e 's,distutils\.command\.install ,setuptools\.command\.install ,' \
        ${WRKSRC}/mxSetup.py

.include <bsd.port.mk>