summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2002-03-04 09:52:06 +0000
committerphantom <phantom@FreeBSD.org>2002-03-04 09:52:06 +0000
commit59a679ac31786ba8a42bdd9b7e88791fa59c4628 (patch)
tree348d6a77c42ade5e3b5ecb923004fc9e54f7bec2 /usr.bin
parent7cccef054ffd00b0bb9ba2e49f433472632a5ab5 (diff)
downloadFreeBSD-src-59a679ac31786ba8a42bdd9b7e88791fa59c4628.zip
FreeBSD-src-59a679ac31786ba8a42bdd9b7e88791fa59c4628.tar.gz
Use bsd.nls.mk for building/installing NLS files
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ee/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/usr.bin/ee/Makefile b/usr.bin/ee/Makefile
index cc00542..ab388677 100644
--- a/usr.bin/ee/Makefile
+++ b/usr.bin/ee/Makefile
@@ -15,17 +15,12 @@ LANGS= en_US.US-ASCII fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \
8859_15_LINKS = fr_FR de_DE
ENUS_LINKS = ISO8859-1 ISO8859-15
-FILES= ${LANGS:S/$/.ee.cat/}
-CLEANFILES+= ${FILES}
+NLSNAME=ee
.for lang in ${LANGS}
-${lang}.ee.cat: ${.CURDIR}/nls/${lang}/ee.msg
- gencat -new ${.TARGET} ${.ALLSRC}
-.endfor
-
-.for lang in ${LANGS}
-FILESDIR_${lang:S/$/.ee.cat/}= ${NLSDIR}/${lang}
-FILESNAME_${lang:S/$/.ee.cat/}= ee.cat
+NLSSRCDIR_${lang}.msg=${.CURDIR}/nls/${lang}
+NLSSRCFILES_${lang}.msg=ee.msg
+NLS+=${lang}.msg
.endfor
.for link in ${ENUS_LINKS}
@@ -36,3 +31,4 @@ SYMLINKS+= ../${link}.ISO8859-1/ee.cat ${NLSDIR}/${link}.ISO8859-15/ee.cat
.endfor
.include <bsd.prog.mk>
+.include <bsd.nls.mk>
OpenPOWER on IntegriCloud