summaryrefslogtreecommitdiffstats
path: root/usr.bin/ee/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-07-02 12:37:09 +0000
committerru <ru@FreeBSD.org>2002-07-02 12:37:09 +0000
commit5179f05e3398169a25ab709a7f6ba906212bfd68 (patch)
tree91ad217324f8e79373a55d46b03690c4339c7ea5 /usr.bin/ee/Makefile
parent038386078dfe384615c466ae7a32b271e5e0751f (diff)
downloadFreeBSD-src-5179f05e3398169a25ab709a7f6ba906212bfd68.zip
FreeBSD-src-5179f05e3398169a25ab709a7f6ba906212bfd68.tar.gz
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.
Diffstat (limited to 'usr.bin/ee/Makefile')
-rw-r--r--usr.bin/ee/Makefile11
1 files changed, 3 insertions, 8 deletions
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 <bsd.prog.mk>
-.include <bsd.nls.mk>
OpenPOWER on IntegriCloud