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

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

litecoin: revbump with new checksums (needed for some unkown reason)

  • 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 111248 2013-09-17 21:15:41Z mk@macports.org $
3
4PortSystem          1.0
5
6PortGroup           qmake  1.0
7PortGroup           github 1.0
8
9github.setup        litecoin-project litecoin 0.8.5.1 v
10revision            1
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                    port:openssl \
35                    port:db48 \
36                    port:miniupnpc \
37                    port:qrencode
38
39checksums           md5     d80dfbc7aa2f8d2e18c60ae50ff8d621 \
40                    sha1    5f4cee4e299bd9e04a50433f05e910d42495dcb1 \
41                    rmd160  b8403288059d2e9025b6f018fc0fc95cf3bd7174
42
43livecheck.type      regex
44livecheck.url       http://litecoin.org
45livecheck.regex     "macosx/Litecoin-Qt-(0\\.\\d+\\.\\d+\\.\\d+)\\.dmg"
46
47use_parallel_build  yes
48
49pre-configure {
50    reinplace "s|/opt/local|${prefix}|" ${worksrcpath}/bitcoin-qt.pro
51    configure.pre_args-append   USE_QRCODE=1 INCLUDEPATH+="${prefix}/include/db48/" LIBS+="-L${prefix}/lib/db48"
52}
53
54if {$subport == $name} {
55    destroot {
56        xinstall -m 0755 -d ${destroot}${qt_apps_dir}
57        file copy ${worksrcpath}/Litecoin-Qt.app ${destroot}${qt_apps_dir}
58    }
59}
60
61subport litecoind {
62    description         Litecoin's mining daemon litecoind alone. (Not recommended for installation anymore!)
63
64    depends_lib-delete  port:qt4-mac
65
66    set build.cmd "cd src && make -f makefile.osx DEPSDIR=\"${prefix}\" USE_IPV6=1"
67
68    destroot {
69        xinstall -d ${destroot}${prefix}/sbin
70        xinstall -m 755 -W ${worksrcpath} src/litecoind ${destroot}${prefix}/sbin
71    }
72}
Note: See TracBrowser for help on using the repository browser.