c751c17371
Reported by: portscout
29 lines
668 B
Makefile
29 lines
668 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= estd
|
|
DISTVERSION= 0.4.0
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Header-only C++ utilities in the style of the standard library
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= catch>0:devel/catch
|
|
RUN_DEPENDS= catch>0:devel/catch
|
|
|
|
USES= cmake compiler:c++17-lang localbase
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= fizyr
|
|
|
|
NO_ARCH= yes
|
|
|
|
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} check
|
|
|
|
.include <bsd.port.mk>
|