[MacPorts] #36957: "subport" is undocumented
MacPorts
noreply at macports.org
Wed Mar 13 15:56:18 PDT 2013
#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 egall@…):
Replying to [comment:3 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.
OK, so that's the usage of subports in portfiles, how about the command-
line usage of the `subport:` and `subportof:` pseudo-portnames added in
r100059? So far they're only documented in the changelog (r100060)...
--
Ticket URL: <https://trac.macports.org/ticket/36957#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list