On 2012/05/07 11:24, Jan Stary wrote: > On May 07 09:44:36, Stuart Henderson wrote: > > surprised we didn't have this already. it does more than just adjust > > line-endings so I think it is actually useful. ok? > > > > ... > > > > Information for inst:dos2unix-6.0 > > > > Comment: > > convert DOS/MAC files to UNIX (line-endings/charset) > > > > Description: > > Convert text files with DOS or Mac line breaks to Unix line breaks and > > vice versa. Features: > > > > * Automatically skips binary and non-regular files. > > * In-place, paired, or stdio mode conversion. > > * Keep original file dates option. > > * 7-bit and iso conversion modes like SunOS dos2unix. > > * Conversion of Windows UTF-16 files to Unix UTF-8. > > > > Maintainer: The OpenBSD ports mailing-list <[email protected]> > > > > WWW: http://waterlan.home.xs4all.nl/dos2unix.html > > > > I don't think this is right: > > post-install: > mv ${PREFIX}/share/man/* ${PREFIX}/man/ > rmdir ${PREFIX}/share/man > > The orig Makefile should be patched instead to have > > mandir = $(prefix)/man > man1dir = $(mandir)/man1
btw I am overriding man1dir in FAKE_FLAGS to take care of the dir for the normal manpages anyway, this mv is for the non-English manpages which are not installed in a particularly sane way in the Makefile.
