2001-02-08 17:33:19 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
NOMAN=YES
|
|
|
|
CLEANFILES+= ${LOCALES:S/$/.out/g}
|
|
|
|
|
2001-02-09 12:39:32 +00:00
|
|
|
LOCALES= af_ZA.ISO_8859-1 \
|
|
|
|
da_DK.ISO_8859-1 \
|
2001-02-09 12:21:17 +00:00
|
|
|
de_DE.ISO_8859-1 \
|
2001-02-09 12:08:12 +00:00
|
|
|
en_US.ISO_8859-1 \
|
2001-02-09 13:37:06 +00:00
|
|
|
fi_FI.ISO_8859-1 \
|
2001-02-09 12:30:53 +00:00
|
|
|
fr_FR.ISO_8859-1 \
|
2001-02-08 23:06:11 +00:00
|
|
|
nl_NL.ISO_8859-1 \
|
2001-02-09 11:53:55 +00:00
|
|
|
no_NO.ISO_8859-1 \
|
2001-02-09 11:38:57 +00:00
|
|
|
ru_RU.KOI8-R \
|
|
|
|
sv_SE.ISO_8859-1
|
2001-02-08 17:33:19 +00:00
|
|
|
|
|
|
|
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_MESSAGES; \
|
|
|
|
done
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|