1CFLAGS+= -DCAP -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \ 2 -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DSLCT_HDR 3 4PROG= ee 5LINKS= ${BINDIR}/ee ${BINDIR}/ree 6MLINKS= ee.1 ree.1 7DPADD= ${LIBNCURSES} ${LIBMYTINFO} 8LDADD= -lncurses -lmytinfo 9 10LANGS= en_US.ISO_8859-1 fr_FR.ISO_8859-1 de_DE.ISO_8859-1 pl_PL.ISO_8859-2 11FILES= ${LANGS:S/$/.ee.cat/} 12CLEANFILES+= ${FILES} 13 14all: ${FILES} 15 16.for lang in ${LANGS} 17${lang}.ee.cat: ${.CURDIR}/nls/${lang}/ee.msg 18 gencat -new ${.TARGET} ${.ALLSRC} 19.endfor 20 21beforeinstall: 22.for lang in ${LANGS} 23 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ 24 ${lang}.ee.cat ${DESTDIR}${NLSDIR}/${lang}/ee.cat 25.endfor 26 27.include <bsd.prog.mk> 28