pkg-plist: substitutions and large DIR

Ion-Mihai Tetcu itetcu at
Wed Mar 9 03:37:02 PST 2005

On Wed, 9 Mar 2005 11:16:34 +0100
"A. Nooitgedagt" <a.nooit at> wrote:

> Hello,
> After creating a new port, I'm at the point of managing the pkg-plist.
> However, I cannot find good info on all PLIST substitutions.
> Can anybody point me to the right docs and/or a good example.
> For example, all files seem to become prefixed with ${LOCALBASE}, but what
> if I have something in /var ?

Porters Handbook and :) There are 2 categories of plist
subtitutions: automatic, like for PORTDOCS and those that you define

See mail/dspam-devel/{Makefile|pkg-plist} for an idea.
> Furthermore, currently the automatically created plist is almost 8000 lines
> long! But all files/dirs are in one main directory!

Ideally this shouldn't happen, your port should obey hier(7).

> The plist is hard to
> manage this way if I have to specify all files. How should I deal with it?

What is hard to manage ? Creating the plist or ?

> Is it possible to delete the main directory in one line and not to list all
> files separately.

No, you can't do that, we need to know what files each port installs.

Send me your port on private if you like and I'll try to do the plist
for you.

Unregistered ;) FreeBSD "user"

More information about the freebsd-ports mailing list