git: 5748d1f611f8 - main - devel/json-fortran: New port: Modern Fortran JSON API
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Aug 2023 02:04:05 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=5748d1f611f815e38acc09d99a778dbda8921341 commit 5748d1f611f815e38acc09d99a778dbda8921341 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-08-08 01:50:57 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-08-08 02:04:03 +0000 devel/json-fortran: New port: Modern Fortran JSON API --- devel/Makefile | 1 + devel/json-fortran/Makefile | 22 ++++++++++++++++++++++ devel/json-fortran/distinfo | 3 +++ devel/json-fortran/pkg-descr | 2 ++ devel/json-fortran/pkg-plist | 15 +++++++++++++++ 5 files changed, 43 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index a31fc4ce2abd..fa883f1ae4a8 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1051,6 +1051,7 @@ SUBDIR += jsmin SUBDIR += json-c SUBDIR += json-dto + SUBDIR += json-fortran SUBDIR += json-glib SUBDIR += jsoncpp SUBDIR += jsonnet diff --git a/devel/json-fortran/Makefile b/devel/json-fortran/Makefile new file mode 100644 index 000000000000..ece3f6e774d5 --- /dev/null +++ b/devel/json-fortran/Makefile @@ -0,0 +1,22 @@ +PORTNAME= json-fortran +DISTVERSION= 8.3.0-8 +DISTVERSIONSUFFIX= -gd296de8a4 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Modern Fortran JSON API +WWW= https://github.com/jacobwilliams/json-fortran/ + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake:testing fortran + +USE_GITHUB= yes +GH_ACCOUNT= jacobwilliams + +CMAKE_ON= USE_GNU_INSTALL_CONVENTION + +# all tests fail, see https://github.com/jacobwilliams/json-fortran/issues/539 + +.include <bsd.port.mk> diff --git a/devel/json-fortran/distinfo b/devel/json-fortran/distinfo new file mode 100644 index 000000000000..e221c42d33e2 --- /dev/null +++ b/devel/json-fortran/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1691458462 +SHA256 (jacobwilliams-json-fortran-8.3.0-8-gd296de8a4_GH0.tar.gz) = 0fdd3031394ae476a18352a60329227df586f50fa081c24db0e70df83b8561a2 +SIZE (jacobwilliams-json-fortran-8.3.0-8-gd296de8a4_GH0.tar.gz) = 1806162 diff --git a/devel/json-fortran/pkg-descr b/devel/json-fortran/pkg-descr new file mode 100644 index 000000000000..c895c6046422 --- /dev/null +++ b/devel/json-fortran/pkg-descr @@ -0,0 +1,2 @@ +JSON-Fortran is a user-friendly, thread-safe, and object-oriented API for +reading and writing JSON files, written in modern Fortran. diff --git a/devel/json-fortran/pkg-plist b/devel/json-fortran/pkg-plist new file mode 100644 index 000000000000..54020b516877 --- /dev/null +++ b/devel/json-fortran/pkg-plist @@ -0,0 +1,15 @@ +include/json_file_module.mod +include/json_kinds.mod +include/json_module.mod +include/json_parameters.mod +include/json_string_utilities.mod +include/json_value_module.mod +lib/cmake/jsonfortran-gnu-8.3.0/jsonfortran-gnu-config-version.cmake +lib/cmake/jsonfortran-gnu-8.3.0/jsonfortran-gnu-config.cmake +lib/cmake/jsonfortran-gnu-8.3.0/jsonfortran-gnu-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/jsonfortran-gnu-8.3.0/jsonfortran-gnu-targets.cmake +lib/libjsonfortran.a +lib/libjsonfortran.so +lib/libjsonfortran.so.8.3 +lib/libjsonfortran.so.8.3.0 +libdata/pkgconfig/json-fortran.pc