summaryrefslogtreecommitdiffstats
path: root/share/numericdef/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'share/numericdef/Makefile')
-rw-r--r--share/numericdef/Makefile24
1 files changed, 24 insertions, 0 deletions
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>
OpenPOWER on IntegriCloud