From owner-freebsd-ports@FreeBSD.ORG Wed Oct 13 22:32:47 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AC2516A4CE for ; Wed, 13 Oct 2004 22:32:47 +0000 (GMT) Received: from ip209-154.digitalrealm.net (ip193-227.digitalrealm.net [216.144.193.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE07743D41 for ; Wed, 13 Oct 2004 22:32:46 +0000 (GMT) (envelope-from laszlof@vonostingroup.com) Received: (qmail 51984 invoked by uid 1003); 13 Oct 2004 22:32:58 -0000 Received: from laszlof@vonostingroup.com by ritamari.vonostingroup.com by uid 89 with qmail-scanner-1.22 (clamscan: 0.65. Clear:RC:1(68.32.91.145):. Processed in 0.923759 secs); 13 Oct 2004 22:32:58 -0000 Received: from unknown (HELO ?68.32.91.145?) (laszlof@vonostingroup.com@68.32.91.145) by ip193-227.digitalrealm.net with SMTP; 13 Oct 2004 22:32:57 -0000 Message-ID: <416DAD75.7000504@vonostingroup.com> Date: Wed, 13 Oct 2004 18:34:29 -0400 From: "Frank J. Laszlo" User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040926) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sebastian Schulze Struchtrup References: <416C0DE8.3000004@struchtrup.com> <416C35A5.4040703@vonostingroup.com> <20041013123840.GB1301@FreeBSD.org> <20041013193432.GA53895@hub.freebsd.org> <416DAB52.5070404@struchtrup.com> In-Reply-To: <416DAB52.5070404@struchtrup.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Eivind Eklund cc: freebsd-ports@FreeBSD.org Subject: Re: alternative options for ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2004 22:32:47 -0000 > >> Since we go to a *lot* of work building packages and making them >> available there must be a huge number of consumers of them. We >> should be >> making more port variations. vim-gtk, vim-kde, vim-athena, vim-motif >> for >> instance. That way a pkg_add user and get what they want. >> >> > I assume that this is currently done by hand? To say build the vim > port with options --with-gtk, --with-kde and --with_arena? > Or is there a way to set this in a Makefile? Not only altering the > package name from vim to vim-xxx, but to define configurations for > automatic package building? using vim as an example, currently the port recognises env variables like most other ports do. e.g. WITH_GTK2, WITH_ATHENA etc.. these generally make changes to the CONFIGURE_ARGS. Regarding package building, there is an option (with the vim port) for PACKAGE_BUILDING which builds with the most common options. I'm not exactly sure what kind of answer you were looking for, but just my little input on the subject :) Regards, Frank