aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-ufl/Makefile
blob: f74d892f14a4de894e5b2313e9a04bf0f6f839ab (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
31
32
33
34
35
36
# New ports collection makefile for:    py-ufl
# Date created:             13 April 2012
# Whom:                 Jason Bacon <jwbacon@tds.net>
#
# $FreeBSD$
#

PORTNAME=   ufl
PORTVERSION=    1.0.0
CATEGORIES= math python
MASTER_SITES=   https://launchpad.net/${PORTNAME}/1.0.x/${PORTVERSION}/+download/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= jwbacon@tds.net
COMMENT=    Unified Form Language for finite element discretizations

LICENSE=    LGPL3

USE_PYTHON=     -2.7
USE_PYDISTUTILS=    yes
PYDISTUTILS_PKGNAME=    UFL

FETCH_ARGS= -F

MAN1=       form2ufl.1 \
        ufl-analyse.1 \
        ufl-convert.1 \
        ufl-version.1 \
        ufl2py.1
MANCOMPRESSED=  yes

post-patch:
    @${REINPLACE_CMD} -e 's|\[(pjoin("share", "man", "man1"),|\[(pjoin("man", "man1"),|' \
            ${WRKSRC}/setup.py

.include <bsd.port.mk>