blob: e9177a7d76f9a6361c984474d419970dfd18890d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
PORTNAME= json-fortran
DISTVERSION= 9.0.5
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= Modern Fortran JSON API
WWW= https://github.com/jacobwilliams/json-fortran/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_aarch64= compilation fails: Cannot find an intrinsic module named 'ieee_arithmetic'
USES= cmake:testing fortran
USE_GITHUB= yes
GH_ACCOUNT= jacobwilliams
CMAKE_ON= USE_GNU_INSTALL_CONVENTION
CMAKE_OFF= JSONFORTRAN_ENABLE_TESTS
CMAKE_TESTING_ON= JSONFORTRAN_ENABLE_TESTS ENABLE_TESTS
CMAKE_TESTING_TARGET= check
.include <bsd.port.pre.mk>
.if ${FORTRAN_DEFAULT} == flang
PLIST_SUB+= LIBSUFFIX=llvmflang
TESTING_UNSAFE= https://github.com/llvm/llvm-project/issues/161568
.else
PLIST_SUB+= LIBSUFFIX=gnu
.endif
# tests as of 9.0.5: 100% tests passed, 0 tests failed out of 53
.include <bsd.port.post.mk>
|