Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= opencoarrays |
4 |
PORTNAME= opencoarrays |
5 |
PORTVERSION= 1.9.1 |
5 |
PORTVERSION= 1.9.3 |
6 |
PORTREVISION= 1 |
6 |
PORTREVISION= |
7 |
CATEGORIES= lang parallel |
7 |
CATEGORIES= lang parallel |
8 |
|
8 |
|
9 |
MAINTAINER= as@cmplx.uk |
9 |
MAINTAINER= as@cmplx.uk |
Lines 15-29
Link Here
|
15 |
BUILD_DEPENDS= bash:shells/bash |
15 |
BUILD_DEPENDS= bash:shells/bash |
16 |
RUN_DEPENDS= bash:shells/bash |
16 |
RUN_DEPENDS= bash:shells/bash |
17 |
|
17 |
|
|
|
18 |
USES= cmake:outsource fortran |
19 |
PLIST_SUB= GCC_VER=${_GCC_VER} |
20 |
|
21 |
USE_LDCONFIG= yes |
22 |
|
18 |
USE_GITHUB= yes |
23 |
USE_GITHUB= yes |
19 |
GH_ACCOUNT= sourceryinstitute |
24 |
GH_ACCOUNT= sourceryinstitute |
20 |
GH_PROJECT= OpenCoarrays |
25 |
GH_PROJECT= OpenCoarrays |
21 |
|
26 |
|
22 |
USES= cmake:outsource fortran shebangfix |
|
|
23 |
PLIST_SUB= GCC_VER=${_GCC_VER} |
24 |
SHEBANG_FILES= src/extensions/caf-head \ |
25 |
src/extensions/cafrun-head |
26 |
|
27 |
OPTIONS_SINGLE= MPI |
27 |
OPTIONS_SINGLE= MPI |
28 |
OPTIONS_SINGLE_MPI= MPICH OPENMPI OPENMPI2 |
28 |
OPTIONS_SINGLE_MPI= MPICH OPENMPI OPENMPI2 |
29 |
OPTIONS_DEFAULT= MPICH |
29 |
OPTIONS_DEFAULT= MPICH |
Lines 31-36
Link Here
|
31 |
MPICH_DESC= Parallel processing support via MPICH |
31 |
MPICH_DESC= Parallel processing support via MPICH |
32 |
MPICH_BUILD_DEPENDS= mpif90:net/mpich |
32 |
MPICH_BUILD_DEPENDS= mpif90:net/mpich |
33 |
MPICH_RUN_DEPENDS= mpif90:net/mpich |
33 |
MPICH_RUN_DEPENDS= mpif90:net/mpich |
|
|
34 |
MPICH_CONFIGURE_ENV= MPI_HOME=${LOCALBASE} |
34 |
|
35 |
|
35 |
OPENMPI_BUILD_DEPENDS= ${LOCALBASE}/mpi/openmpi/bin/mpif90:net/openmpi |
36 |
OPENMPI_BUILD_DEPENDS= ${LOCALBASE}/mpi/openmpi/bin/mpif90:net/openmpi |
36 |
OPENMPI_RUN_DEPENDS= ${LOCALBASE}/mpi/openmpi/bin/mpif90:net/openmpi |
37 |
OPENMPI_RUN_DEPENDS= ${LOCALBASE}/mpi/openmpi/bin/mpif90:net/openmpi |
Lines 48-55
Link Here
|
48 |
.endif |
49 |
.endif |
49 |
|
50 |
|
50 |
post-patch: |
51 |
post-patch: |
51 |
@${REINPLACE_CMD} '/mod_install/s/$${CMAKE_Fortran_COMPILER_VERSION}/${_GCC_VER}/' \ |
52 |
@${REINPLACE_CMD} '/mod_dir_tail/s/$${CMAKE_Fortran_COMPILER_VERSION}/${_GCC_VER}/' \ |
52 |
${WRKSRC}/src/mpi/CMakeLists.txt |
53 |
${WRKSRC}/CMakeLists.txt |
53 |
|
54 |
|
54 |
do-test: |
55 |
do-test: |
55 |
(cd ${TEST_WRKSRC} && ctest) |
56 |
(cd ${TEST_WRKSRC} && ctest) |