Creating a port as plugin for multiple other ports

Romain Tartière romain at blogreen.org
Thu Jul 12 04:51:33 UTC 2012


Hi!

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).

More details in the porter handbook:
http://www.freebsd.org/doc/en/books/porters-handbook/makefile-masterdir.html

-- 
Romain Tartière <romain at blogreen.org>        http://romain.blogreen.org/
pgp: 8234 9A78 E7C0 B807 0B59  80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)


More information about the freebsd-ports mailing list