1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/devel/args/Makefile
Yuri Victorovich d2ad974ff4 devel/args: Update 6.2.7 -> 6.3.0
Reported by:	portscout
2021-12-24 21:19:08 -08:00

32 lines
756 B
Makefile

PORTNAME= args
DISTVERSION= 6.3.0
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= Header-only C++ argument parser library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= Taywee
CMAKE_OFF= ARGS_BUILD_EXAMPLE ARGS_BUILD_UNITTESTS
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= include/args.hxx
do-install: # https://github.com/reconquest/args/issues/1
${INSTALL_DATA} ${WRKSRC}/args.hxx ${STAGEDIR}${PREFIX}/include
do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DARGS_BUILD_UNITTESTS: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>