Subject: Re: how to create/remove directories: INSTALLATION_DIRS, OWN_DIRS, MAKE_DIR, REQD_DIRS?
To: None <>
From: Klaus Heinz <>
List: tech-pkg
Date: 05/20/2007 18:12:21
Joerg Sonnenberger wrote:
> On Sun, May 20, 2007 at 04:10:24PM +0200, Klaus Heinz wrote:

> > Is there an explicit list of "pkgsrc base directories" (bin, etc,
> > share/doc, ...) I can omit when creating/destroying directories?
> No, we used mtree for that, but it creates more problems than it is
> worth. Note that for the USE_DESTDIR case, you find out very easy what
> directories are not created by the application. The rest should go into

So the first package which needs it creates share/examples somehow (maybe
through INSTALLATION_DIRS) and nobody ever cares to delete it again?
A list of those directories would be good to have to decide whether a
directory should be added to REQD_DIRS or not.

The directoris mentioned in hier(7) in NetBSD (bin, include, lib,
libdata, libexec, sbin) should probably be included, as well as etc,
info, man, share, share/examples and share/doc.