[84102] trunk/doc-new/guide/xml/using.xml

jmr at macports.org jmr at macports.org
Fri Sep 16 21:10:49 PDT 2011


Revision: 84102
          http://trac.macports.org/changeset/84102
Author:   jmr at macports.org
Date:     2011-09-16 21:10:49 -0700 (Fri, 16 Sep 2011)
Log Message:
-----------
guide: add examples for mpkg and mdmg actions (#26930)

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

Modified: trunk/doc-new/guide/xml/using.xml
===================================================================
--- trunk/doc-new/guide/xml/using.xml	2011-09-17 03:58:26 UTC (rev 84101)
+++ trunk/doc-new/guide/xml/using.xml	2011-09-17 04:10:49 UTC (rev 84102)
@@ -759,6 +759,15 @@
 
       <programlisting><prompt>%%</prompt> <userinput>sudo port dmg pstree</userinput></programlisting>
 
+      <para>You can also create a metapackage containing packages of a port and all its
+      dependencies:</para>
+
+      <programlisting><prompt>%%</prompt> <userinput>sudo port mpkg gimp2</userinput></programlisting>
+
+      <para>Just as with a single package, a metapackage can also be wrapped in a .dmg.</para>
+
+      <programlisting><prompt>%%</prompt> <userinput>sudo port mdmg gimp2</userinput></programlisting>
+
       <para>You may compile a port into an RPM file as shown, in order to
       install it onto a target that has RPM utilities or a full package
       management system that can install RPMs.</para>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110916/67befddc/attachment-0001.html>


More information about the macports-changes mailing list