blob: fd61bfa7a5c7e993b0adece113e9dd513aa2ac36 (
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
|
# Created by: Jason Bacon <jwbacon@tds.net>
# $FreeBSD$
PORTNAME= ufc
PORTVERSION= ${MMVERSION}.0
CATEGORIES= math python
MASTER_SITES= http://launchpad.net/${PORTNAME}/${MMVERSION}.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
CMAKE_ARGS+= -DUFC_PKGCONFIG_DIR=${PREFIX}/libdata/pkgconfig
FETCH_ARGS= -F
MMVERSION= 2.2
post-patch:
${REINPLACE_CMD} -e 's|lib/pkgconfig|libdata/pkgconfig|g' \
${WRKSRC}/CMakeLists.txt
${REINPLACE_CMD} -i '' -e 's|os.path.join(os.path.sep, "usr")|os.path.normpath("${PREFIX}")|' ${WRKSRC}/src/utils/python/ufc_utils/build.py
.include <bsd.port.mk>
|