aboutsummaryrefslogtreecommitdiff
path: root/math/ufc
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2012-05-07 06:55:22 +0000
committerWen Heping <wen@FreeBSD.org>2012-05-07 06:55:22 +0000
commit75b19d789e1c91bfa13a21d8384282e3ac6ebdef (patch)
treea8ea37ac9826e3441109701f17f96b528f728ab6 /math/ufc
parentfa3c226de613f98da611ed0d7b56f652f30f2dab (diff)
downloadports-75b19d789e1c91bfa13a21d8384282e3ac6ebdef.tar.gz
ports-75b19d789e1c91bfa13a21d8384282e3ac6ebdef.zip
Notes
Diffstat (limited to 'math/ufc')
-rw-r--r--math/ufc/Makefile30
-rw-r--r--math/ufc/distinfo2
-rw-r--r--math/ufc/pkg-descr4
-rw-r--r--math/ufc/pkg-plist15
4 files changed, 51 insertions, 0 deletions
diff --git a/math/ufc/Makefile b/math/ufc/Makefile
new file mode 100644
index 000000000000..7b519d495fad
--- /dev/null
+++ b/math/ufc/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: ufc
+# Date created: 27 March 2012
+# Whom: Jason Bacon <jwbacon@tds.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ufc
+PORTVERSION= 2.0.5
+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
+
+# LICENSE= public domain
+
+USE_CMAKE= yes
+USE_PYTHON= -2.7
+PYDISTUTILS_PKGNAME= ufc
+
+FETCH_ARGS= -F
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|lib/pkgconfig|libdata/pkgconfig|g' \
+ ${WRKSRC}/CMakeLists.txt
+
+.include <bsd.port.mk>
diff --git a/math/ufc/distinfo b/math/ufc/distinfo
new file mode 100644
index 000000000000..f31651af46a2
--- /dev/null
+++ b/math/ufc/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ufc-2.0.5.tar.gz) = 989a8ed018c2682d47262f0f3a5dc970e27b6b6d47d03d5b986d0ff2b3ee5b2a
+SIZE (ufc-2.0.5.tar.gz) = 592282
diff --git a/math/ufc/pkg-descr b/math/ufc/pkg-descr
new file mode 100644
index 000000000000..a227b5906603
--- /dev/null
+++ b/math/ufc/pkg-descr
@@ -0,0 +1,4 @@
+UFC (Unified Form-assembly Code) is a unified framework for finite element
+assembly.
+
+WWW: https://launchpad.net/ufc
diff --git a/math/ufc/pkg-plist b/math/ufc/pkg-plist
new file mode 100644
index 000000000000..60ad955aeeae
--- /dev/null
+++ b/math/ufc/pkg-plist
@@ -0,0 +1,15 @@
+include/ufc.h
+libdata/pkgconfig/ufc-1.pc
+%%PYTHON_SITELIBDIR%%/ufc_utils/__init__.py
+%%PYTHON_SITELIBDIR%%/ufc_utils/build.py
+%%PYTHON_SITELIBDIR%%/ufc_utils/dofmap.py
+%%PYTHON_SITELIBDIR%%/ufc_utils/finite_element.py
+%%PYTHON_SITELIBDIR%%/ufc_utils/form.py
+%%PYTHON_SITELIBDIR%%/ufc_utils/function.py
+%%PYTHON_SITELIBDIR%%/ufc_utils/integrals.py
+%%DATADIR%%/UFCConfig.cmake
+%%DATADIR%%/UFCConfigVersion.cmake
+@dirrm %%DATADIR%%
+@dirrm %%PYTHON_SITELIBDIR%%/ufc_utils
+@dirrm %%PYTHON_SITELIBDIR%%/ufc
+@dirrmtry include/swig