From owner-freebsd-ports@FreeBSD.ORG Fri Apr 13 19:54:18 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 26660106564A for ; Fri, 13 Apr 2012 19:54:18 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward10.mail.yandex.net (forward10.mail.yandex.net [IPv6:2a02:6b8:0:202::5]) by mx1.freebsd.org (Postfix) with ESMTP id 8A8508FC0A for ; Fri, 13 Apr 2012 19:54:17 +0000 (UTC) Received: from smtp7.mail.yandex.net (smtp7.mail.yandex.net [77.88.61.55]) by forward10.mail.yandex.net (Yandex) with ESMTP id 184C91020F69; Fri, 13 Apr 2012 23:54:16 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1334346856; bh=PHlyiHA/7NXTTYOa7wSk4tVkgJaUUdz8eqvKWvi/Gcc=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=jk0Z1xmRVi+lUyEbllIUO4FS6xAl2ajqUTDbyp4CCj3Y4Izr3gl7Qj2UcYDZEbnCB dnovy3h3gNOx5qHDcRwAoEaLreUP8S8efL6s6FE8aJFhBEq7RIB26GjB5apuZ12Bg5 MQ32SJ9Vath2fuTsoYwZFD5xCuD+8xxrdQDT8PLk= Received: from smtp7.mail.yandex.net (localhost [127.0.0.1]) by smtp7.mail.yandex.net (Yandex) with ESMTP id DC8F71580408; Fri, 13 Apr 2012 23:54:15 +0400 (MSK) Received: from unknown (unknown [178.76.224.133]) by smtp7.mail.yandex.net (nwsmtp/Yandex) with ESMTP id sFwqrvHQ-sFw4vrW5; Fri, 13 Apr 2012 23:54:15 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1334346855; bh=PHlyiHA/7NXTTYOa7wSk4tVkgJaUUdz8eqvKWvi/Gcc=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=iTOSZ84xk6O/uq9OTBoY9DfGX9ddGAtpdlo0EP3kx5M6n2W2G9XeAZVLHW6xqL4M2 10h9GTKG8nvqpPdgiOeP8PamPRk7NNHm9cXgDPEa0ddyYWGitI+IBzQkJ+/3MvO9P8 qyvEHTXKIdx8Wjlwr8zhH2hlHw7a595kDM5oW5l4= Message-ID: <4F888440.2080408@yandex.ru> Date: Fri, 13 Apr 2012 23:53:36 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120314 Thunderbird/10.0.3 MIME-Version: 1.0 To: Freddie Cash References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org, Chris Inacio Subject: Re: port variants 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: Fri, 13 Apr 2012 19:54:18 -0000 Freddie Cash wrote on 13.04.2012 23:39: > On Fri, Apr 13, 2012 at 12:04 PM, Chris Inacio wrote: >> I was recently asked to do some FreeBSD ports support work. I mostly use a >> Mac and the MacPorts system. MacPorts has the concept of a variant for a >> port, but I can't find the analogue in the FreeBSD system. >> >> Does the FreeBSD ports system have the concept of a variant? If so, can >> someone point me in the right direction on how to create one? > > Describing what a "variant" is, how it works in MacPorts, and what you > are trying to do would help a lot. :) > > The closest guess I could make would be "slave port", but I don't > think that works the same way. http://guide.macports.org/chunked/reference.variants.html Chris, the job needed should be described in more detail, but at glance options framework - it's what you looking for [1]. [1] http://www.freebsd.org/doc/en/books/porters-handbook/book.html#MAKEFILE-OPTIONS -- Regards, Ruslan Tinderboxing kills... the drives.