From 5179f05e3398169a25ab709a7f6ba906212bfd68 Mon Sep 17 00:00:00 2001 From: ru Date: Tue, 2 Jul 2002 12:37:09 +0000 Subject: Reimplemented bsd.nls.mk using bsd.files.mk and bsd.links.mk. Provided the (previously missing) dependency on source files for intermediate .msg files. Provided the default for NLSSRCDIR (defaults to .CURDIR). Slightly changed the API: NLS should now list plain locale names, without the .msg suffix. When included from bsd.prog.mk, NLSNAME defaults to PROG. --- usr.bin/ee/Makefile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'usr.bin/ee/Makefile') diff --git a/usr.bin/ee/Makefile b/usr.bin/ee/Makefile index 29f0ae4c..8fdc499 100644 --- a/usr.bin/ee/Makefile +++ b/usr.bin/ee/Makefile @@ -9,7 +9,7 @@ MLINKS= ee.1 ree.1 ee.1 edit.1 DPADD= ${LIBNCURSES} LDADD= -lncurses -LANGS= en_US.US-ASCII fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \ +NLS= en_US.US-ASCII fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \ uk_UA.KOI8-U ru_RU.KOI8-R NLSLINKS_en_US.US-ASCII= en_US.ISO8859-1 en_US.ISO8859-15 @@ -19,14 +19,9 @@ NLSLINKS_fr_FR.ISO8859-1= fr_BE.ISO8859-1 fr_BE.ISO8859-15 \ NLSLINKS_de_DE.ISO8859-1= de_AT.ISO8859-1 de_AT.ISO8859-15 de_CH.ISO8859-1 \ de_CH.ISO8859-15 de_DE.ISO8859-15 -NLSNAME=ee - NLSSRCFILES=ee.msg - -.for lang in ${LANGS} -NLSSRCDIR_${lang}.msg=${.CURDIR}/nls/${lang} -NLS+=${lang}.msg +.for lang in ${NLS} +NLSSRCDIR_${lang}= ${.CURDIR}/nls/${lang} .endfor .include -.include -- cgit v1.1