From 75b19d789e1c91bfa13a21d8384282e3ac6ebdef Mon Sep 17 00:00:00 2001 From: Wen Heping Date: Mon, 7 May 2012 06:55:22 +0000 Subject: [PATCH] UFC (Unified Form-assembly Code) is a unified framework for finite element assembly. WWW: https://launchpad.net/ufc PR: 167274 Submitted by: Jason Bacon --- math/Makefile | 1 + math/ufc/Makefile | 30 ++++++++++++++++++++++++++++++ math/ufc/distinfo | 2 ++ math/ufc/pkg-descr | 4 ++++ math/ufc/pkg-plist | 15 +++++++++++++++ 5 files changed, 52 insertions(+) create mode 100644 math/ufc/Makefile create mode 100644 math/ufc/distinfo create mode 100644 math/ufc/pkg-descr create mode 100644 math/ufc/pkg-plist diff --git a/math/Makefile b/math/Makefile index b7fab930f0c3..fd58f33f5324 100644 --- a/math/Makefile +++ b/math/Makefile @@ -604,6 +604,7 @@ SUBDIR += trlan SUBDIR += truthtable SUBDIR += tvmet + SUBDIR += ufc SUBDIR += umatrix SUBDIR += ump SUBDIR += units 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 +# +# $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 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