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