blob: f3aca61d068b76214949250ffa0d76a1fe095fe9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $FreeBSD$
PORTNAME= primesieve
DISTVERSIONPREFIX= v
DISTVERSION= 7.4-26
PORTREVISION= 1
DISTVERSIONSUFFIX= -g5b757b77
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>
|