freebsd-ports/devel/py-mx-experimental/Makefile
Marcus von Appen 89e07f4a18 - Convert ports of devel/ to USES=python
Approved by:	portmgr (implicit)
2014-10-20 16:04:12 +00:00

28 lines
807 B
Makefile

# 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:${PORTSDIR}/math/gmp
#RUN_DEPENDS= ${PYTHON_SITELIBDIR}/mx/BeeBase/BeeBase.py:${PORTSDIR}/lang/py-mx-base
USES= python
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>