freebsd-ports/lang/chaiscript/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

42 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= ChaiScript
DISTVERSIONPREFIX= v
DISTVERSION= 6.1.0
PORTREVISION= 3
CATEGORIES= lang
MAINTAINER= yuri@FreeBSD.org
COMMENT= Embedded scripting language designed for C++
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake localbase:ldflags readline
USE_GITHUB= yes
USE_LDCONFIG= ${PREFIX}/lib/chaiscript
OPTIONS_DEFINE= DYNLOAD MULTITHREAD STD_MAKE_SHARED CPP17
OPTIONS_DEFAULT= DYNLOAD MULTITHREAD
DYNLOAD_DESC= Dynamic Loading Support Enabled
DYNLOAD_CMAKE_BOOL= DYNLOAD_ENABLED
MULTITHREAD_DESC= Multithreaded Support Enabled
MULTITHREAD_CMAKE_BOOL= MULTITHREAD_SUPPORT_ENABLED
STD_MAKE_SHARED_DESC= Use std::make_shared instead of chaiscript::make_shared
STD_MAKE_SHARED_CMAKE_BOOL= USE_STD_MAKE_SHARED
CPP17_DESC= Build with C++17 flags
CPP17_CMAKE_BOOL= BUILD_IN_CPP17_MODE
CPP17_USES= compiler:c++17-lang
CPP17_USES_OFF= compiler:c++14-lang
do-test: # some tests are known to fail: https://github.com/ChaiScript/ChaiScript/issues/466
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DRUN_FUZZY_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
.include <bsd.port.mk>