mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-06 11:41:52 +00:00
![Jan Beich](/assets/img/avatar_default.png)
Changes: http://www.boost.org/users/history/version_1_72_0.html PR: 241449 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D22136
36 lines
999 B
Makefile
36 lines
999 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= date
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.4.1-80
|
|
DISTVERSIONSUFFIX= -ged0368f
|
|
PORTREVISION= 3
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Date and time library based on the C++11/14/17 <chrono> header
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/include/boost/chrono/typeof/boost/chrono/chrono.hpp:devel/boost-libs
|
|
LIB_DEPENDS= libcurl.so:ftp/curl
|
|
TEST_DEPENDS= bash:shells/bash
|
|
|
|
USES= cmake compiler:c++17-lang
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= HowardHinnant
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ON= BUILD_SHARED_LIBS
|
|
CMAKE_OFF= ENABLE_DATE_TESTING
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${REINPLACE_CMD} 's|!/bin/bash|!${LOCALBASE}/bin/bash|' compile_fail.sh test_fail.sh
|
|
@cd ${BUILD_WRKSRC} && \
|
|
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DENABLE_DATE_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} testit
|
|
|
|
.include <bsd.port.mk>
|