[110698] trunk/dports/finance

Ryan Schmidt ryandesign at macports.org
Tue Sep 3 20:44:21 PDT 2013


On Sep 3, 2013, at 22:41, ram at macports.org wrote:

> Revision: 110698
>          https://trac.macports.org/changeset/110698
> Author:   ram at macports.org
> Date:     2013-09-03 20:41:28 -0700 (Tue, 03 Sep 2013)
> Log Message:
> -----------
> finance/cpuminer: new port
> 
> Added Paths:
> -----------
>    trunk/dports/finance/cpuminer/
>    trunk/dports/finance/cpuminer/Portfile
> 
> Added: trunk/dports/finance/cpuminer/Portfile
> ===================================================================
> --- trunk/dports/finance/cpuminer/Portfile	                        (rev 0)
> +++ trunk/dports/finance/cpuminer/Portfile	2013-09-04 03:41:28 UTC (rev 110698)
> @@ -0,0 +1,28 @@
> +# $Id$

You should add the standard modeline and conform to it. This port's whitespace is not at multiples of 4 spaces.

> +
> +PortSystem         1.0
> +PortGroup          github 1.0
> +
> +github.setup       pooler cpuminer 2.3.2 v
> +categories         finance
> +maintainers        ram openmaintainer
> +platforms          darwin
> +license            GPL-2
> +
> +description        Multi-threaded CPU miner for Litecoin and Bitcoin
> +long_description   ${description}
> +
> +checksums          rmd160 d1973536ffc5b2a560b8d074ac77c1cb0c927821 \
> +                   sha256 c5f29f293e1b23b15a29e6e3569ca8cc6e963692677b1af9f9f1402e6884ef16
> +
> +depends_lib-append port:curl \
> +                   port:jansson \
> +                   port:libidn \
> +                   port:openssl \
> +                   port:zlib
> +
> +use_autoreconf     yes
> +
> +pre-configure {
> +  system "cd ${worksrcpath} && ./nomacro.pl"
> +}

You should use:

system -W ${worksrcpath} "./nomacro.pl"




More information about the macports-dev mailing list