source: trunk/dports/finance/cgminer/Portfile @ 113487

Last change on this file since 113487 was 113487, checked in by ram@…, 6 years ago

finance/cgminer: update to 3.7.2

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 113487 2013-11-17 16:22:45Z ram@macports.org $
2
3PortSystem       1.0
4PortGroup        github 1.0
5
6github.setup     ckolivas cgminer 3.7.2 v
7categories       finance
8platforms        darwin
9maintainers      ram openmaintainer
10license          GPL-3
11
12description      ASIC/FPGA/GPU miner in c for bitcoin and litecoin
13long_description \
14  This is a multi-threaded multi-pool GPU, FPGA and ASIC miner with \
15  ATI GPU monitoring, (over)clocking and fanspeed support for bitcoin \
16  and derivative coins.
17
18checksums        rmd160 b8a43bd9e7041552811504654e891bb2f8ce33fa \
19                 sha256 244dfb82c41f9af369f67613deecb182b6f76026341c7dbfea698ed1f53e3772
20
21depends_build-append port:pkgconfig \
22                 port:gawk
23
24depends_lib      port:ncurses \
25                 port:curl
26
27use_autoreconf   yes
28
29configure.args   --disable-adl \
30                 --enable-opencl
31
32post-destroot {
33  delete ${destroot}${prefix}/include/jansson.h
34  delete ${destroot}${prefix}/include/jansson_config.h
35  xinstall -d ${destroot}${prefix}/share/doc/${name}
36  xinstall -m 644 -W $worksrcpath API-README ASIC-README FPGA-README \
37    GPU-README README SCRYPT-README ${destroot}${prefix}/share/doc/${name}
38}
39
40variant scrypt description {Add support for scrypt litecoin mining} {
41  configure.args-append --enable-scrypt
42  notes "
43When you start scrypt mining with the --scrypt option, cgminer will
44fail IN RANDOM WAYS. See ${prefix}/share/doc/cgminer/SCRYPT-README
45for more information.
46"
47}
48
49variant bflsc description {Add support for BFL ASICs} {
50    configure.args-append --enable-bflsc
51}
52
53variant bitforce description {Add support for BitForce FPGAs} {
54    configure.args-append --enable-bitforce
55}
56
57variant icarus description {Add support for Icarus} {
58    configure.args-append --enable-icarus
59}
60
61variant avalon description {Add support for Avalon} {
62    configure.args-append --enable-avalon
63}
64
65variant modminer description {Add support for ModMiner FPGAs} {
66    configure.args-append --enable-modminer
67}
68
69variant ztex description {Add support for Ztex} {
70    configure.args-append --enable-ztex
71}
Note: See TracBrowser for help on using the repository browser.