3c5d9ab754
Submitted by: anthony.kim@vw.com
37 lines
822 B
Makefile
37 lines
822 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: py-mx-experimental
|
|
# Date created: Nov 3, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mx-experimental
|
|
PORTVERSION= 0.6.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://www.lemburg.com/files/python/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= egenix-${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= ${PYDISTUTILS} \
|
|
${PREFIX}/include/gmp.h:${PORTSDIR}/math/libgmp3
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/mx/BeeBase/BeeBase.py:${PORTSDIR}/lang/py-mx-base
|
|
|
|
USE_PYTHON= yes
|
|
|
|
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e "s|LIBGMPH|${PREFIX}/include|" ${WRKSRC}/mxEXPERIMENTAL.py
|
|
|
|
do-build:
|
|
@${SETUP_CMD} build
|
|
|
|
do-install:
|
|
@${SETUP_CMD} install
|
|
|
|
.include <bsd.port.mk>
|