mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
28 lines
604 B
Makefile
28 lines
604 B
Makefile
PORTNAME= cpp-peglib
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.3.7
|
|
CATEGORIES= textproc devel
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= C++ header-only PEG (Parsing Expression Grammars) library
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cmake compiler:c++17-lang
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= yhirose
|
|
|
|
NO_ARCH= yes
|
|
|
|
PLIST_FILES= include/peglib.h
|
|
|
|
do-test:
|
|
@cd ${BUILD_WRKSRC} && \
|
|
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DFREEBSD_BUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
|
|
test/test-main
|
|
|
|
.include <bsd.port.mk>
|