blob: 6550cd64242fc1e61f29f11de9d8115c90482a05 (
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= ufc
PORTVERSION= 2.0.5
PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= http://launchpad.net/${PORTNAME}/2.0.x/${PORTVERSION}/+download/
MAINTAINER= jwbacon@tds.net
COMMENT= Unified framework for finite element assembly
BUILD_DEPENDS= swig2.0:${PORTSDIR}/devel/swig20
LIB_DEPENDS= boost_math_c99:${PORTSDIR}/devel/boost-libs
# LICENSE= public domain
USES= cmake
USE_PYTHON= -2.7
PYDISTUTILS_PKGNAME= ufc
FETCH_ARGS= -F
post-patch:
${REINPLACE_CMD} -e 's|lib/pkgconfig|libdata/pkgconfig|g' \
${WRKSRC}/CMakeLists.txt
${REINPLACE_CMD} -i '' -e 's|"usr")|"usr", "local")|g' \
${WRKSRC}/src/utils/python/ufc_utils/build.py
.include <bsd.port.mk>
|