aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ee
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-11-18 11:21:37 +0000
committerBruce Evans <bde@FreeBSD.org>1995-11-18 11:21:37 +0000
commit24f7e33dfd2277aaffa34c5a2c7b6dbe488e8ee0 (patch)
treea46d8363322622d412e7d8b02eff8c3f0ea78b26 /usr.bin/ee
parent3b9a76f03c6e967e1734d46fb7906b8e5c22c1ac (diff)
Notes
Diffstat (limited to 'usr.bin/ee')
-rw-r--r--usr.bin/ee/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/ee/Makefile b/usr.bin/ee/Makefile
index 5c6c8502750f..800a92e40a1c 100644
--- a/usr.bin/ee/Makefile
+++ b/usr.bin/ee/Makefile
@@ -8,11 +8,13 @@ DPADD= ${LIBNCURSES} ${LIBMYTINFO}
LDADD= -lncurses -lmytinfo
LANGS= en_US.ISO_8859-1 fr_FR.ISO_8859-1 de_DE.ISO_8859-1
+NLSDIR= ${DESTDIR}/usr/share/nls
afterinstall:
- @for i in ${LANGS}; do \
- gencat -new ${DESTDIR}/usr/share/nls/$$i/ee.cat ${.CURDIR}/nls/$$i/ee.msg; \
- chmod 444 ${.CURDIR}/nls/$$i/ee.msg; \
+ for l in ${LANGS}; do \
+ gencat -new ${NLSDIR}/$$l/ee.cat ${.CURDIR}/nls/$$l/ee.msg; \
+ chown ${BINOWN}.${BINGRP} ${NLSDIR}/$$l/ee.cat; \
+ chmod 444 ${NLSDIR}/$$l/ee.cat; \
done
.include <bsd.prog.mk>