1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/devel/cereal/Makefile
Yuri Victorovich c5e154ad98 devel/cereal: Unbreak by upgrading to 1.3.2
Reference explaining why cereal-1.3.1 is broken:
https://github.com/symengine/symengine/issues/1907#issuecomment-1114016265

Approved by:	portmgr (blanket; unbreak)
2022-04-30 11:00:59 -07:00

38 lines
865 B
Makefile

PORTNAME= cereal
DISTVERSIONPREFIX= v
DISTVERSION= 1.3.2
CATEGORIES= devel
MAINTAINER= teodor@sigaev.ru
COMMENT= C++11 library for serialization
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= boost-libs>0:devel/boost-libs
RUN_DEPENDS= boost-libs>0:devel/boost-libs
USES= cmake compiler:c++11-lang cpe
CPE_VENDOR= usc
USE_GITHUB= yes
GH_ACCOUNT= USCiLab
CFLAGS+= -Wno-unused-private-field
CMAKE_ON= SKIP_PORTABILITY_TEST
CMAKE_OFF= BUILD_TESTS BUILD_SANDBOX WITH_WERROR
NO_ARCH= yes
post-install:
${FIND} ${STAGEDIR}${PREFIX} -name LICENSE -delete
do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_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>