source: trunk/dports/finance/litecoin/Portfile @ 127619

Last change on this file since 127619 was 127619, checked in by mk@…, 4 years ago

litecoin: update to latest version 0.8.7.4

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