<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Apr 7, 2014 at 10:40 AM, Mojca Miklavec <span dir="ltr"><<a href="mailto:mojca@macports.org" target="_blank">mojca@macports.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Mon, Apr 7, 2014 at 4:22 PM, Brandon Allbery wrote:<br>
> On Mon, Apr 7, 2014 at 10:20 AM, Mojca Miklavec wrote:<br>>> I see that mysql55 for example installs man pages to<br>
>> $prefix/share/man/mysql55/man1/*.1.gz<br>
>> where they are not really functional.<br>
>><br>
>> Is that a proper place for these files? / Is there any better place?<br>
><br>> If you arrange for them to be in ../share/man or ../man when the private bin<br>
> directory is in $PATH, they will automatically work. (This assumes there is<br>
> a private bin directory and not just versioned binaries in /opt/local/bin.<br>
> For something like mysql, there are going to be enough private binaries to<br>
> make this a good idea.)<br>
<br>
</div>So if the binaries go to<br>
$prefix/libexec/<port>/<something>/<br>
it would make sense to put the binaries to<br>
$prefix/libexec/<port>/<man><br>
?<br></blockquote><div><br></div><div>Yes. See the heimdal port for an example of just that.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It probably wouldn't be such a bad idea to create a script<br>
$prefix/bin/<portname>-init<version>.sh which would prepend<br>
$prefix/libexec/<port>/<something> to PATH. Or maybe simply create a<br>
script like $prefix/libexec/<port>/<something>/usethisone.sh to do the<br>
same. And then man pages would automatically work ...<br></blockquote><div><br></div><div>I've wanted this for a while. That, or adding support for something along the lines of <a href="http://modules.sourceforge.net">modules.sourceforge.net</a>. (Unlike port select, this might be automatable.)</div>
<div><br></div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>