freebsd-ports/math/primesieve/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

25 lines
603 B
Makefile

PORTNAME= primesieve
DISTVERSIONPREFIX= v
DISTVERSION= 7.6
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Fast prime number generator
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake compiler:c++11-lang
USE_GITHUB= yes
GH_ACCOUNT= kimwalisch
USE_LDCONFIG= yes
CMAKE_OFF= BUILD_STATIC_LIBS
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} test
.include <bsd.port.mk>