Sync Citrus iconv support with NetBSD.
[dragonfly.git] / share / i18n / csmapper / GEORGIAN / Makefile.inc
blob3792e31bb54c2b6954e7f2fb30eac95bb1dc948a
1 # $NetBSD: Makefile.inc,v 1.1 2006/06/15 15:34:20 tnozaki Exp $
2 # $DragonFly: src/share/i18n/csmapper/GEORGIAN/Makefile.inc,v 1.1 2008/04/10 10:21:08 hasso Exp $
4 .PATH: ${.CURDIR}/GEORGIAN
6 SRCS_mapper.dir+=       mapper.dir.GEORGIAN
7 SRCS_charset.pivot+=    charset.pivot.GEORGIAN
8 CLEANFILES+=            mapper.dir.GEORGIAN charset.pivot.GEORGIAN
9 PART_GEORGIAN!=         sed '/^\#/d;/^$$/d;' ${.CURDIR}/GEORGIAN/GEORGIAN.part
11 mapper.dir.GEORGIAN: ${.CURDIR}/GEORGIAN/GEORGIAN.part
12         ${_MKTARGET_CREATE}
13         (\
14             echo "# GEORGIAN";\
15             for i in ${PART_GEORGIAN}; do \
16                 f=`echo $$i | sed 's/:/@/'`; \
17                 printf '%-32s%-16s%s\n' GEORGIAN-$$i'/UCS' \
18                     mapper_std GEORGIAN/GEORGIAN-$$f'%UCS.mps';\
19                 printf '%-32s%-16s%s\n' UCS/GEORGIAN-$$i \
20                     mapper_std GEORGIAN/UCS%GEORGIAN-$$f'.mps';\
21             done;\
22             echo;\
23         ) > ${.TARGET}
25 charset.pivot.GEORGIAN: ${.CURDIR}/GEORGIAN/GEORGIAN.part
26         ${_MKTARGET_CREATE}
27         (\
28             echo "# GEORGIAN";\
29             for i in ${PART_GEORGIAN}; do \
30                 printf "%-32s%-32s%d\n" GEORGIAN-$$i UCS 1;\
31                 printf "%-32s%-32s%d\n" UCS GEORGIAN-$$i 1;\
32             done;\
33             echo;\
34         ) > ${.TARGET}
36 .for i in ${PART_GEORGIAN}
37 FILES+=         GEORGIAN-${i:S/:/@/}%UCS.mps UCS%GEORGIAN-${i:S/:/@/}.mps
38 CLEANFILES+=    GEORGIAN-${i:S/:/@/}%UCS.mps UCS%GEORGIAN-${i:S/:/@/}.mps
39 FILESDIR_GEORGIAN-${i:S/:/@/}%UCS.mps=  ${BINDIR}/GEORGIAN
40 FILESDIR_UCS%GEORGIAN-${i:S/:/@/}.mps=  ${BINDIR}/GEORGIAN
41 .endfor