RFC: MacPorts Filesystem Hierarchy Standard

Anders F Björklund afb at macports.org
Tue Mar 4 05:44:29 PST 2008


js wrote:

> I am really like to hear from all of you.
> Any comments, suggestions and even critique would be appreciated.
...

> Everything installed by MacPorts must be in /opt/local or
> /Applications/MacPorts. The former is used for non-aqua applications
> and may be changed by modifying macports.conf. The latter is for aqua
> applications and cannot be changed.

Work is in progress to allow the applications and frameworks
directories to be changed, to allow for non-root installations.

Currently they are /Applications/MacPorts and /Library/Frameworks,
though. So it is correct for the present, but might change later.

> - src
> Doesn't exist...

RPM uses (a subdirectory of) this directory when building as root.
Not that building as root is recommended, but it is still default...

src
|-- apple
`-- macports
     |-- BUILD
     |-- RPMS
     |   |-- fat
     |   |-- i386
     |   |-- noarch
     |   `-- ppc
     |-- SOURCES
     |-- SPECS
     `-- SRPMS

Note: the name "macports" will change to the default name "rpm",
when upgrading from old RPM 4.4.9 to newer RPM 4.5 or to RPM 5.0

--anders



More information about the macports-dev mailing list