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
|
2000-09-16 03:27:54 +00:00
|
|
|
DPADD= ${LIBNCURSES}
|
|
|
|
LDADD= -lncurses
|
1995-08-30 07:28:06 +00:00
|
|
|
|
2001-06-11 03:45:33 +00:00
|
|
|
LANGS= en_US.US-ASCII fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \
|
2001-04-19 10:32:25 +00:00
|
|
|
uk_UA.KOI8-U ru_RU.KOI8-R
|
2001-06-11 03:45:33 +00:00
|
|
|
8859_15_LINKS = fr_FR de_DE
|
|
|
|
ENUS_LINKS = ISO8859-1 ISO8859-15
|
2001-06-10 20:42:46 +00:00
|
|
|
|
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
|
2001-06-11 03:45:33 +00:00
|
|
|
.for link in ${ENUS_LINKS}
|
|
|
|
ln -sf ../en_US.US-ASCII/ee.cat \
|
|
|
|
${DESTDIR}${NLSDIR}/en_US.${link}/ee.cat
|
|
|
|
.endfor
|
2001-06-10 20:42:46 +00:00
|
|
|
.for link in ${8859_15_LINKS}
|
|
|
|
ln -sf ../${link}.ISO8859-1/ee.cat \
|
|
|
|
${DESTDIR}${NLSDIR}/${link}.ISO8859-15/ee.cat
|
|
|
|
.endfor
|
1995-08-30 07:28:06 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|