[107347] trunk/dports/finance

mk at macports.org mk at macports.org
Tue Jun 25 17:23:47 PDT 2013


Revision: 107347
          https://trac.macports.org/changeset/107347
Author:   mk at macports.org
Date:     2013-06-25 17:23:47 -0700 (Tue, 25 Jun 2013)
Log Message:
-----------
litecoin: new port

Added Paths:
-----------
    trunk/dports/finance/litecoin/
    trunk/dports/finance/litecoin/Portfile

Added: trunk/dports/finance/litecoin/Portfile
===================================================================
--- trunk/dports/finance/litecoin/Portfile	                        (rev 0)
+++ trunk/dports/finance/litecoin/Portfile	2013-06-26 00:23:47 UTC (rev 107347)
@@ -0,0 +1,71 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+
+PortGroup           qmake  1.0
+PortGroup           github 1.0
+
+github.setup        litecoin-project litecoin 0.6.9.2
+
+categories          finance
+maintainers         mk openmaintainer
+
+description         Litecoin is a P2P Internet currency that enables instant payments to anyone in the world.
+long_description    Litecoin is a peer-to-peer Internet currency that enables instant payments\
+                    to anyone in the world. It is based on the Bitcoin protocol but differs\
+                    from Bitcoin in that it can be efficiently mined with consumer-grade hardware.\
+                    Litecoin provides faster transaction confirmations (2.5 minutes on average)\
+                    and uses memory-hard, scrypt-based mining proof-of-work algorithm to target\
+                    the regular computers and GPUs most people already have. The Litecoin network\
+                    is scheduled to produce 84 million currency units.\
+                    \
+                    One of the aims of Litecoin was to provide a mining algorithm that could run\
+                    at the same time, on the same hardware used to mine bitcoins. With the rise\
+                    of specialized ASICs for Bitcoin, Litecoin continues to satisfy these goals.\
+                    It is unlikely for ASIC mining to be developed for Litecoin until the currency\
+                    is widely used.
+
+platforms           darwin
+license             MIT
+
+depends_lib-append  port:boost \
+					port:openssl \
+					port:db48 \
+					port:miniupnpc \
+					port:qrencode
+
+checksums           md5     24cf887081cca5af2c59ffa3682f64d3 \
+                    sha1    54783ecf0b426de410718b2c40045e052c78728d \
+                    rmd160  50ab1a7094a75e80ae3b6b7064f0e84a7bea619c
+
+livecheck.type      regex
+livecheck.url       http://litecoin.org
+livecheck.regex     "macosx/Litecoin-Qt-(0\\.\\d+\\.\\d+\\.\\d+)\\.dmg"
+
+use_parallel_build  yes
+
+pre-configure {
+    configure.pre_args-append   USE_QRCODE=1 INCLUDEPATH+="${prefix}/include/db48/" LIBS+="-L${prefix}/lib/db48"
+}
+
+destroot {
+    if {![variant_isset onlydaemon]} {
+		xinstall -m 0755 -d ${destroot}${qt_apps_dir}
+    	file copy ${worksrcpath}/Litecoin-Qt.app ${destroot}${qt_apps_dir}
+	}
+	if {[variant_isset daemon] || [variant_isset onlydaemon]} {
+    	xinstall -d ${destroot}${prefix}/sbin
+    	xinstall -m 755 -W ${worksrcpath} src/litecoind ${destroot}${prefix}/sbin
+	}
+}
+
+variant daemon description {Build and install also the litecoind deamon (not recommended)} {
+    set build.cmd "(cd src && make -f makefile.osx DEPSDIR=\"${prefix}\" USE_IPV6=1) && make"
+}
+
+variant onlydaemon description {Build and install only the litecoind deamon (not recommended)} {
+    set build.cmd "cd src && make -f makefile.osx DEPSDIR=\"${prefix}\" USE_IPV6=1"
+	depends_lib-delete port:qt4-mac
+}
+


Property changes on: trunk/dports/finance/litecoin/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130625/aa7fea9e/attachment.html>


More information about the macports-changes mailing list