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

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

finance/cgminer: update to 3.8.4

This release drops support for GPU mining and litecoin, by default
icarus miners are supported, enable the appropriate variants for your
mining hardware.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 114188 2013-12-01 19:32:30Z ram@macports.org $
2
3PortSystem       1.0
4PortGroup        github 1.0
5
6github.setup     ckolivas cgminer 3.8.4 v
7categories       finance
8platforms        darwin
9maintainers      ram openmaintainer
10license          GPL-3
11
12description      ASIC/FPGA miner in c for bitcoin
13long_description \
14  This is a multi-threaded multi-pool FPGA and ASIC miner for bitcoin.
15
16checksums        rmd160  06d9ce3abd9cf476b9a37094239274ffb6eeb637 \
17                 sha256  bc80c2a70154d73cb932d5841652605fb635273cb3850f1de94e7e2ba231b0ef
18
19conflicts        jannson
20
21depends_build-append port:pkgconfig \
22                 port:gawk
23
24depends_lib      port:ncurses \
25                 port:curl \
26                 port:libusb
27
28use_autoreconf   yes
29
30configure.args   --with-system-libusb
31
32post-destroot {
33  xinstall -d ${destroot}${prefix}/share/doc/${name}
34  xinstall -m 644 -W $worksrcpath API-README ASIC-README FPGA-README \
35    LICENSE NEWS README ${destroot}${prefix}/share/doc/${name}
36}
37
38variant avalon description {Add support for Avalon} {
39    configure.args-append --enable-avalon
40}
41
42variant bab description {Add support for BlackArrow Bitfury} {
43    configure.args-append --enable-bab
44}
45
46variant bflsc description {Add support for BFL ASICs} {
47    configure.args-append --enable-bflsc
48}
49
50variant bitforce description {Add support for BitForce FPGAs} {
51    configure.args-append --enable-bitforce
52}
53
54variant bitfury description {Add support for BitFury ASICs} {
55    configure.args-append --enable-bitfury
56}
57
58variant hashfast description {Add support for Hashfast} {
59    configure.args-append --enable-hashfast
60}
61
62variant icarus description {Add support for Icarus} {
63    configure.args-append --enable-icarus
64}
65
66variant klondike description {Add support for Klondike} {
67    configure.args-append --enable-klondike
68}
69
70variant knc description {Add support for KnC miners} {
71    configure.args-append --enable-knc
72}
73
74variant modminer description {Add support for ModMiner FPGAs} {
75    configure.args-append --enable-modminer
76}
77
78default_variants +icarus
Note: See TracBrowser for help on using the repository browser.