[111570] trunk/dports/finance/cgminer/Portfile
ram at macports.org
ram at macports.org
Wed Sep 25 19:52:46 PDT 2013
Revision: 111570
https://trac.macports.org/changeset/111570
Author: ram at macports.org
Date: 2013-09-25 19:52:45 -0700 (Wed, 25 Sep 2013)
Log Message:
-----------
finance/cgminer: install documentation and add scrypt support
Modified Paths:
--------------
trunk/dports/finance/cgminer/Portfile
Modified: trunk/dports/finance/cgminer/Portfile
===================================================================
--- trunk/dports/finance/cgminer/Portfile 2013-09-25 23:50:21 UTC (rev 111569)
+++ trunk/dports/finance/cgminer/Portfile 2013-09-26 02:52:45 UTC (rev 111570)
@@ -4,6 +4,7 @@
name cgminer
version 3.4.3
+revision 1
categories finance
platforms darwin
maintainers ram openmaintainer
@@ -31,8 +32,24 @@
post-destroot {
delete ${destroot}${prefix}/include/jansson.h
delete ${destroot}${prefix}/include/jansson_config.h
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W $worksrcpath API-README GPU-README README \
+ ${destroot}${prefix}/share/doc/${name}
}
+variant scrypt description {Add support for scrypt litecoin mining} {
+ configure.args-append --enable-scrypt
+ post-destroot {
+ xinstall -m 644 -W $worksrcpath SCRYPT-README \
+ ${destroot}${prefix}/share/doc/${name}
+ }
+ notes "
+When you start scrypt mining with the --scrypt option, cgminer will
+fail IN RANDOM WAYS. See ${prefix}/share/doc/cgminer/SCRYPT-README
+for more information.
+"
+}
+
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex {cgminer-(\d+(?:\.\d+)*).tar.bz2}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130925/e8256434/attachment.html>
More information about the macports-changes
mailing list