From owner-freebsd-ports@FreeBSD.ORG Thu Jul 12 04:51:33 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 371E7106566B for ; Thu, 12 Jul 2012 04:51:33 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from marvin.blogreen.org (unknown [IPv6:2001:470:1f12:b9c::2]) by mx1.freebsd.org (Postfix) with ESMTP id DBE578FC08 for ; Thu, 12 Jul 2012 04:51:32 +0000 (UTC) Received: by marvin.blogreen.org (Postfix, from userid 1001) id 75B514498C; Thu, 12 Jul 2012 06:51:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=blogreen.org; s=default; t=1342068691; bh=Tzhl6hwwYBKr1UgJyaHYD4VOJHgS7ZPpDmx6xE2h41k=; h=Date:From:To:Subject:References:In-Reply-To; b=W5iTQDokhds9RQKhQJtubvJ3WhEKonjlZFp0UNCNZISsXY+Dd/lJ4MJoPCZoF43/R rcyWWyNtSbZ69sN6k7A/HzmspnqdWYv+BBbWjX3W2EgqSLtLZZlXYeLFySAPq8Ftfq 62D7BtwqnkpE28Csi5UPHsRYiGGb/WGkakgIthmI= Date: Thu, 12 Jul 2012 06:51:31 +0200 From: Romain =?iso-8859-1?Q?Tarti=E8re?= To: freebsd-ports@freebsd.org Message-ID: <20120712045131.GA83035@blogreen.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-PGP-Key: http://romain.blogreen.org/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: Creating a port as plugin for multiple other ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 04:51:33 -0000 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 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)