Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2011 19:01:21 +0100
From:      Chris Rees <utisoft@gmail.com>
To:        ports@freebsd.org
Subject:   Re: [SOLVED] PORTDOCS strangeness
Message-ID:  <AANLkTind0Krj52Lu=-336Zpj6dCxcZgX2My%2BinHh85HQ@mail.gmail.com>
In-Reply-To: <AANLkTimrkxyicYR2TFgJSm7ptmTBRDuj2NpNfWr-emfJ@mail.gmail.com>
References:  <AANLkTimrkxyicYR2TFgJSm7ptmTBRDuj2NpNfWr-emfJ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30 March 2011 21:00, Chris Rees <utisoft@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTind0Krj52Lu=-336Zpj6dCxcZgX2My%2BinHh85HQ>