Generating INDEX file suitable for (media)/packages/INDEX ?

Wesley Shields wxs at
Fri Dec 21 18:26:40 EST 2007

On Fri, Dec 21, 2007 at 05:18:42PM -0500, Ryan Dean wrote:
> On Dec 21, 2007 4:22 PM, Joe Marcus Clarke <marcus at> wrote:
> >  Ryan Dean wrote:
> > >    So having said all that, does anyone out there have such a hook
> > already,
> > > or should I go and write one?  Or, am I heading down the wrong path
> > here,
> > > and there is an easier/better way of generating this INDEX file?
> >
> > You'll want to run the hook before or after the build completes so
> > you'll have Jail and PortsTree info in order to build an accurate INDEX.
> >  The hook could simply call make index after exporting the proper
> > variables (i.e. PORTSDIR, INDEXFILE, etc.).
> >
> Hrrm, okay.  I've started to experiment with the scripts, but it looks like
> 'make index' and even 'make describe' requires perl in order to complete.
> Is it safe to pkg_add and pkg_delete from the hooks, without contaminating
> the build directory?

What makes you think 'make index' require perl?  My understanding of the
Makefile's indicates it doesn't use perl at all.

What exactly are you seeing which leads you to believe perl is required?

-- WXS

More information about the tinderbox-list mailing list