Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2013 13:22:55 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r316605 - head/math/ufc
Message-ID:  <201304261322.r3QDMt46085862@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Fri Apr 26 13:22:55 2013
New Revision: 316605
URL: http://svnweb.freebsd.org/changeset/ports/316605

Log:
  - Update to 2.2
  
  PR:		177769
  Submitted by:	maintainer

Modified:
  head/math/ufc/Makefile
  head/math/ufc/distinfo   (contents, props changed)
  head/math/ufc/pkg-plist   (contents, props changed)

Modified: head/math/ufc/Makefile
==============================================================================
--- head/math/ufc/Makefile	Fri Apr 26 13:18:51 2013	(r316604)
+++ head/math/ufc/Makefile	Fri Apr 26 13:22:55 2013	(r316605)
@@ -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>

Modified: head/math/ufc/distinfo
==============================================================================
--- head/math/ufc/distinfo	Fri Apr 26 13:18:51 2013	(r316604)
+++ head/math/ufc/distinfo	Fri Apr 26 13:22:55 2013	(r316605)
@@ -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

Modified: head/math/ufc/pkg-plist
==============================================================================
--- head/math/ufc/pkg-plist	Fri Apr 26 13:18:51 2013	(r316604)
+++ head/math/ufc/pkg-plist	Fri Apr 26 13:22:55 2013	(r316605)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304261322.r3QDMt46085862>