1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/japanese/pine/scripts/configure

23 lines
424 B
Plaintext
Raw Normal View History

#!/bin/sh
if [ ! -f ${WRKSRC}/pine/pine-e.hlp ] ; then
mv ${WRKSRC}/pine/pine.hlp ${WRKSRC}/pine/pine-e.hlp
fi
echo -n "Do you want pine to display its menu and help message in Japanese? (y/n)> "
read ans
case X$ans in
Xy*|XY*)
ln -fs ${WRKSRC}/pine/pine-j.hlp ${WRKSRC}/pine/pine.hlp
;;
*)
ln -fs ${WRKSRC}/pine/pine-e.hlp ${WRKSRC}/pine/pine.hlp
ed -s ${WRKSRC}/pico/kanji.h << EOP
46c
#undef KANJI_MSG
.
w
EOP
;;
esac