Index: lang/OpenCoarrays/Makefile =================================================================== --- lang/OpenCoarrays/Makefile (nonexistent) +++ lang/OpenCoarrays/Makefile (working copy) @@ -0,0 +1,50 @@ +# Created by: Anton Shterenlikht +# $FreeBSD$ + +PORTNAME= OpenCoarrays +PORTVERSION= 1.8.4 +CATEGORIES= lang + +MAINTAINER= mexas@bris.ac.uk +COMMENT= Transport layer for coarray Fortran compilers + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= bash:shells/bash + +USE_GITHUB= yes +GH_ACCOUNT= sourceryinstitute +GH_PROJECT= OpenCoarrays + +USES_GCC= 6+ + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +BLD_DIR= ${WRKSRC}/build + +PLIST_FILES= bin/caf bin/cafrun lib/libcaf_mpi.a + +.include + +do-build: + ${MKDIR} ${BLD_DIR} + cd ${BLD_DIR} && CC=gcc6 FC=gfortran6 cmake .. && make +# PR submitted to OC to fix these 2 errors +# https://github.com/sourceryinstitute/OpenCoarrays/issues/338 + ${SED} -i '' -e 's|bin/|usr/bin/env |' ${BLD_DIR}/bin_staging/caf \ + ${BLD_DIR}/bin_staging/cafrun + ${SED} -i '' -e 's|local\/usr\/bin\/env |local\/bin\/|' \ + ${BLD_DIR}/bin_staging/cafrun + +check regression-test test: build + cd ${BLD_DIR} && ctest + +do-install: + ${INSTALL_SCRIPT} ${BLD_DIR}/bin_staging/caf \ + ${BLD_DIR}/bin_staging/cafrun ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${BLD_DIR}/src/mpi/libcaf_mpi.a ${STAGEDIR}${PREFIX}/lib + +post-install: + +.include Property changes on: lang/OpenCoarrays/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: lang/OpenCoarrays/distinfo =================================================================== --- lang/OpenCoarrays/distinfo (nonexistent) +++ lang/OpenCoarrays/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1487389722 +SHA256 (sourceryinstitute-OpenCoarrays-1.8.4_GH0.tar.gz) = c40b504a65ea2933a3b68979c4e08dc9522f22b7a8d560d734d1a8bc6bcc1ee7 +SIZE (sourceryinstitute-OpenCoarrays-1.8.4_GH0.tar.gz) = 243759 Property changes on: lang/OpenCoarrays/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: lang/OpenCoarrays/files/patch-src_mpi_mpi__caf.c =================================================================== --- lang/OpenCoarrays/files/patch-src_mpi_mpi__caf.c (nonexistent) +++ lang/OpenCoarrays/files/patch-src_mpi_mpi__caf.c (working copy) @@ -0,0 +1,10 @@ +--- src/mpi/mpi_caf.c.orig 2017-02-18 03:15:31 UTC ++++ src/mpi/mpi_caf.c +@@ -37,7 +37,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI + #include + #include /* For memcpy. */ + #include /* For variadic arguments. */ +-#include + #include + #include + #include Property changes on: lang/OpenCoarrays/files/patch-src_mpi_mpi__caf.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: lang/OpenCoarrays/pkg-descr =================================================================== --- lang/OpenCoarrays/pkg-descr (nonexistent) +++ lang/OpenCoarrays/pkg-descr (working copy) @@ -0,0 +1,8 @@ +OpenCoarrays is an open-source software project +that supports the coarray Fortran (CAF) parallel +programming features of the Fortran 2008 standard +and several features proposed for Fortran 2015. + +WWW: https://github.com/sourceryinstitute/OpenCoarrays + +WWW: http://www.opencoarrays.org/ Property changes on: lang/OpenCoarrays/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property