From owner-freebsd-ports@FreeBSD.ORG Tue Nov 8 18:38:21 2011 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 C3EF9106566B for ; Tue, 8 Nov 2011 18:38:21 +0000 (UTC) (envelope-from sam@cassiba.com) Received: from mail.megalomaniacal.net (unknown [IPv6:2001:470:1f0e:2ac::2]) by mx1.freebsd.org (Postfix) with ESMTP id 8EFBE8FC17 for ; Tue, 8 Nov 2011 18:38:21 +0000 (UTC) Received: from [IPv6:2001:470:1f0f:2ac::2] (trinity.megalomaniacal.net [IPv6:2001:470:1f0f:2ac::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.megalomaniacal.net (Postfix) with ESMTPSA id B1F671D78B3; Tue, 8 Nov 2011 12:38:20 -0600 (CST) Message-ID: <4EB9771C.5080006@cassiba.com> Date: Tue, 08 Nov 2011 12:38:20 -0600 From: Sam Cassiba User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111001 Thunderbird/7.0.1 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Be=F1at_Gonzalez_Etxepare?= References: <20111108180947.288e9a42.bbtruk@users.sourceforge.net> In-Reply-To: <20111108180947.288e9a42.bbtruk@users.sourceforge.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-ports@freebsd.org Subject: Re: Slave ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sam@cassiba.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2011 18:38:21 -0000 On 11/08/11 11:09, Beņat Gonzalez Etxepare wrote: > Hello, > > I am in the process of making a new port of some application, but I > have a problem with dependencies. The building process of this port > depends in some other port. The problem is they must be built with the > same options (GTK2 or QT in this case). > > I have been told the answer for this may be to create a slave port, > but I can't find much information about them (there is no explanation > of what they are in the porter's handbook, and searching through the > web I have not been able to find anything useful either). > > Can somebody point me to the right manual pages or some other port > which can serve as an example? > > > Thanks in advance. There are some ports under net-p2p that have qt and gtk slave ports. A couple others I can think of off the top of my head are apache22 and php5. Those areas should be good starting places to look over to give you an idea of how to do it. -- Sam Cassiba