source: trunk/dports/finance/litecoin/Portfile

Last change on this file was 146517, checked in by raimue@…, 19 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6PortGroup           qmake  1.0
7PortGroup           github 1.0
8
9github.setup        litecoin-project litecoin 0.8.7.4 v
10revision            2
11
12categories          finance
13maintainers         mk openmaintainer
14
15description         Litecoin is a P2P Internet currency that enables instant payments to anyone in the world.
16long_description    Litecoin is a peer-to-peer Internet currency that enables instant payments\
17                    to anyone in the world. It is based on the Bitcoin protocol but differs\
18                    from Bitcoin in that it can be efficiently mined with consumer-grade hardware.\
19                    Litecoin provides faster transaction confirmations (2.5 minutes on average)\
20                    and uses memory-hard, scrypt-based mining proof-of-work algorithm to target\
21                    the regular computers and GPUs most people already have. The Litecoin network\
22                    is scheduled to produce 84 million currency units.\
23                    \
24                    One of the aims of Litecoin was to provide a mining algorithm that could run\
25                    at the same time, on the same hardware used to mine bitcoins. With the rise\
26                    of specialized ASICs for Bitcoin, Litecoin continues to satisfy these goals.\
27                    It is unlikely for ASIC mining to be developed for Litecoin until the currency\
28                    is widely used.
29
30platforms           darwin
31license             MIT
32
33depends_lib-append  port:boost \
34                    path:lib/libssl.dylib:openssl \
35                    port:db48 \
36                    port:miniupnpc \
37                    port:qrencode
38
39checksums           md5     76929547d8ff674d2e55e3cfc407fb8c \
40                    sha1    b0f0f500d95df1f9bd2b002231bf2bbfc7626663 \
41                    rmd160  1b15d2a2e4d0797c8038e6dd8dd7cae1816e1a48
42
43# This is necessary for version 0.8.5.1 due to a stealth update
44dist_subdir         ${name}/${version}_1
45
46livecheck.type      regex
47livecheck.url       http://litecoin.org
48livecheck.regex     "macosx/Litecoin-Qt-(0\\.\\d+\\.\\d+\\.\\d+)\\.dmg"
49
50use_parallel_build  yes
51
52pre-configure {
53    reinplace "s|/opt/local|${prefix}|" ${worksrcpath}/bitcoin-qt.pro
54    configure.pre_args-append   USE_QRCODE=1 INCLUDEPATH+="${prefix}/include/db48/" LIBS+="-L${prefix}/lib/db48"
55}
56
57if {$subport == $name} {
58    destroot {
59        xinstall -m 0755 -d ${destroot}${qt_apps_dir}
60        file copy ${worksrcpath}/Litecoin-Qt.app ${destroot}${qt_apps_dir}
61    }
62}
63
64subport litecoind {
65    replaced_by      litecoin
66    PortGroup        obsolete 1.0
67    revision         1
68
69    description      Litecoin's mining daemon litecoind alone. (Not recommended for installation anymore!)
70    long_description $description
71}
Note: See TracBrowser for help on using the repository browser.