View | Details | Raw Unified | Return to bug 177769
Collapse All | Expand All

(-)/usr/home/bacon/Prog/Ports/ports/math/ufc/Makefile (-5 / +7 lines)
Lines 2-11 Link Here
2
# $FreeBSD: ports/math/ufc/Makefile,v 1.5 2013/03/22 23:30:08 svnexp Exp $
2
# $FreeBSD: ports/math/ufc/Makefile,v 1.5 2013/03/22 23:30:08 svnexp Exp $
3
3
4
PORTNAME=	ufc
4
PORTNAME=	ufc
5
PORTVERSION=	2.0.5
5
PORTVERSION=	${MMVERSION}.0
6
PORTREVISION=	1
7
CATEGORIES=	math python
6
CATEGORIES=	math python
8
MASTER_SITES=	http://launchpad.net/${PORTNAME}/2.0.x/${PORTVERSION}/+download/
7
MASTER_SITES=	http://launchpad.net/${PORTNAME}/${MMVERSION}.x/${PORTVERSION}/+download/
9
8
10
MAINTAINER=	jwbacon@tds.net
9
MAINTAINER=	jwbacon@tds.net
11
COMMENT=	Unified framework for finite element assembly
10
COMMENT=	Unified framework for finite element assembly
Lines 19-30 Link Here
19
USE_PYTHON=	-2.7
18
USE_PYTHON=	-2.7
20
PYDISTUTILS_PKGNAME=	ufc
19
PYDISTUTILS_PKGNAME=	ufc
21
20
21
CMAKE_ARGS+=	-DUFC_PKGCONFIG_DIR=${PREFIX}/libdata/pkgconfig
22
22
FETCH_ARGS=	-F
23
FETCH_ARGS=	-F
23
24
25
MMVERSION=	2.2
26
24
post-patch:
27
post-patch:
25
	${REINPLACE_CMD} -e 's|lib/pkgconfig|libdata/pkgconfig|g' \
28
	${REINPLACE_CMD} -e 's|lib/pkgconfig|libdata/pkgconfig|g' \
26
		${WRKSRC}/CMakeLists.txt
29
		${WRKSRC}/CMakeLists.txt
27
	${REINPLACE_CMD} -i '' -e 's|"usr")|"usr", "local")|g' \
30
	${REINPLACE_CMD} -i '' -e 's|os.path.join(os.path.sep, "usr")|os.path.normpath("${PREFIX}")|' ${WRKSRC}/src/utils/python/ufc_utils/build.py
28
		${WRKSRC}/src/utils/python/ufc_utils/build.py
29
31
30
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)/usr/home/bacon/Prog/Ports/ports/math/ufc/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (ufc-2.0.5.tar.gz) = 989a8ed018c2682d47262f0f3a5dc970e27b6b6d47d03d5b986d0ff2b3ee5b2a
1
SHA256 (ufc-2.2.0.tar.gz) = e98cd4a748459fc62739534e87cf3d632b188b48381820672213f34ba61170e0
2
SIZE (ufc-2.0.5.tar.gz) = 592282
2
SIZE (ufc-2.2.0.tar.gz) = 602068
(-)/usr/home/bacon/Prog/Ports/ports/math/ufc/pkg-plist (-1 / +2 lines)
Lines 1-5 Link Here
1
include/swig/ufc.i
1
include/swig/ufc.i
2
include/ufc.h
2
include/ufc.h
3
include/ufc_geometry.h
3
%%PYTHON_SITELIBDIR%%/ufc/__init__.py
4
%%PYTHON_SITELIBDIR%%/ufc/__init__.py
4
%%PYTHON_SITELIBDIR%%/ufc/_ufc.so
5
%%PYTHON_SITELIBDIR%%/ufc/_ufc.so
5
%%PYTHON_SITELIBDIR%%/ufc/ufc.py
6
%%PYTHON_SITELIBDIR%%/ufc/ufc.py
Lines 13-19 Link Here
13
libdata/pkgconfig/ufc-1.pc
14
libdata/pkgconfig/ufc-1.pc
14
%%DATADIR%%/UFCConfig.cmake
15
%%DATADIR%%/UFCConfig.cmake
15
%%DATADIR%%/UFCConfigVersion.cmake
16
%%DATADIR%%/UFCConfigVersion.cmake
17
%%DATADIR%%/UseUFC.cmake
16
@dirrm %%DATADIR%%
18
@dirrm %%DATADIR%%
17
@dirrm %%PYTHON_SITELIBDIR%%/ufc_utils
19
@dirrm %%PYTHON_SITELIBDIR%%/ufc_utils
18
@dirrm %%PYTHON_SITELIBDIR%%/ufc
19
@dirrmtry include/swig
20
@dirrmtry include/swig

Return to bug 177769