[129508] trunk/dports/security/lastpass-cli/Portfile

khindenburg at macports.org khindenburg at macports.org
Sun Dec 14 19:20:22 PST 2014


Revision: 129508
          https://trac.macports.org/changeset/129508
Author:   khindenburg at macports.org
Date:     2014-12-14 19:20:22 -0800 (Sun, 14 Dec 2014)
Log Message:
-----------
lastpass-cli: change subport -pinentry to a variant

Modified Paths:
--------------
    trunk/dports/security/lastpass-cli/Portfile

Modified: trunk/dports/security/lastpass-cli/Portfile
===================================================================
--- trunk/dports/security/lastpass-cli/Portfile	2014-12-15 00:26:55 UTC (rev 129507)
+++ trunk/dports/security/lastpass-cli/Portfile	2014-12-15 03:20:22 UTC (rev 129508)
@@ -12,7 +12,7 @@
 license             GPL-2
 supported_archs     noarch
 
-description         C99 command line interface to LastPass.com
+description         command line interface to LastPass.com
 long_description    ${description}
 
 conflicts           ${name}-pinentry
@@ -33,12 +33,12 @@
 build.env-append    PREFIX=${prefix}
 destroot.env-append PREFIX=${prefix}
 
-subport ${name}-pinentry {
-    description-append      using pinentry
-    long_description-append using pinentry
+if {${subport} eq ${name}} {
+    default_variants    +pinentry
+}
 
-    conflicts               ${name}
-    depends_lib-append      port:pinentry
+variant pinentry description {Use GnuPG's password entry software pinentry} {
+    depends_lib-append  port:pinentry
 }
 
 subport ${name}-doc {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141214/79ef1e24/attachment.html>


More information about the macports-changes mailing list