xref: /freebsd/share/i18n/esdb/BIG5/Makefile (revision bb15ca603fa442c72dde3f3cb8b46db6970e3950)
1# $FreeBSD$
2# $NetBSD: Makefile.inc,v 1.3 2008/10/25 22:35:36 apb Exp $
3
4CODE=	Big5
5ESUBDIR= BIG5
6NO_PREPROC= yes
7
8.include "../Makefile.part"
9
10.for i in ${PART:S/:/@/}
11Big5_$i_variable!= sed \
12	'/^\#/d;/^ *$$/d;/^${i:S/@/:/}[ 	]/!d;s/^[^ 	]*[ 	]*//' \
13	${.CURDIR}/Big5.variable
14.endfor
15.for i in ${PART}
16.if !exists(Big5-${i:S/:/@/}.src)
17# XXX: FIXME
18Big5-${i:S/:/@/}.src: Big5.src Big5.variable
19	sed -e 's/encoding/Big5-$i/' \
20		-e 's/variable/${Big5_$i_variable}/' \
21		${.CURDIR}/Big5.src > $@
22	@echo Big5-${i:S/:/@/}.src >>.tmpfiles
23.endif
24.endfor
25