On Jun 26, 2013, at 18:10, [email protected] wrote:
> Revision: 107389
> https://trac.macports.org/changeset/107389
> Author: [email protected]
> Date: 2013-06-26 16:10:58 -0700 (Wed, 26 Jun 2013)
> Log Message:
> -----------
> litecoind: looks like description for subport wasn't working as intended,
> trying to correct this
The description of a subport should override the global description… But you
probably have to re-run "portindex" (or "sudo port sync") to pick it up in
"port info".
> Modified Paths:
> --------------
> trunk/dports/finance/litecoin/Portfile
>
> Modified: trunk/dports/finance/litecoin/Portfile
> ===================================================================
> --- trunk/dports/finance/litecoin/Portfile 2013-06-26 22:45:05 UTC (rev
> 107388)
> +++ trunk/dports/finance/litecoin/Portfile 2013-06-26 23:10:58 UTC (rev
> 107389)
> @@ -12,7 +12,11 @@
> categories finance
> maintainers mk openmaintainer
>
> -description Litecoin is a P2P Internet currency that enables instant
> payments to anyone in the world.
> +if {$subport == $name} {
> + description Litecoin is a P2P Internet currency that enables
> instant payments to anyone in the world.
> +} else {
> + description Litecoin's mining daemon litecoind alone. (Not
> recommended for installation anymore!)
> +}
> 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.\
> @@ -58,8 +62,6 @@
> }
>
> subport litecoind {
> - description Litecoin's mining daemon litecoind alone. (Not
> recommended for installation anymore!)
> -
> depends_lib-delete port:qt4-mac
>
> set build.cmd "cd src && make -f makefile.osx DEPSDIR=\"${prefix}\"
> USE_IPV6=1"
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev