Ignore:
Timestamp:
Sep 27, 2013, 11:40:42 PM (6 years ago)
Author:
ram@…
Message:

finance/cgminer: add variants for optional features, always install

documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/finance/cgminer/Portfile

    r111570 r111656  
    55name             cgminer
    66version          3.4.3
    7 revision         1
     7revision         2
    88categories       finance
    99platforms        darwin
     
    3434  delete ${destroot}${prefix}/include/jansson_config.h
    3535  xinstall -d ${destroot}${prefix}/share/doc/${name}
    36   xinstall -m 644 -W $worksrcpath API-README GPU-README README \
    37     ${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}
    3838}
    3939
    4040variant scrypt description {Add support for scrypt litecoin mining} {
    4141  configure.args-append --enable-scrypt
    42   post-destroot {
    43     xinstall -m 644 -W $worksrcpath SCRYPT-README \
    44       ${destroot}${prefix}/share/doc/${name}
    45   }
    4642  notes "
    4743When you start scrypt mining with the --scrypt option, cgminer will
     
    5147}
    5248
     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}
     72
    5373livecheck.type   regex
    5474livecheck.url    ${master_sites}
Note: See TracChangeset for help on using the changeset viewer.