aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-ffc/Makefile
blob: 1f5d7a64a66d2fe7fbe878c971970d3bf171ab54 (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
# $FreeBSD$

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

MAINTAINER= jwb@FreeBSD.org
COMMENT=    C++ code generator for multilinear forms

LICENSE=    LGPL3

USES=       python:2.7
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>