aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-04-26 21:22:55 +0800
committermiwi <miwi@FreeBSD.org>2013-04-26 21:22:55 +0800
commit3fa9006171bd4b94ba92a8729acc09749eb5d354 (patch)
tree2681eacf0d048fc6373f07c8cde86d463efed483 /math
parent3993a34b8bfa570b7053bc552e852366256f9719 (diff)
downloadfreebsd-ports-gnome-3fa9006171bd4b94ba92a8729acc09749eb5d354.tar.gz
freebsd-ports-gnome-3fa9006171bd4b94ba92a8729acc09749eb5d354.tar.zst
freebsd-ports-gnome-3fa9006171bd4b94ba92a8729acc09749eb5d354.zip
- Update to 2.2
PR: 177769 Submitted by: maintainer
Diffstat (limited to 'math')
-rw-r--r--math/ufc/Makefile12
-rw-r--r--math/ufc/distinfo4
-rw-r--r--math/ufc/pkg-plist2
3 files changed, 11 insertions, 7 deletions
diff --git a/math/ufc/Makefile b/math/ufc/Makefile
index 6550cd64242f..fd61bfa7a5c7 100644
--- a/math/ufc/Makefile
+++ b/math/ufc/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= ufc
-PORTVERSION= 2.0.5
-PORTREVISION= 1
+PORTVERSION= ${MMVERSION}.0
CATEGORIES= math python
-MASTER_SITES= http://launchpad.net/${PORTNAME}/2.0.x/${PORTVERSION}/+download/
+MASTER_SITES= http://launchpad.net/${PORTNAME}/${MMVERSION}.x/${PORTVERSION}/+download/
MAINTAINER= jwbacon@tds.net
COMMENT= Unified framework for finite element assembly
@@ -19,12 +18,15 @@ 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|"usr")|"usr", "local")|g' \
- ${WRKSRC}/src/utils/python/ufc_utils/build.py
+ ${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>
diff --git a/math/ufc/distinfo b/math/ufc/distinfo
index f31651af46a2..3aab57270759 100644
--- a/math/ufc/distinfo
+++ b/math/ufc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ufc-2.0.5.tar.gz) = 989a8ed018c2682d47262f0f3a5dc970e27b6b6d47d03d5b986d0ff2b3ee5b2a
-SIZE (ufc-2.0.5.tar.gz) = 592282
+SHA256 (ufc-2.2.0.tar.gz) = e98cd4a748459fc62739534e87cf3d632b188b48381820672213f34ba61170e0
+SIZE (ufc-2.2.0.tar.gz) = 602068
diff --git a/math/ufc/pkg-plist b/math/ufc/pkg-plist
index 00cd60b331ab..36b5c490aa0a 100644
--- a/math/ufc/pkg-plist
+++ b/math/ufc/pkg-plist
@@ -1,5 +1,6 @@
include/swig/ufc.i
include/ufc.h
+include/ufc_geometry.h
%%PYTHON_SITELIBDIR%%/ufc/__init__.py
%%PYTHON_SITELIBDIR%%/ufc/_ufc.so
%%PYTHON_SITELIBDIR%%/ufc/ufc.py
@@ -13,6 +14,7 @@ include/ufc.h
libdata/pkgconfig/ufc-1.pc
%%DATADIR%%/UFCConfig.cmake
%%DATADIR%%/UFCConfigVersion.cmake
+%%DATADIR%%/UseUFC.cmake
@dirrm %%DATADIR%%
@dirrm %%PYTHON_SITELIBDIR%%/ufc_utils
@dirrm %%PYTHON_SITELIBDIR%%/ufc