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

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

litecoin: upgrade to latest release version 0.8.5.1

  • 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 111245 2013-09-17 20:47:57Z 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
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     0fa9e6fd044ed62069474f639ebf9826 \
39                    sha1    2a0f1a3c599625ffb6f2172e081e223d8b92cd52 \
40                    rmd160  06a98d159a11450dddb21ab0035d7f5bfe5a5ed5
41
42livecheck.type      regex
43livecheck.url       http://litecoin.org
44livecheck.regex     "macosx/Litecoin-Qt-(0\\.\\d+\\.\\d+\\.\\d+)\\.dmg"
45
46use_parallel_build  yes
47
48pre-configure {
49    reinplace "s|/opt/local|${prefix}|" ${worksrcpath}/bitcoin-qt.pro
50    configure.pre_args-append   USE_QRCODE=1 INCLUDEPATH+="${prefix}/include/db48/" LIBS+="-L${prefix}/lib/db48"
51}
52
53if {$subport == $name} {
54    destroot {
55        xinstall -m 0755 -d ${destroot}${qt_apps_dir}
56        file copy ${worksrcpath}/Litecoin-Qt.app ${destroot}${qt_apps_dir}
57    }
58}
59
60subport litecoind {
61    description         Litecoin's mining daemon litecoind alone. (Not recommended for installation anymore!)
62
63    depends_lib-delete  port:qt4-mac
64
65    set build.cmd "cd src && make -f makefile.osx DEPSDIR=\"${prefix}\" USE_IPV6=1"
66
67    destroot {
68        xinstall -d ${destroot}${prefix}/sbin
69        xinstall -m 755 -W ${worksrcpath} src/litecoind ${destroot}${prefix}/sbin
70    }
71}
Note: See TracBrowser for help on using the repository browser.