[MacPorts] #36957: "subport" is undocumented

MacPorts noreply at macports.org
Thu Nov 15 05:07:33 PST 2012


#36957: "subport" is undocumented
---------------------+---------------------
  Reporter:  dave@…  |      Owner:  markd@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  guide   |    Version:  2.1.2
Resolution:          |   Keywords:
      Port:          |
---------------------+---------------------

Comment (by jmr@…):

 Usage:
 {{{
 subport <subname> { body }
 }}}
 Body is executed iff the portfile has been opened as the port name
 <subname>. This allows defining multiple ports in a single portfile, which
 avoids redundancy in cases where you would otherwise need to have several
 almost identical portfiles.

 If someone wants to write this up nicely and add it to the guide and
 portfile(7) before I get to it, please go ahead.

-- 
Ticket URL: <https://trac.macports.org/ticket/36957#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list