2001-02-08 17:33:19 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
NOMAN=YES
|
|
|
|
CLEANFILES+= ${LOCALES:S/$/.out/g}
|
|
|
|
|
2001-02-09 12:39:32 +00:00
|
|
|
LOCALES= af_ZA.ISO_8859-1 \
|
2001-02-10 13:35:30 +00:00
|
|
|
cs_CZ.ISO_8859-2 \
|
2001-02-09 12:39:32 +00:00
|
|
|
da_DK.ISO_8859-1 \
|
2001-02-09 12:21:17 +00:00
|
|
|
de_DE.ISO_8859-1 \
|
2001-02-10 13:35:30 +00:00
|
|
|
el_GR.ISO_8859-7 \
|
2001-02-09 12:08:12 +00:00
|
|
|
en_US.ISO_8859-1 \
|
2001-02-09 13:37:06 +00:00
|
|
|
fi_FI.ISO_8859-1 \
|
2001-02-09 12:30:53 +00:00
|
|
|
fr_FR.ISO_8859-1 \
|
2001-02-09 14:08:52 +00:00
|
|
|
is_IS.ISO_8859-1 \
|
2001-02-08 23:06:11 +00:00
|
|
|
nl_NL.ISO_8859-1 \
|
2001-02-09 11:53:55 +00:00
|
|
|
no_NO.ISO_8859-1 \
|
2001-02-10 22:44:31 +00:00
|
|
|
pl_PL.ISO_8859-2 \
|
2001-02-09 11:38:57 +00:00
|
|
|
ru_RU.KOI8-R \
|
2001-02-11 15:40:01 +00:00
|
|
|
sv_SE.ISO_8859-1 \
|
2001-02-11 16:19:43 +00:00
|
|
|
ko_KR.EUC \
|
|
|
|
ja_JP.EUC
|
2001-02-08 17:33:19 +00:00
|
|
|
|
|
|
|
LOCALEDIR= ${DESTDIR}/usr/share/locale
|
2001-02-09 21:17:39 +00:00
|
|
|
USENGLISH= en_US.ISO_8859-1
|
|
|
|
USENGLISHLINKS= en_CA.ISO_8859-1 en_GB.ISO_8859-1
|
|
|
|
GBENGLISH= en_GB.ISO_8859-1
|
|
|
|
GBENGLISHLINKS= en_AU.ISO_8859-1 en_NZ.ISO_8859-1
|
|
|
|
FRENCH= fr_FR.ISO_8859-1
|
|
|
|
FRENCHLINKS= fr_CA.ISO_8859-1 fr_CH.ISO_8859-1
|
2001-02-08 17:33:19 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .src .out
|
|
|
|
|
|
|
|
.src.out:
|
|
|
|
grep -v '^#' < ${.IMPSRC} > ${.TARGET}
|
|
|
|
|
|
|
|
all: ${LOCALES:S/$/.out/g}
|
|
|
|
|
|
|
|
afterinstall:
|
2001-02-09 21:01:50 +00:00
|
|
|
.for lang in ${LOCALES}
|
|
|
|
${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
|
|
|
|
${LOCALEDIR}/${lang}/LC_NUMERIC
|
|
|
|
.endfor
|
2001-02-09 21:17:39 +00:00
|
|
|
.for link in ${USENGLISHLINKS}
|
|
|
|
ln -sf ../${USENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
|
|
|
|
.endfor
|
|
|
|
.for link in ${GBENGLISHLINKS}
|
|
|
|
ln -sf ../${GBENGLISH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
|
|
|
|
.endfor
|
|
|
|
.for link in ${FRENCHLINKS}
|
|
|
|
ln -sf ../${FRENCH}/LC_NUMERIC ${LOCALEDIR}/${link}/LC_NUMERIC
|
|
|
|
.endfor
|
2001-02-08 17:33:19 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|