summaryrefslogtreecommitdiffstats
path: root/usr.bin/ee/Makefile
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-08-30 13:25:55 +0000
committerjkh <jkh@FreeBSD.org>1995-08-30 13:25:55 +0000
commit9ba149fa592ea46cdc13536fd36beba1c7c7a5d6 (patch)
tree2a694abf112c02dacd64506cf471fd3c034c5f71 /usr.bin/ee/Makefile
parent4de8d1990e3d1e6a0666b1b5185fad597cd1f28b (diff)
downloadFreeBSD-src-9ba149fa592ea46cdc13536fd36beba1c7c7a5d6.zip
FreeBSD-src-9ba149fa592ea46cdc13536fd36beba1c7c7a5d6.tar.gz
While posting something to -current about this, I got an idea for making
it a more ideal I18N candidate. Here it is.
Diffstat (limited to 'usr.bin/ee/Makefile')
-rw-r--r--usr.bin/ee/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/usr.bin/ee/Makefile b/usr.bin/ee/Makefile
index b9caaa4..dbe6f4e 100644
--- a/usr.bin/ee/Makefile
+++ b/usr.bin/ee/Makefile
@@ -4,19 +4,15 @@ CFLAGS+= -DCAP -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \
PROG= ee
SRCS= ee.c
LINKS= ${BINDIR}/ee ${BINDIR}/ree
-DPADD= ee.cat ${LIBNCURSES} ${LIBMYTINFO}
+DPADD= ${LIBNCURSES} ${LIBMYTINFO}
LDADD= -lncurses -lmytinfo
-CLEANFILES+= ee.cat
-# I'm not sure if this is kosher, but I don't see any system default just
-# now.
-LANG?= en_US.ISO_8859-1
+LANGS= en_US.ISO_8859-1
-ee.cat: ${.CURDIR}/ee.msg
- gencat -new ee.cat ${.CURDIR}/ee.msg
-
-afterinstall: ee.cat
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ee.cat \
- ${DESTDIR}/usr/share/nls/${LANG}/ee.cat
+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; \
+ done
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud