Creating custom metapackage

Martin Skou Andersen skou at nbi.ku.dk
Fri Jul 16 02:41:40 PDT 2010


  Hi,

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.

Thanks,
Martin Skou


More information about the macports-dev mailing list