aboutsummaryrefslogtreecommitdiff
path: root/math/ufc
diff options
context:
space:
mode:
authorSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-06-08 14:53:28 +0000
committerSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-06-08 14:53:28 +0000
commit938f161d6c81b2cc1d5bae8a3e64081dd81b9cd0 (patch)
tree0d7dea964b5ec04b0ff593f583842c0b4199b7ee /math/ufc
parent3ff96438b54418f912a10b3e8055786297fdf83b (diff)
downloadports-938f161d6c81b2cc1d5bae8a3e64081dd81b9cd0.tar.gz
ports-938f161d6c81b2cc1d5bae8a3e64081dd81b9cd0.zip
Notes
Diffstat (limited to 'math/ufc')
-rw-r--r--math/ufc/Makefile3
-rw-r--r--math/ufc/pkg-plist6
2 files changed, 8 insertions, 1 deletions
diff --git a/math/ufc/Makefile b/math/ufc/Makefile
index 7b519d495fad..bdf84d08d443 100644
--- a/math/ufc/Makefile
+++ b/math/ufc/Makefile
@@ -14,6 +14,7 @@ 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
@@ -26,5 +27,7 @@ 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>
diff --git a/math/ufc/pkg-plist b/math/ufc/pkg-plist
index 60ad955aeeae..00cd60b331ab 100644
--- a/math/ufc/pkg-plist
+++ b/math/ufc/pkg-plist
@@ -1,5 +1,8 @@
+include/swig/ufc.i
include/ufc.h
-libdata/pkgconfig/ufc-1.pc
+%%PYTHON_SITELIBDIR%%/ufc/__init__.py
+%%PYTHON_SITELIBDIR%%/ufc/_ufc.so
+%%PYTHON_SITELIBDIR%%/ufc/ufc.py
%%PYTHON_SITELIBDIR%%/ufc_utils/__init__.py
%%PYTHON_SITELIBDIR%%/ufc_utils/build.py
%%PYTHON_SITELIBDIR%%/ufc_utils/dofmap.py
@@ -7,6 +10,7 @@ libdata/pkgconfig/ufc-1.pc
%%PYTHON_SITELIBDIR%%/ufc_utils/form.py
%%PYTHON_SITELIBDIR%%/ufc_utils/function.py
%%PYTHON_SITELIBDIR%%/ufc_utils/integrals.py
+libdata/pkgconfig/ufc-1.pc
%%DATADIR%%/UFCConfig.cmake
%%DATADIR%%/UFCConfigVersion.cmake
@dirrm %%DATADIR%%