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_PT.ISO8859-1 \ 37 ro_RO.ISO8859-2 \ 38 ru_RU.CP866 \ 39 ru_RU.ISO8859-5 \ 40 ru_RU.KOI8-R \ 41 sk_SK.ISO8859-2 \ 42 sl_SI.ISO8859-2 \ 43 sv_SE.ISO8859-1 \ 44 tr_TR.ISO8859-9 \ 45 uk_UA.ISO8859-5 \ 46 uk_UA.KOI8-U \ 47 zh_CN.eucCN \ 48 zh_TW.Big5 49 50LOCALEDIR= ${DESTDIR}/usr/share/locale 51 52ASCIILINKS= en_AU en_CA en_GB en_NZ en_US 53LATIN15LINKS= af_ZA da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ en_US \ 54 es_ES fi_FI fr_BE fr_CA fr_CH fr_FR is_IS is_IS it_IT it_CH \ 55 nl_BE nl_NL no_NO pt_PT sv_SE 56 57CH_SRC= de_CH 58CH_LINKS= fr_CH it_CH 59 60.SUFFIXES: .src .out 61 62.src.out: 63 grep -v '^#' < ${.IMPSRC} > ${.TARGET} 64 65all: ${LOCALES:S/$/.out/g} 66 67afterinstall: 68.for lang in ${LOCALES} 69 ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \ 70 ${LOCALEDIR}/${lang}/LC_MONETARY 71.endfor 72.for link in ${LATIN15LINKS} 73 ln -sf ../${link}.ISO8859-1/LC_MONETARY \ 74 ${LOCALEDIR}/${link}.ISO8859-15/LC_MONETARY 75.endfor 76.for link in ${ASCIILINKS} 77 ln -sf ../${link}.ISO8859-1/LC_MONETARY \ 78 ${LOCALEDIR}/${link}.US-ASCII/LC_MONETARY 79.endfor 80.for link in ${CH_LINKS} 81 ln -sf ../${CH_SRC}.ISO8859-1/LC_MONETARY \ 82 ${LOCALEDIR}/${link}.ISO8859-1/LC_MONETARY 83.endfor 84 85.include <bsd.prog.mk> 86