Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2013 22:20:20 GMT
From:      Jason Bacon <jwbacon@tds.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/177769: maintainer update: math/ufc
Message-ID:  <201304102220.r3AMKKXY012389@red.freebsd.org>
Resent-Message-ID: <201304102230.r3AMU0Lt038445@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177769
>Category:       ports
>Synopsis:       maintainer update: math/ufc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 10 22:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jason Bacon
>Release:        8.3-RELEASE
>Organization:
Acadix Consulting, LLC
>Environment:
FreeBSD sculpin.jbacon.dyndns.org 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr  9 21:23:18 UTC 2012     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Routine upgrade to latest releast, 2.2.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN --exclude=CVS /usr/ports/math/ufc/Makefile /usr/home/bacon/Prog/Ports/ports/math/ufc/Makefile
--- /usr/ports/math/ufc/Makefile	2013-03-22 18:30:08.000000000 -0500
+++ /usr/home/bacon/Prog/Ports/ports/math/ufc/Makefile	2013-04-10 17:15:31.000000000 -0500
@@ -2,10 +2,9 @@
 # $FreeBSD: ports/math/ufc/Makefile,v 1.5 2013/03/22 23:30:08 svnexp Exp $
 
 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 @@
 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 -ruN --exclude=CVS /usr/ports/math/ufc/distinfo /usr/home/bacon/Prog/Ports/ports/math/ufc/distinfo
--- /usr/ports/math/ufc/distinfo	2012-05-07 01:55:22.000000000 -0500
+++ /usr/home/bacon/Prog/Ports/ports/math/ufc/distinfo	2013-03-24 21:59:27.000000000 -0500
@@ -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 -ruN --exclude=CVS /usr/ports/math/ufc/pkg-plist /usr/home/bacon/Prog/Ports/ports/math/ufc/pkg-plist
--- /usr/ports/math/ufc/pkg-plist	2012-06-08 09:53:28.000000000 -0500
+++ /usr/home/bacon/Prog/Ports/ports/math/ufc/pkg-plist	2013-04-10 17:14:13.000000000 -0500
@@ -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,7 +14,7 @@
 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
 @dirrmtry include/swig


>Release-Note:
>Audit-Trail:
>Unformatted:



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