Bug 177769

Summary: maintainer update: math/ufc
Product: Ports & Packages Reporter: Jason W. Bacon <jwb>
Component: Individual Port(s)Assignee: Martin Wilke <miwi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Jason W. Bacon freebsd_committer freebsd_triage 2013-04-10 23:30:00 UTC
Routine upgrade to latest releast, 2.2.

Fix: Patch attached with submission follows:
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2013-04-13 09:23:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2013-04-26 14:22:59 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-04-26 14:23:02 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"