mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
81eea9770a
Reported by: portscout
30 lines
699 B
Makefile
30 lines
699 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pegtl
|
|
DISTVERSION= 2.8.3
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Parsing Expression Grammar Template Library
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cmake
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= taocpp
|
|
GH_PROJECT= PEGTL
|
|
|
|
CMAKE_OFF= PEGTL_BUILD_TESTS PEGTL_BUILD_EXAMPLES
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
do-test: # one test case fails: https://github.com/taocpp/PEGTL/issues/189
|
|
@cd ${BUILD_WRKSRC} && \
|
|
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DPEGTL_BUILD_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>
|