category for local ports

Rong-En Fan rafan at infor.org
Thu Jun 8 14:50:03 UTC 2006


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


More information about the freebsd-ports mailing list