summaryrefslogtreecommitdiffstats
path: root/share/monetdef
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2001-02-08 17:33:19 +0000
committerphantom <phantom@FreeBSD.org>2001-02-08 17:33:19 +0000
commit58896dce4d6e91314bb02c989d63ead4a1c528a4 (patch)
tree8242b01299c307345f9ac022f30ce9eb28777e0c /share/monetdef
parent2d3793614b065b11717d0ccc65ab2a9ce98545bd (diff)
downloadFreeBSD-src-58896dce4d6e91314bb02c989d63ead4a1c528a4.zip
FreeBSD-src-58896dce4d6e91314bb02c989d63ead4a1c528a4.tar.gz
Add sources for following categories: LC_NUMERIC (share/numericdef),
LC_MONETARY (share/monetdef), LC_MESSAGES (share/msgdef). Now only en_US.ISO_8859-1 and ru_RU.KOI8-R locales ready. I will find some time in near future and'll try to make defintions for other locales.
Diffstat (limited to 'share/monetdef')
-rw-r--r--share/monetdef/Makefile24
-rw-r--r--share/monetdef/en_US.ISO8859-1.src36
-rw-r--r--share/monetdef/en_US.ISO_8859-1.src36
-rw-r--r--share/monetdef/ru_RU.KOI8-R.src36
4 files changed, 132 insertions, 0 deletions
diff --git a/share/monetdef/Makefile b/share/monetdef/Makefile
new file mode 100644
index 0000000..a4c6ff4
--- /dev/null
+++ b/share/monetdef/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+NOMAN=YES
+CLEANFILES+= ${LOCALES:S/$/.out/g}
+
+LOCALES= en_US.ISO_8859-1 \
+ ru_RU.KOI8-R
+
+LOCALEDIR= ${DESTDIR}/usr/share/locale
+
+.SUFFIXES: .src .out
+
+.src.out:
+ grep -v '^#' < ${.IMPSRC} > ${.TARGET}
+
+all: ${LOCALES:S/$/.out/g}
+
+afterinstall:
+ for l in ${LOCALES}; do \
+ ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \
+ ${LOCALEDIR}/$$l/LC_MONETARY; \
+ done
+
+.include <bsd.prog.mk>
diff --git a/share/monetdef/en_US.ISO8859-1.src b/share/monetdef/en_US.ISO8859-1.src
new file mode 100644
index 0000000..911fa93
--- /dev/null
+++ b/share/monetdef/en_US.ISO8859-1.src
@@ -0,0 +1,36 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# int_curr_symbol
+USD
+# currency_symbol
+$
+# mon_decimal_point
+.
+# mon_thousands_sep
+,
+# mon_grouping
+3;3
+# positive_sign
+
+# negative_sign
+-
+# int_frac_digits
+2
+# frac_digits
+2
+# p_cs_precedes
+1
+# p_sep_by_space
+0
+# n_cs_precedes
+1
+# n_sep_by_space
+0
+# p_sign_posn
+1
+# n_sign_posn
+1
+# EOF
diff --git a/share/monetdef/en_US.ISO_8859-1.src b/share/monetdef/en_US.ISO_8859-1.src
new file mode 100644
index 0000000..911fa93
--- /dev/null
+++ b/share/monetdef/en_US.ISO_8859-1.src
@@ -0,0 +1,36 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# int_curr_symbol
+USD
+# currency_symbol
+$
+# mon_decimal_point
+.
+# mon_thousands_sep
+,
+# mon_grouping
+3;3
+# positive_sign
+
+# negative_sign
+-
+# int_frac_digits
+2
+# frac_digits
+2
+# p_cs_precedes
+1
+# p_sep_by_space
+0
+# n_cs_precedes
+1
+# n_sep_by_space
+0
+# p_sign_posn
+1
+# n_sign_posn
+1
+# EOF
diff --git a/share/monetdef/ru_RU.KOI8-R.src b/share/monetdef/ru_RU.KOI8-R.src
new file mode 100644
index 0000000..edef333
--- /dev/null
+++ b/share/monetdef/ru_RU.KOI8-R.src
@@ -0,0 +1,36 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# int_curr_symbol
+RUR
+# currency_symbol
+руб
+# mon_decimal_point
+.
+# mon_thousands_sep
+
+# mon_grouping
+3;3
+# positive_sign
+
+# negative_sign
+-
+# int_frac_digits
+2
+# frac_digits
+2
+# p_cs_precedes
+0
+# p_sep_by_space
+1
+# n_cs_precedes
+0
+# n_sep_by_space
+1
+# p_sign_posn
+1
+# n_sign_posn
+1
+# EOF
OpenPOWER on IntegriCloud