Ticket #51177: patch-Portfile.diff

File patch-Portfile.diff, 2.1 KB (added by mkae (Marko Käning), 9 years ago)

patch for litecoin's Portfile

  • Portfile

     
    66PortGroup           qmake  1.0
    77PortGroup           github 1.0
    88
    9 github.setup        litecoin-project litecoin 0.8.7.4 v
     9github.setup        litecoin-project litecoin 0.10.4.0 v
    1010
    1111categories          finance
    12 maintainers         mk openmaintainer
     12maintainers         openmaintainer
    1313
    1414description         Litecoin is a P2P Internet currency that enables instant payments to anyone in the world.
    1515long_description    Litecoin is a peer-to-peer Internet currency that enables instant payments\
     
    3535                    port:miniupnpc \
    3636                    port:qrencode
    3737
    38 checksums           md5     76929547d8ff674d2e55e3cfc407fb8c \
    39                     sha1    b0f0f500d95df1f9bd2b002231bf2bbfc7626663 \
    40                     rmd160  1b15d2a2e4d0797c8038e6dd8dd7cae1816e1a48
     38checksums           md5     86b973e2ac1fff7a3eec9e13fc4b6d4b \
     39                    sha1    7eb0eba4b9614a6bdb94a417f659efb2e53ec88a \
     40                    rmd160  fd52c95b52c55470d534e8d2a3d3bcc40eade2fa
    4141
    4242# This is necessary for version 0.8.5.1 due to a stealth update
    43 dist_subdir         ${name}/${version}_1
     43#dist_subdir         ${name}/${version}_1
    4444
     45use_autoconf        yes
     46autoconf.cmd        ./autogen.sh
     47
     48
    4549livecheck.type      regex
    4650livecheck.url       http://litecoin.org
    47 livecheck.regex     "macosx/Litecoin-Qt-(0\\.\\d+\\.\\d+\\.\\d+)\\.dmg"
     51livecheck.regex     "Litecoin Core (0\\.\\d+\\.\\d+\\.\\d+)<br/>"
    4852
    4953use_parallel_build  yes
    5054
    5155pre-configure {
    52     reinplace "s|/opt/local|${prefix}|" ${worksrcpath}/bitcoin-qt.pro
    5356    configure.pre_args-append   USE_QRCODE=1 INCLUDEPATH+="${prefix}/include/db48/" LIBS+="-L${prefix}/lib/db48"
    5457}
    5558
     
    6366subport litecoind {
    6467    replaced_by      litecoin
    6568    PortGroup        obsolete 1.0
    66     revision         1
    6769
    6870    description      Litecoin's mining daemon litecoind alone. (Not recommended for installation anymore!)
    6971    long_description $description