freebsd-ports/math/py-ffc/Makefile
Marcus von Appen 214bd533a7 - Convert ports of math/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-21 16:54:54 +00:00

25 lines
597 B
Makefile

# Created by: Jason Bacon <jwbacon@tds.net>
# $FreeBSD$
PORTNAME= ffc
PORTVERSION= ${MMVERSION}.0
CATEGORIES= math python
MASTER_SITES= https://launchpad.net/${PORTNAME}/${MMVERSION}.x/${PORTVERSION}/+download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jwbacon@tds.net
COMMENT= C++ code generator for multilinear forms
LICENSE= LGPL3
USES= python:2
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= FFC
MMVERSION= 1.2
post-patch:
${REINPLACE_CMD} -i '' -e 's|os.path.join(os.path.sep, "usr")|os.path.normpath("${PREFIX}")|' \
${WRKSRC}/test/regression/test.py
.include <bsd.port.mk>