From owner-freebsd-ports@FreeBSD.ORG Thu Jun 8 14:49:59 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 3CAC916D4AC; Thu, 8 Jun 2006 12:45:30 +0000 (UTC) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (svm.csie.ntu.edu.tw [140.112.90.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id A41C843D68; Thu, 8 Jun 2006 12:45:27 +0000 (GMT) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (localhost [127.0.0.1]) by svm.csie.ntu.edu.tw (8.13.6/8.13.6) with ESMTP id k58CjQfZ086824; Thu, 8 Jun 2006 20:45:26 +0800 (CST) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: (from rafan@localhost) by svm.csie.ntu.edu.tw (8.13.6/8.13.6/Submit) id k58CjQKT086823; Thu, 8 Jun 2006 20:45:26 +0800 (CST) (envelope-from rafan) Date: Thu, 8 Jun 2006 20:45:26 +0800 From: Rong-En Fan To: Sergey Matveychuk Message-ID: <20060608124526.GA86759@svm.csie.ntu.edu.tw> References: <20060424042318.GA59923@svm.csie.ntu.edu.tw> <20060424223523.GD749@picobyte.net> <444D6095.6030209@gmx.de> <20060425000446.GA97984@svm.csie.ntu.edu.tw> <44881315.3030705@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44881315.3030705@FreeBSD.org> User-Agent: Mutt/1.5.11 Cc: Vivek Khera , freebsd ports Subject: Re: category for local 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, 08 Jun 2006 14:50:03 -0000 On Thu, Jun 08, 2006 at 04:07:49PM +0400, Sergey Matveychuk wrote: > Vivek Khera wrote: > > > > On Apr 24, 2006, at 8:04 PM, Rong-En Fan wrote: > > > >>> .if ${.CURDIR:M*/ports} > >>> SUBDIR += local > >>> .endif > >> > >> That works. But I prefer to use ports/Makefile.local :) > >> Right now, the only down side for a local category in ports tree > >> with portupgrade tools is that I have to build INDEX myself. :-p > > > > Hi.. I'm setting this up as well, and finally got around to making > > portupgrade work with my local ports. The only thing I can't make > > global is to add the category "local" to the VALID_CATEGORIES list. I > > seem to have to do this in every port. What do you for this? Do you > > just use existing category names? > > > > Also, is there no way to just add the dependencies from the local ports > > into the INDEX file? It takes about 25 minutes on my NFS server to > > update that file from scratch. I'd love to be able to just append my > > local ports' entries onto it. > > Setting of EXTRA_CATEGORIES in pkgtools.conf does not help? IIRC, portupgrade or portsdb ignores it. I can try it with the latest portupgrade later. Rong-En Fan