What use is WWWDIR_REL?

rflynn at acsalaska.net rflynn at acsalaska.net
Sat Feb 11 02:16:34 UTC 2012

> On 02/10/2012 17:57, rflynn at acsalaska.net wrote:
>> Hi,
>>>>> Clearly I'm missing something then, because I don't see how they
>>>>> accomplish anything useful. Perhaps you can enlighten me? There is
>>>>> nothing in the CVS log that even mentions them, never mind why they were
>>>>> added (bad portmgr, no cookie!).
>> In theory they're useful for:
>> post-install:
>>      @(cd ${PREFIX} && foo-magic ${WWWDIR_REL} ${DATADIR_REL})
>> But if this only happens in theory, there's no use in keeping it around.
> Did you see my original post in this thread?

Yep, easily fixable with substitution, as long as people use $PREFIX and not
$LOCALBASE - in other words doc problem and I agree with your original post.

-- Mel

More information about the freebsd-ports mailing list