Le 22 Apr 2007 à 00:18, Matt Meissner a écrit :On Apr 21, 2007, at 3:55 PM, Ryan Schmidt wrote:
On Apr 21, 2007, at 11:25, Sbranzo wrote:On 21/04/07 00:56, Алексей Муранов wrote:Hello,i have a small problem.I have just installed MascPorts, and tried$ man portbut receivedNo manual entry for portgroupMaybe your $MANPATH doesn't include /opt/local/share/man/, if you addexport MANPATH=/opt/local/share/man:/opt/local/man:/usr/share/man:/usr/local/share/manto your .profile all should work correctly.I thinks the tiger version of man have hardcoded other paths, sinceMANPATH doesn't have to include system man page folders.My MANPATH is empty but I still seem to be able to read manpages for ports. I'm on Tiger.look up man(1) for the details, but on Tiger the man command looks at each item in your PATH, changes any "/bin" into "/man", and searches there for manpages.To bring this back to MacPorts, if I remember correctly, this is the only reason why ${prefix}/man -> ${prefix}/share/man is still around. It was decided ages ago that the canonical location for man pages is ${prefix}/share/manOk, after changing my MANPATH, i can use$ man port ,but not man for specific ports.For example,$ man transfigor$ man xfigdo not work.
What are the other directories that i should add to MANPATH?Here are my variables:MANPATH=/opt/local/share/man:/usr/local/teTeX/man:/usr/local/share/man:/usr/share/manPATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/teTeX/bin/powerpc-apple-darwin-current:/usr/local/binINFOPATH=/usr/local/teTeX/info:/usr/local/share/info:/usr/local/lib/info:/usr/local/info:/usr/share/infoThanks.Alexey.