Creating custom metapackage
Martin Skou Andersen
skou at nbi.ku.dk
Fri Jul 16 04:13:56 PDT 2010
On 16-07-2010 12:46, Jeremy Lavergne wrote:
>> I'm trying to create a meta package (port mpkg) using MacPorts, containing required and optional packages. I would like to group all the optional packages, so it is possible to select/deselect the entire group under "Custom Install". However it should not be possible to select/deselect a single package in a group of optional packages.
>>
>> MacPorts does not seem to support this, so I use a script to add and modify the appropriate "Info.plist" files. But I'm not able to reach my desired result, and I cannot find any documentation (searching the web) on what attribute/value pairs can be used in the Info.plist file. In particular I'm thinking about the attribute 'IFPkgFlagPackageSelection' and similar ones.
>>
>> I would be grateful if you could share some information on these attributes/values and maybe point to some documentation.
> Have you tried using a metapackage for each grouping and placing them all in a metapackage?
>
Sort of. I use the meta package structure created by MacPorts to group
the optional packages.
- Martin
More information about the macports-dev
mailing list