Directory structure

Jan.Stocker at t-online.de Jan.Stocker at t-online.de
Mon Feb 14 07:25:34 PST 2005


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






More information about the freebsd-ports mailing list