aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-ffc/Makefile
blob: 686c2142e068324c1bb9bcaaa5107e324d5c393a (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
26
27
28
29
30
# 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

USE_PYTHON= -2.7
USE_PYDISTUTILS=    yes
PYDISTUTILS_PKGNAME=    FFC

FETCH_ARGS= -F

MAN1=       ffc.1
MANCOMPRESSED=  yes

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>