summaryrefslogtreecommitdiffstats
path: root/share/i18n/esdb/BIG5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'share/i18n/esdb/BIG5/Makefile')
-rw-r--r--share/i18n/esdb/BIG5/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/share/i18n/esdb/BIG5/Makefile b/share/i18n/esdb/BIG5/Makefile
new file mode 100644
index 0000000..4852b83
--- /dev/null
+++ b/share/i18n/esdb/BIG5/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+# $NetBSD: Makefile.inc,v 1.3 2008/10/25 22:35:36 apb Exp $
+
+CODE= Big5
+ESUBDIR= BIG5
+NO_PREPROC= yes
+
+.include "../Makefile.part"
+
+.for i in ${PART:S/:/@/}
+Big5_$i_variable!= sed \
+ '/^\#/d;/^ *$$/d;/^${i:S/@/:/}[ ]/!d;s/^[^ ]*[ ]*//' \
+ ${.CURDIR}/Big5.variable
+.endfor
+.for i in ${PART}
+.if !exists(Big5-${i:S/:/@/}.src)
+# XXX: FIXME
+Big5-${i:S/:/@/}.src: Big5.src Big5.variable
+ sed -e 's/encoding/Big5-$i/' \
+ -e 's/variable/${Big5_$i_variable}/' \
+ ${.CURDIR}/Big5.src > $@
+ @echo Big5-${i:S/:/@/}.src >>.tmpfiles
+.endif
+.endfor
OpenPOWER on IntegriCloud