From owner-freebsd-ports@FreeBSD.ORG Wed Jun 7 16:47:33 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 F2ED116D7C2 for ; Wed, 7 Jun 2006 14:05:37 +0000 (UTC) (envelope-from vivek@khera.org) Received: from yertle.kcilink.com (yertle.kcilink.com [65.205.34.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22D4243D55 for ; Wed, 7 Jun 2006 14:05:36 +0000 (GMT) (envelope-from vivek@khera.org) Received: from [192.168.7.103] (host-103.int.kcilink.com [192.168.7.103]) by yertle.kcilink.com (Postfix) with ESMTP id BDEE7B827; Wed, 7 Jun 2006 10:05:35 -0400 (EDT) In-Reply-To: <20060425000446.GA97984@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> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Vivek Khera Date: Wed, 7 Jun 2006 10:05:35 -0400 To: Rong-En Fan X-Mailer: Apple Mail (2.750) Cc: 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: Wed, 07 Jun 2006 16:47:35 -0000 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.