[27730] trunk/doc/guide/new/xml/using.xml

source_changes at macosforge.org source_changes at macosforge.org
Sun Aug 12 20:50:47 PDT 2007


Revision: 27730
          http://trac.macosforge.org/projects/macports/changeset/27730
Author:   markd at macports.org
Date:     2007-08-12 20:50:46 -0700 (Sun, 12 Aug 2007)

Log Message:
-----------
Add a variants section; mostly placeholders for the moment.

Modified Paths:
--------------
    trunk/doc/guide/new/xml/using.xml

Modified: trunk/doc/guide/new/xml/using.xml
===================================================================
--- trunk/doc/guide/new/xml/using.xml	2007-08-13 03:35:15 UTC (rev 27729)
+++ trunk/doc/guide/new/xml/using.xml	2007-08-13 03:50:46 UTC (rev 27730)
@@ -103,7 +103,13 @@
       are a way for port authors to provide options that may be invoked at
       install time.</para>
 
-      <programlisting><prompt>%%</prompt> <userinput>port variants apache2</userinput></programlisting>
+      <programlisting><prompt>%%</prompt> <userinput>port variants nmap</userinput></programlisting>
+
+      <screen>nmap has the variants:
+        universal
+        gtk2
+        no_ssl
+        no_pcre</screen>
     </section>
 
     <section>
@@ -272,6 +278,34 @@
   </section>
 
   <section>
+    <title>Port Variants</title>
+
+    <para>Variants are a way for port authors to provide options for a port
+    that may be chosen during the port install. To display the available
+    variants, if any, use this command:</para>
+
+    <programlisting><prompt>%%</prompt> <userinput>port variants nmap</userinput></programlisting>
+
+    <screen>nmap has the variants:
+        universal
+        gtk2
+        no_ssl
+        no_pcre</screen>
+
+    <section>
+      <title>Invoking Variants</title>
+
+      <para></para>
+    </section>
+
+    <section>
+      <title>Negating Default Variants</title>
+
+      <para></para>
+    </section>
+  </section>
+
+  <section>
     <title>Port Binaries</title>
 
     <para>MacPorts can pre-compile ports into binaries so applications need

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070812/447f3df2/attachment.html


More information about the macports-changes mailing list