> >Just install a more recent man (fink's one for example) and it will
> >display localised man pages, following your environment settings.
> >
> >Worked for me with fink's man 1.5k.
>
> I've found no fink's man, sorry, just manconf which is for Jaguar 
> update and manedit, a graphical editor.

Saw that.

According to http://fink.sourceforge.net/pdb/package.php/man, the man
package is on 0.4.1 and 10.1 only.
But i got this on 10.2/unstable on my machine.

Dunno why the man package seems to have been discontinued. But if 10.3's
man is unable to deal with localized man page, it would be good to
reintegrate it :)

You could try to pick up the man info file from 10.2/unstable and put it
in your local repository. If it works, you could submit it, the hard
part may already be done :)
I can't do that myself since i'm stuck with 10.2 for now.

> I cannot 
> demand the user to install a Fink's man package I cannot even find for 
> that purpose.

Since the problem is beyond your package, it may be added in the FAQ for
example.

> Moreover it should work also on other systems (RPM and 
> Linux at the moment, but BSD is on its way too).

It's totally independant from the packaging system and the OS. It will
work until you have a recent man that handle it.

> I know theoretically how to do it, but I lack dramatically knowledge on 
> languages used in Makefike.
[snip]

All that is pretty application-specific.

> It works but it's very inelegant, and I'm not sure how to parameterize 
> it with a MANLANGDIRS = . fr es array for example. Something along 
> this:
> 
> for d in $(MANLANGDIRS);
> do mandir=$(mandir)/$(MANLANGDIRS)/man1
> ....

----8<----8<----8<----8<----
#!/bin/sh

MANLANGDIRS=". fr es"

for d in ($MANLANGDIRS); do
  echo $d;
done
---->8---->8---->8---->8----

That should do the trick.

-- 
Bertrand
                            Pike Language - http://pike.ida.liu.se/
                        Caudium WebServer - http://caudium.net/
                            CAMAS WebMail - http://caudium.net/camas/


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to