aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-ffc/Makefile
blob: d1ad8efe98c66db25bd863cfb490704fda8603e7 (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
# Created by: Jason Bacon <bacon4000@gmail.com>
# $FreeBSD$

PORTNAME=   ffc
PORTVERSION=    ${MMVERSION}.0
CATEGORIES= math python
MASTER_SITES=   https://launchpad.net/${PORTNAME}/${MMVERSION}.x/${PORTVERSION}/+download/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= bacon4000@gmail.com
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>