summaryrefslogtreecommitdiffstats
path: root/share/monetdef/Makefile
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/Makefile
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/Makefile')
-rw-r--r--share/monetdef/Makefile24
1 files changed, 24 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>
OpenPOWER on IntegriCloud