xref: /freebsd/share/i18n/esdb/BIG5/Makefile (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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# XXX: FIXME
17Big5-${i:S/:/@/}.src: Big5.src Big5.variable
18	sed -e 's/encoding/Big5-$i/' \
19		-e 's/variable/${Big5_${i:S/@/:/}_variable}/' \
20		${.CURDIR}/Big5.src > $@
21	@echo ${.TARGET} >>.tmpfiles
22.endfor
23