mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
737e7cdf87
This makes them prone to breaking when GCC version is changed. Reported by: diizzy@
24 lines
584 B
Makefile
24 lines
584 B
Makefile
PORTNAME= toml-f
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.2.2-4
|
|
PORTREVISION= 1
|
|
DISTVERSIONSUFFIX= -gf066ec6
|
|
CATEGORIES= textproc
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= TOML parser for data serialization and deserialization in Fortran
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE-MIT
|
|
|
|
USES= cmake:testing fortran
|
|
USE_GITHUB= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ON= BUILD_SHARED_LIBS
|
|
|
|
post-patch: # see https://github.com/toml-f/toml-f/issues/51
|
|
@${REINPLACE_CMD} -e 's|$${CMAKE_Fortran_COMPILER_ID}-$${CMAKE_Fortran_COMPILER_VERSION}||' ${WRKSRC}/config/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|