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> |