generate an INDEX file for a ports tree

Boris Samorodov bsam at ipt.ru
Thu May 7 13:57:57 EDT 2009


On Thu, 07 May 2009 20:48:00 +0400 Boris Samorodov wrote:
> On Thu, 07 May 2009 12:23:51 -0400 Joe Marcus Clarke wrote:

> > env INDEX_PRISTINE= ... make index

> There seems to be some other problem at my test machine.
> I'll re-check it. Thanks.

As I understand the following script should provide a default
index file:
-----
PORTS_BASEDIR=${PB}/portstrees
PORTSDIR=${PORTS_BASEDIR}/${PORTSTREE}/ports

export __MAKE_CONF=/dev/null
export PORTSDIR
export INDEXFILE=INDEX

make -C ${PORTSDIR} index
-----

The command is:
-----
sudo PORTSTREE=FreeBSD PB=/usr/local/tinderbox ./makeindex.sh
-----

But the resulting index file don't provide any dependencies:
-----
% grep ^acroread8 /usr/local/tinderbox/portstrees/FreeBSD/ports/INDEX
acroread8-8.1.4_1|/usr/ports/print/acroread8|/usr/local|Adobe Reader for view, print, and search PDF documents (ENU)|/usr/ports/print/acroread8/pkg-descr|hrs at FreeBSD.org|print linux|||http://www.adobe.com/products/acrobat/readermain.html|||
-----

Where is my error?


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


More information about the tinderbox-list mailing list