Syntax of the INDEX file

Mark Linimon linimon at lonesome.com
Sun Feb 12 05:25:14 PST 2006


On Sun, Feb 12, 2006 at 02:06:11PM +0100, Jona Joachim wrote:
> I have a question concerning the syntax of the index file at the top of 
> the ports tree.
> 
> I read in a comment in bsd.port.mk (line 4827) that it should look like 
> this:
> 
> distribution-name|port-path|installation-prefix|comment| \
> description-file|maintainer|categories|extract-depends| \
> patch-depends|fetch-depends|build-depends|run-depends|www site
> 
> However, this is not the case. I found out empirically that it looks 
> like this:
> 
> distribution-name|port-path|installation-prefix|comment| \
> description-file|maintainer|categories|build-depends| \
> run-depends|www site|extract-depends|patch-depends|fetch-depends

AFAICT the intention was at the time the new fields were introduced
(extract-depends, patch-depends, fetch-depends) that they be in the logical
order, but instead for compatibility reasons they were postepended instead.
So the comment is wrong.

mcl


More information about the freebsd-ports mailing list