[SOLVED] PORTDOCS strangeness

Chris Rees utisoft at gmail.com
Thu Mar 31 18:01:52 UTC 2011


On 30 March 2011 21:00, Chris Rees <utisoft at gmail.com> wrote:
> Hi all,
>
> I'm updating castor to the new version (thanks for the email
> Portscout!), and I've decided to add in docs option.
>
> However... when I set PORTDOCS= * as normal, on deinstall it complains
> about being unable to remove ${DOCSDIR}, yet it has been deleted.
>
> I've looked in +CONTENTS after installing it, and sure enough there's
> a @dirrm share/doc/castor. What 'gotchas' are there with PORTDOCS?
>
> It installs ~70 docfiles, so I was hoping not to have to list it in
> pkg-plist, for the sake of space if anything else!

After some kind advice from b.f., I've tracked it down (I think).

As far as I can see, you can't use PORTDOCS= * when there are
directories inside ${DOCSDIR}, for some reason.

I haven't dug in, but I refined my wildcard a little, and now no complaints.

Chris


More information about the freebsd-ports mailing list