category for local ports

Rong-En Fan rafan at infor.org
Tue Apr 25 00:04:48 UTC 2006


On Tue, Apr 25, 2006 at 01:34:45AM +0200, [LoN]Kamikaze wrote:
> Shaun Amott wrote:
> > On Mon, Apr 24, 2006 at 12:23:18PM +0800, Rong-En Fan wrote:
> >> But it does not work. make index does not include my local ports
> >> in local/. Is it possible to do this in make.conf with some magic?
> >> If not, then I think I have to patch ports/Makefile after each update :(
> >>
> 
> Try
> 
> .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

Thanks,
Rong-En Fan


More information about the freebsd-ports mailing list