summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
-rw-r--r--share/msgdef/Makefile24
-rw-r--r--share/msgdef/en_US.ISO8859-1.src10
-rw-r--r--share/msgdef/en_US.ISO_8859-1.src10
-rw-r--r--share/msgdef/ru_RU.KOI8-R.src10
-rw-r--r--share/numericdef/Makefile24
-rw-r--r--share/numericdef/en_US.ISO8859-1.src12
-rw-r--r--share/numericdef/en_US.ISO_8859-1.src12
-rw-r--r--share/numericdef/ru_RU.KOI8-R.src12
12 files changed, 246 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
diff --git a/share/msgdef/Makefile b/share/msgdef/Makefile
new file mode 100644
index 0000000..84da288
--- /dev/null
+++ b/share/msgdef/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_MESSAGES; \
+ done
+
+.include <bsd.prog.mk>
diff --git a/share/msgdef/en_US.ISO8859-1.src b/share/msgdef/en_US.ISO8859-1.src
new file mode 100644
index 0000000..c50709e
--- /dev/null
+++ b/share/msgdef/en_US.ISO8859-1.src
@@ -0,0 +1,10 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# decimal_point
+^[yYsS].*
+# thousands_sep
+^[nN].*
+# EOF
diff --git a/share/msgdef/en_US.ISO_8859-1.src b/share/msgdef/en_US.ISO_8859-1.src
new file mode 100644
index 0000000..c50709e
--- /dev/null
+++ b/share/msgdef/en_US.ISO_8859-1.src
@@ -0,0 +1,10 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# decimal_point
+^[yYsS].*
+# thousands_sep
+^[nN].*
+# EOF
diff --git a/share/msgdef/ru_RU.KOI8-R.src b/share/msgdef/ru_RU.KOI8-R.src
new file mode 100644
index 0000000..265cc10
--- /dev/null
+++ b/share/msgdef/ru_RU.KOI8-R.src
@@ -0,0 +1,10 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# yesexpr
+^[ÄäyY].*
+# noexpr
+^[ÎînN].*
+# EOF
diff --git a/share/numericdef/Makefile b/share/numericdef/Makefile
new file mode 100644
index 0000000..466f1cc
--- /dev/null
+++ b/share/numericdef/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_NUMERIC; \
+ done
+
+.include <bsd.prog.mk>
diff --git a/share/numericdef/en_US.ISO8859-1.src b/share/numericdef/en_US.ISO8859-1.src
new file mode 100644
index 0000000..3518c0e
--- /dev/null
+++ b/share/numericdef/en_US.ISO8859-1.src
@@ -0,0 +1,12 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# decimal_point
+.
+# thousands_sep
+,
+# grouping
+3;3
+# EOF
diff --git a/share/numericdef/en_US.ISO_8859-1.src b/share/numericdef/en_US.ISO_8859-1.src
new file mode 100644
index 0000000..3518c0e
--- /dev/null
+++ b/share/numericdef/en_US.ISO_8859-1.src
@@ -0,0 +1,12 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# decimal_point
+.
+# thousands_sep
+,
+# grouping
+3;3
+# EOF
diff --git a/share/numericdef/ru_RU.KOI8-R.src b/share/numericdef/ru_RU.KOI8-R.src
new file mode 100644
index 0000000..20911c9
--- /dev/null
+++ b/share/numericdef/ru_RU.KOI8-R.src
@@ -0,0 +1,12 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# decimal_point
+,
+# thousands_sep
+.
+# grouping
+3;3
+# EOF
OpenPOWER on IntegriCloud