category for local ports

Vivek Khera vivek at
Wed Jun 7 16:47:35 UTC 2006

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.

More information about the freebsd-ports mailing list