source: trunk/dports/finance/cgminer/Portfile

Last change on this file was 139469, checked in by jmr@…, 2 years ago

ncurses: update to 6.0, rev bump dependents due to new ABI

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.2 KB
Line 
1# $Id: Portfile 139469 2015-08-18 01:10:17Z ryandesign@macports.org $
2
3PortSystem       1.0
4PortGroup        github 1.0
5
6github.setup     ckolivas cgminer 4.9.2 v
7revision         1
8categories       finance
9platforms        darwin
10maintainers      ram openmaintainer
11license          GPL-3
12
13description      ASIC/FPGA miner in c for bitcoin
14long_description \
15  This is a multi-threaded multi-pool FPGA and ASIC miner for bitcoin.
16
17checksums        rmd160 2c631bfc0fdd89e3ba7464e2f3f0f0fcce32b56a \
18                 sha256 7383dcf2a2ecf97d006bf9a72b3271587a66085634b16b4009d131c1b418f77a
19
20depends_build-append port:pkgconfig \
21                 port:gawk
22
23depends_lib      port:ncurses \
24                 port:curl
25
26use_autoreconf   yes
27
28post-destroot {
29  delete ${destroot}${prefix}/include
30  delete ${destroot}${prefix}/lib
31  xinstall -d ${destroot}${prefix}/share/doc/${name}
32  xinstall -m 644 -W $worksrcpath API-README ASIC-README FPGA-README \
33    LICENSE NEWS README ${destroot}${prefix}/share/doc/${name}
34}
35
36variant ants1 description {Add support for Antminer S1} {
37    configure.args-append --enable-ants1
38}
39
40variant ants2 description {Add support for Antminer S2} {
41    configure.args-append --enable-ants2
42}
43
44variant ants3 description {Add support for Antminer S3} {
45    configure.args-append --enable-ants3
46}
47
48variant avalon description {Add support for Avalon} {
49    configure.args-append --enable-avalon
50}
51
52variant avalon2 description {Add support for Avalon2} {
53    configure.args-append --enable-avalon2
54}
55
56variant bab description {Add support for BlackArrow Bitfury} {
57    configure.args-append --enable-bab
58}
59
60variant bflsc description {Add support for BFL ASICs} {
61    configure.args-append --enable-bflsc
62}
63
64variant bitforce description {Add support for BitForce FPGAs} {
65    configure.args-append --enable-bitforce
66}
67
68variant bitfury description {Add support for BitFury ASICs} {
69    configure.args-append --enable-bitfury
70}
71
72variant bitmine_a1 description {Add support for Bitmine.ch A1 ASICs} {
73    configure.args-append --enable-bitmine_A1
74}
75
76variant blockerupter description {Add support for BlockErupter} {
77    configure.args-append --enable-blockerupter
78}
79
80variant cointerra description {Add support for Cointerra ASICs} {
81    configure.args-append --enable-cointerra
82}
83
84variant drillbit description {Add support for Drillbit BitFury ASICs} {
85    configure.args-append --enable-drillbit
86}
87
88variant hashfast description {Add support for Hashfast} {
89    configure.args-append --enable-hashfast
90}
91
92variant hashratio description {Add support for Hashratio} {
93    configure.args-append --enable-hashratio
94}
95
96variant icarus description {Add support for Icarus} {
97    configure.args-append --enable-icarus
98}
99
100variant klondike description {Add support for Klondike} {
101    configure.args-append --enable-klondike
102}
103
104variant knc description {Add support for KnC miners} {
105    configure.args-append --enable-knc
106}
107
108variant minion description {Add support for Minion BlackArrow ASIC} {
109    configure.args-append --enable-minion
110}
111
112variant modminer description {Add support for ModMiner FPGAs} {
113    configure.args-append --enable-modminer
114}
115
116variant sp10 description {Add support for Spondoolies SP10} {
117    configure.args-append --enable-sp10
118}
119
120variant sp30 description {Add support for Spondoolies SP30} {
121    configure.args-append --enable-sp30
122}
123
124default_variants +icarus
Note: See TracBrowser for help on using the repository browser.