[MacPorts] #14553: RFE: Move portgroups into the ports tree
MacPorts
noreply at macports.org
Thu Sep 4 16:18:12 PDT 2008
#14553: RFE: Move portgroups into the ports tree
----------------------------------+-----------------------------------------
Reporter: raimue at macports.org | Owner: raimue at macports.org
Type: enhancement | Status: assigned
Priority: Normal | Milestone: MacPorts base enhancements
Component: ports | Version: 1.6.0
Resolution: | Keywords: portgroups
Port: |
----------------------------------+-----------------------------------------
Comment(by raimue at macports.org):
In my opinion the port groups are part of the inidividual ports tree they
are made for. They are necessary to build the ports in this tree and
should be distributed with this tree. I already implemented a way to find
the resources/config/metadata (whatever we want to call it) directory for
a ports tree on the [source:branches/variant-descs-14482 variant-
descs-14482 branch].
This way it would also be possible to use port groups in external third-
party trees. For example, you can also add an older version of a port
using an older version of a port group into their own tree, without any
conflicts to the official tree.
My intention is that they should be synced from the same URL. A possible
solution would be to create dports/ports/ and dports/resources/ to
separate them both.
Just as a side note, originally I thought about distributing port groups
as ports, but that creates a chicken and egg problem. A Portfile can't add
a dependency on another port providing the group, because the Portfile
cannot be parsed successfully without the group. So the only way to
distribute it within the tree is to designate a special directory there.
--
Ticket URL: <http://trac.macports.org/ticket/14553#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list