1995-08-30 07:28:06 +00:00
|
|
|
CFLAGS+= -DCAP -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \
|
|
|
|
-DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DSLCT_HDR
|
|
|
|
|
|
|
|
PROG= ee
|
|
|
|
LINKS= ${BINDIR}/ee ${BINDIR}/ree
|
1997-03-09 06:08:22 +00:00
|
|
|
MLINKS= ee.1 ree.1
|
1995-08-30 13:25:55 +00:00
|
|
|
DPADD= ${LIBNCURSES} ${LIBMYTINFO}
|
1995-08-30 07:28:06 +00:00
|
|
|
LDADD= -lncurses -lmytinfo
|
|
|
|
|
1995-10-21 23:47:43 +00:00
|
|
|
LANGS= en_US.ISO_8859-1 fr_FR.ISO_8859-1 de_DE.ISO_8859-1
|
1997-03-09 06:08:22 +00:00
|
|
|
FILES= ${LANGS:S/$/.ee.cat/}
|
|
|
|
CLEANFILES+= ${FILES}
|
1995-08-30 07:28:06 +00:00
|
|
|
|
1997-03-09 06:08:22 +00:00
|
|
|
all: ${FILES}
|
|
|
|
|
|
|
|
.for lang in ${LANGS}
|
|
|
|
${lang}.ee.cat: ${.CURDIR}/nls/${lang}/ee.msg
|
|
|
|
gencat -new ${.TARGET} ${.ALLSRC}
|
1996-05-22 00:21:50 +00:00
|
|
|
.endfor
|
|
|
|
|
1997-03-09 06:08:22 +00:00
|
|
|
beforeinstall:
|
|
|
|
.for lang in ${LANGS}
|
1997-04-04 15:09:42 +00:00
|
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
|
1997-03-09 06:08:22 +00:00
|
|
|
${lang}.ee.cat ${DESTDIR}${NLSDIR}/${lang}/ee.cat
|
|
|
|
.endfor
|
1995-08-30 07:28:06 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|