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