Revision
107389
Author
mk@macports.org
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

Modified Paths

Diff

Modified: trunk/dports/finance/litecoin/Portfile (107388 => 107389)


--- 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"