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

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

finance/cgminer: go back to using bundled libusb

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 114208 2013-12-02 16:53:58Z ram@macports.org $
2
3PortSystem       1.0
4PortGroup        github 1.0
5
6github.setup     ckolivas cgminer 3.8.4 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  06d9ce3abd9cf476b9a37094239274ffb6eeb637 \
18                 sha256  bc80c2a70154d73cb932d5841652605fb635273cb3850f1de94e7e2ba231b0ef
19
20conflicts        jannson
21
22depends_build-append port:pkgconfig \
23                 port:gawk
24
25depends_lib      port:ncurses \
26                 port:curl
27
28use_autoreconf   yes
29
30post-destroot {
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 avalon description {Add support for Avalon} {
37    configure.args-append --enable-avalon
38}
39
40variant bab description {Add support for BlackArrow Bitfury} {
41    configure.args-append --enable-bab
42}
43
44variant bflsc description {Add support for BFL ASICs} {
45    configure.args-append --enable-bflsc
46}
47
48variant bitforce description {Add support for BitForce FPGAs} {
49    configure.args-append --enable-bitforce
50}
51
52variant bitfury description {Add support for BitFury ASICs} {
53    configure.args-append --enable-bitfury
54}
55
56variant hashfast description {Add support for Hashfast} {
57    configure.args-append --enable-hashfast
58}
59
60variant icarus description {Add support for Icarus} {
61    configure.args-append --enable-icarus
62}
63
64variant klondike description {Add support for Klondike} {
65    configure.args-append --enable-klondike
66}
67
68variant knc description {Add support for KnC miners} {
69    configure.args-append --enable-knc
70}
71
72variant modminer description {Add support for ModMiner FPGAs} {
73    configure.args-append --enable-modminer
74}
75
76default_variants +icarus
Note: See TracBrowser for help on using the repository browser.