Creating a port as plugin for multiple other ports

Matthew Pounsett matt at conundrum.com
Fri Jul 13 19:40:16 UTC 2012


On 2012/07/12, at 00:51, Romain Tartière wrote:

> On Wed, Jul 11, 2012 at 05:58:23PM -0400, Matthew Pounsett wrote:
>> 1) create two different ports (icinga-mod_gearman and nagios-mod_gearman).
>> 2) use options to select which system is being plugged into.
> 
> 1) allows you to install both plugins simultaneously, which may be
> better unless icinga and nagios are mutually exclusive.  You can make
> your life easier by setting up a master and a slave port.  The slave
> would inherit some aspects of the master one, overriding a few settings
> (e.g. groups, installation directory).

Ah, yes that makes a lot of sense.  Thanks for the MASTERDIR pointer.. that'll be really helpful.

cheers!
   Matt




More information about the freebsd-ports mailing list