1# $FreeBSD$ 2 3NOMAN=YES 4CLEANFILES+= ${LOCALES:S/$/.out/g} 5 6LOCALES= af_ZA.ISO8859-1 \ 7 bg_BG.CP1251 \ 8 cs_CZ.ISO8859-2 \ 9 da_DK.ISO8859-1 \ 10 de_AT.ISO8859-1 \ 11 de_CH.ISO8859-1 \ 12 de_DE.ISO8859-1 \ 13 el_GR.ISO8859-7 \ 14 en_AU.ISO8859-1 \ 15 en_CA.ISO8859-1 \ 16 en_GB.ISO8859-1 \ 17 en_NZ.ISO8859-1 \ 18 en_US.ISO8859-1 \ 19 es_ES.ISO8859-1 \ 20 et_EE.ISO8859-15 \ 21 fi_FI.ISO8859-1 \ 22 fr_BE.ISO8859-1 \ 23 fr_CA.ISO8859-1 \ 24 fr_FR.ISO8859-1 \ 25 hi_IN.ISCII-DEV \ 26 hr_HR.ISO8859-2 \ 27 hu_HU.ISO8859-2 \ 28 is_IS.ISO8859-1 \ 29 it_IT.ISO8859-1 \ 30 ja_JP.eucJP \ 31 ko_KR.eucKR \ 32 nl_BE.ISO8859-1 \ 33 nl_NL.ISO8859-1 \ 34 no_NO.ISO8859-1 \ 35 pl_PL.ISO8859-2 \ 36 pt_BR.ISO8859-1 \ 37 pt_PT.ISO8859-1 \ 38 ro_RO.ISO8859-2 \ 39 ru_RU.CP866 \ 40 ru_RU.ISO8859-5 \ 41 ru_RU.KOI8-R \ 42 sk_SK.ISO8859-2 \ 43 sl_SI.ISO8859-2 \ 44 sv_SE.ISO8859-1 \ 45 tr_TR.ISO8859-9 \ 46 uk_UA.ISO8859-5 \ 47 uk_UA.KOI8-U \ 48 zh_CN.eucCN \ 49 zh_TW.Big5 50 51LOCALEDIR= ${DESTDIR}/usr/share/locale 52 53ASCIILINKS= en_AU en_CA en_GB en_NZ en_US 54LATIN15LINKS= af_ZA da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ en_US \ 55 es_ES fi_FI fr_BE fr_CA fr_CH fr_FR is_IS is_IS it_IT it_CH \ 56 nl_BE nl_NL no_NO pt_PT sv_SE 57 58CH_SRC= de_CH 59CH_LINKS= fr_CH it_CH 60 61.SUFFIXES: .src .out 62 63.src.out: 64 grep -v '^#' < ${.IMPSRC} > ${.TARGET} 65 66all: ${LOCALES:S/$/.out/g} 67 68afterinstall: 69.for lang in ${LOCALES} 70 ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \ 71 ${LOCALEDIR}/${lang}/LC_MONETARY 72.endfor 73.for link in ${LATIN15LINKS} 74 ln -sf ../${link}.ISO8859-1/LC_MONETARY \ 75 ${LOCALEDIR}/${link}.ISO8859-15/LC_MONETARY 76.endfor 77.for link in ${ASCIILINKS} 78 ln -sf ../${link}.ISO8859-1/LC_MONETARY \ 79 ${LOCALEDIR}/${link}.US-ASCII/LC_MONETARY 80.endfor 81.for link in ${CH_LINKS} 82 ln -sf ../${CH_SRC}.ISO8859-1/LC_MONETARY \ 83 ${LOCALEDIR}/${link}.ISO8859-1/LC_MONETARY 84.endfor 85 ln -sf ../ja_JP.eucJP/LC_MONETARY \ 86 ${LOCALEDIR}/ja_JP.SJIS/LC_MONETARY 87 88.include <bsd.prog.mk> 89