Someone can make a port for this, but here you are for a quickie, to show you 
how this is done:


% sudo port install cmake


% git clone --depth=1 https://github.com/kimwalisch/primesieve
% cd primesieve
% mkdir build
% cd build
% cmake ..
% make

% ./primesieve 100 --count --print
2
3
5
7
11
13
17
19
23
29
31
37
41
43
47
53
59
61
67
71
73
79
83
89
97
25

Reply via email to