Syntax of the INDEX file
Vasil Dimov
vd at FreeBSD.org
Mon Feb 13 02:59:37 PST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, Feb 12, 2006 at 02:06:11PM +0100, Jona Joachim wrote:
> Hi!
> 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
>
> Is that correct?
>
Both are correct.
The line you have found in bsd.port.mk (line 4809 in version 1.524)
is about `make describe' output rather than the contents of the INDEX
file.
When creating the INDEX file the output of all the `make describe'
commands is passed to Tools/make_index which reorders the fields.
- --
Vasil Dimov
-----BEGIN PGP SIGNATURE-----
iD8DBQFD8GaXFw6SP/bBpCARAksuAJ48yEY1T1+l3qPB+UKoJp5hpbFvQwCfX7gE
n84xz5zavGFCmdDmY1WKayY=
=NATd
-----END PGP SIGNATURE-----
More information about the freebsd-ports
mailing list