svn commit: r500995 - in head/math: . primesieve
Yuri Victorovich
yuri at FreeBSD.org
Wed May 8 05:50:43 UTC 2019
Author: yuri
Date: Wed May 8 05:50:41 2019
New Revision: 500995
URL: https://svnweb.freebsd.org/changeset/ports/500995
Log:
New port: math/primesieve: Fast prime number generator
Added:
head/math/primesieve/
head/math/primesieve/Makefile (contents, props changed)
head/math/primesieve/distinfo (contents, props changed)
head/math/primesieve/pkg-descr (contents, props changed)
head/math/primesieve/pkg-plist (contents, props changed)
Modified:
head/math/Makefile
Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile Wed May 8 05:49:01 2019 (r500994)
+++ head/math/Makefile Wed May 8 05:50:41 2019 (r500995)
@@ -679,6 +679,7 @@
SUBDIR += plplot-ada
SUBDIR += polylib
SUBDIR += primegen
+ SUBDIR += primesieve
SUBDIR += primme
SUBDIR += prng
SUBDIR += proofgeneral
Added: head/math/primesieve/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/primesieve/Makefile Wed May 8 05:50:41 2019 (r500995)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= primesieve
+DISTVERSIONPREFIX= v
+DISTVERSION= 7.4-26
+DISTVERSIONSUFFIX= -g5b757b77
+CATEGORIES= math
+
+MAINTAINER= yuri at 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>
Added: head/math/primesieve/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/primesieve/distinfo Wed May 8 05:50:41 2019 (r500995)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1557293982
+SHA256 (kimwalisch-primesieve-v7.4-26-g5b757b77_GH0.tar.gz) = df450b205e4a03f297d0dacb256e810357277c0aacf185bd2c40239cfae36655
+SIZE (kimwalisch-primesieve-v7.4-26-g5b757b77_GH0.tar.gz) = 170496
Added: head/math/primesieve/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/primesieve/pkg-descr Wed May 8 05:50:41 2019 (r500995)
@@ -0,0 +1,6 @@
+primesieve is a program and C/C++ library that generates primes using a highly
+optimized sieve of Eratosthenes implementation. It counts the primes below 10^10
+in just 0.4 seconds on an Intel Core i7-6700 CPU (4 x 3.4 GHz). primesieve can
+generate primes and prime k-tuplets up to 2^64.
+
+WWW: https://github.com/kimwalisch/primesieve
Added: head/math/primesieve/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/primesieve/pkg-plist Wed May 8 05:50:41 2019 (r500995)
@@ -0,0 +1,16 @@
+bin/primesieve
+include/primesieve.h
+include/primesieve.hpp
+include/primesieve/StorePrimes.hpp
+include/primesieve/iterator.h
+include/primesieve/iterator.hpp
+include/primesieve/primesieve_error.hpp
+lib/cmake/primesieve/primesieveConfig.cmake
+lib/cmake/primesieve/primesieveConfigVersion.cmake
+lib/cmake/primesieve/primesieveShared-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/primesieve/primesieveShared.cmake
+lib/libprimesieve.so
+lib/libprimesieve.so.9
+lib/libprimesieve.so.9.5.0
+libdata/pkgconfig/primesieve.pc
+man/man1/primesieve.1.gz
More information about the svn-ports-all
mailing list