Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2005 16:25:16 +0100
From:      "Jan.Stocker@t-online.de" <Jan.Stocker@t-online.de>
To:        kris@freebsd.org
Subject:   Directory structure
Message-ID:  <1D0i68-1JxwrA0@cmpmail04.bbul.t-online.de>

next in thread | raw e-mail | index | archive | help
Hi Kris,

i am just creating a new port with some additional directories I am not
sure how to handle with on FreeBSD.

Normal way ist clear:

bin/* ->  $PREFIX/bin
share/$PORTNAME/* -> $PREFIX/share/$PORTNAME
etc/$PORTNAME/* -> $PREFIX/etc/$portname

- B - U - T -    whats about

var/log
var/spool/$PORTNAME

should that also bee created in $PREFIX, so will get a "/usr/local/var".

or should they target to "/var". And how to handle that in pkg-plist? 

Or maybe but everything in a separate directory like OpenBSD does:

/var/$PORTNAME/bin
/var/$PORTNAME/etc
/var/$PORTNAME/spool
/var/$PORTNAME/log

and so on?


Jan






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1D0i68-1JxwrA0>