1# $FreeBSD: src/share/monetdef/Makefile,v 1.37.2.3 2002/08/17 19:38:08 ache Exp $ 2# $DragonFly: src/share/monetdef/Makefile,v 1.9 2006/11/12 21:15:46 swildner Exp $ 3 4NOMAN=YES 5CLEANFILES+= ${LOCALES:S/$/.out/g} 6 7LOCALES= af_ZA.ISO8859-1 \ 8 be_BY.CP1131 \ 9 be_BY.CP1251 \ 10 be_BY.ISO8859-5 \ 11 be_BY.UTF-8 \ 12 bg_BG.CP1251 \ 13 bg_BG.UTF-8 \ 14 cs_CZ.ISO8859-2 \ 15 cs_CZ.UTF-8 \ 16 da_DK.ISO8859-1 \ 17 de_AT.ISO8859-1 \ 18 de_CH.ISO8859-1 \ 19 de_DE.ISO8859-1 \ 20 el_GR.ISO8859-7 \ 21 en_AU.ISO8859-1 \ 22 en_CA.ISO8859-1 \ 23 en_GB.ISO8859-1 \ 24 en_GB.UTF-8 \ 25 en_IE.UTF-8 \ 26 en_NZ.ISO8859-1 \ 27 en_US.ISO8859-1 \ 28 es_ES.ISO8859-1 \ 29 et_EE.ISO8859-15 \ 30 fi_FI.ISO8859-1 \ 31 fo_FO.ISO8859-1 \ 32 fr_BE.ISO8859-1 \ 33 fr_CA.ISO8859-1 \ 34 fr_FR.ISO8859-1 \ 35 hi_IN.ISCII-DEV \ 36 hr_HR.ISO8859-2 \ 37 hu_HU.ISO8859-2 \ 38 hy_AM.UTF-8 \ 39 is_IS.ISO8859-1 \ 40 it_IT.ISO8859-1 \ 41 ja_JP.eucJP \ 42 kk_KZ.UTF-8 \ 43 ko_KR.eucKR \ 44 lt_LT.ISO8859-13 \ 45 nl_BE.ISO8859-1 \ 46 nl_NL.ISO8859-1 \ 47 no_NO.ISO8859-1 \ 48 pl_PL.ISO8859-2 \ 49 pl_PL.UTF-8 \ 50 pt_BR.ISO8859-1 \ 51 pt_PT.ISO8859-1 \ 52 ro_RO.ISO8859-2 \ 53 ru_RU.CP866 \ 54 ru_RU.ISO8859-5 \ 55 ru_RU.KOI8-R \ 56 ru_RU.UTF-8 \ 57 sk_SK.ISO8859-2 \ 58 sl_SI.ISO8859-2 \ 59 sr_YU.ISO8859-2 \ 60 sr_YU.ISO8859-5 \ 61 sr_YU.UTF-8 \ 62 sv_SE.ISO8859-1 \ 63 tr_TR.ISO8859-9 \ 64 uk_UA.ISO8859-5 \ 65 uk_UA.KOI8-U \ 66 uk_UA.UTF-8 \ 67 zh_CN.eucCN \ 68 zh_CN.UTF-8 \ 69 zh_HK.UTF-8 \ 70 zh_TW.Big5 71 72LOCALEDIR= ${DESTDIR}/usr/share/locale 73 74ASCIILINKS= en_AU en_CA en_GB en_NZ en_US 75LATIN15LINKS= af_ZA da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ en_US \ 76 es_ES fi_FI fr_BE fr_CA fr_CH fr_FR is_IS is_IS it_IT it_CH \ 77 nl_BE nl_NL no_NO pt_PT sv_SE 78 79UTF8_LATIN1LINKS= af_ZA ca_ES da_DK de_AT de_CH de_DE en_CA en_NZ en_US \ 80 es_ES fi_FI fr_BE fr_CA fr_FR is_IS it_IT nl_BE nl_NL \ 81 no_NO pt_BR pt_PT sv_SE 82UTF8_LATIN2LINKS= hr_HR hu_HU ro_RO sk_SK sl_SI sr_YU 83UTF8_LATIN7LINKS= el_GR 84UTF8_LATIN9LINKS= tr_TR 85UTF8_LATIN13LINKS= lt_LT 86UTF8_LATIN15LINKS= et_EE 87 88CH_SRC= de_CH 89CH_LINKS= fr_CH it_CH 90 91.SUFFIXES: .src .out 92 93.src.out: 94 grep -v '^#' < ${.IMPSRC} > ${.TARGET} 95 96all: ${LOCALES:S/$/.out/g} 97 98afterinstall: 99.for lang in ${LOCALES} 100 ${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \ 101 ${LOCALEDIR}/${lang}/LC_MONETARY 102.endfor 103.for link in ${LATIN15LINKS} 104 ${LN} -sf ../${link}.ISO8859-1/LC_MONETARY \ 105 ${LOCALEDIR}/${link}.ISO8859-15/LC_MONETARY 106.endfor 107.for link in ${ASCIILINKS} 108 ${LN} -sf ../${link}.ISO8859-1/LC_MONETARY \ 109 ${LOCALEDIR}/${link}.US-ASCII/LC_MONETARY 110.endfor 111.for link in ${CH_LINKS} 112 ${LN} -sf ../${CH_SRC}.ISO8859-1/LC_MONETARY \ 113 ${LOCALEDIR}/${link}.ISO8859-1/LC_MONETARY 114.endfor 115 ${LN} -sf ../ja_JP.eucJP/LC_MONETARY \ 116 ${LOCALEDIR}/ja_JP.SJIS/LC_MONETARY 117.for link in ${UTF8_LATIN1LINKS} 118 ${LN} -sf ../${link}.ISO8859-1/LC_MONETARY \ 119 ${LOCALEDIR}/${link}.UTF-8/LC_MONETARY 120.endfor 121.for link in ${UTF8_LATIN2LINKS} 122 ${LN} -sf ../${link}.ISO8859-2/LC_MONETARY \ 123 ${LOCALEDIR}/${link}.UTF-8/LC_MONETARY 124.endfor 125.for link in ${UTF8_LATIN7LINKS} 126 ${LN} -sf ../${link}.ISO8859-7/LC_MONETARY \ 127 ${LOCALEDIR}/${link}.UTF-8/LC_MONETARY 128.endfor 129.for link in ${UTF8_LATIN9LINKS} 130 ${LN} -sf ../${link}.ISO8859-9/LC_MONETARY \ 131 ${LOCALEDIR}/${link}.UTF-8/LC_MONETARY 132.endfor 133.for link in ${UTF8_LATIN13LINKS} 134 ${LN} -sf ../${link}.ISO8859-13/LC_MONETARY \ 135 ${LOCALEDIR}/${link}.UTF-8/LC_MONETARY 136.endfor 137.for link in ${UTF8_LATIN15LINKS} 138 ${LN} -sf ../${link}.ISO8859-15/LC_MONETARY \ 139 ${LOCALEDIR}/${link}.UTF-8/LC_MONETARY 140.endfor 141.for link in ${CH_LINKS} 142 ${LN} -sf ../${CH_SRC}.UTF-8/LC_MONETARY \ 143 ${LOCALEDIR}/${link}.UTF-8/LC_MONETARY 144.endfor 145 ${LN} -sf ../ja_JP.eucJP/LC_MONETARY \ 146 ${LOCALEDIR}/ja_JP.UTF-8/LC_MONETARY 147 ${LN} -sf ../ko_KR.eucKR/LC_MONETARY \ 148 ${LOCALEDIR}/ko_KR.UTF-8/LC_MONETARY 149 ${LN} -sf ../zh_TW.Big5/LC_MONETARY \ 150 ${LOCALEDIR}/zh_TW.UTF-8/LC_MONETARY 151 152.include <bsd.prog.mk> 153