2000-06-06 22:55:41 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
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
|
1998-12-06 22:58:23 +00:00
|
|
|
CFLAGS+=-Wall
|
2000-06-06 22:55:41 +00:00
|
|
|
LINKS= ${BINDIR}/ee ${BINDIR}/ree ${BINDIR}/ee ${BINDIR}/edit
|
|
|
|
MLINKS= ee.1 ree.1 ee.1 edit.1
|
1995-08-30 13:25:55 +00:00
|
|
|
DPADD= ${LIBNCURSES} ${LIBMYTINFO}
|
1995-08-30 07:28:06 +00:00
|
|
|
LDADD= -lncurses -lmytinfo
|
|
|
|
|
1997-09-22 20:20:28 +00:00
|
|
|
LANGS= en_US.ISO_8859-1 fr_FR.ISO_8859-1 de_DE.ISO_8859-1 pl_PL.ISO_8859-2
|
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>
|