Subject: Re: Question about PLIST and absolute pathnames.
To: Alan C. Horn <ahorn@anim.dreamworks.com>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-pkg
Date: 07/16/1999 03:31:43
On Thu, 15 Jul 1999, Alan C. Horn wrote:
> How does one declare in the PLIST, filenames that are not relative to
> /usr/pkg. putting the absolute pathname in just seems to result in the pkg
> inventory containing filenames like /usr/pkg//var/spool/...whatever...

Please note that I can only second what was said about binaries into /var
- don't do it.

For putting things somewhere else, there is indeed a package that does
this: mail/faces. It uses the @cwd command to put some files somewhere
else.

(Please note that there used to be a ... interresting feature in @cwd
handling that caused the first @cwd in a PLIST file to be removed and
replaced with "@cwd ${PREFIX}". A workaround for this is to put in the
same @cwd line twice in a row.  XXX I remember tron running into this, and
he may have even changed that behaviour, i don't know. )


 - Hubert

-- 
NetBSD - Better for your uptime than Viagra