1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../contrib/ee 4 5CFLAGS+= -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \ 6 -DHAS_CTYPE -DHAS_SYS_WAIT 7 8PROG= ee 9LINKS= ${BINDIR}/ee ${BINDIR}/ree ${BINDIR}/ee ${BINDIR}/edit 10MLINKS= ee.1 ree.1 ee.1 edit.1 11DPADD= ${LIBNCURSES} 12LDADD= -lncurses 13 14WARNS?= 2 15 16NLS= en_US.US-ASCII fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \ 17 uk_UA.KOI8-U ru_RU.KOI8-R hu_HU.ISO8859-2 18 19NLSLINKS_en_US.US-ASCII= en_US.ISO8859-1 en_US.ISO8859-15 20NLSLINKS_fr_FR.ISO8859-1= fr_BE.ISO8859-1 fr_BE.ISO8859-15 \ 21 fr_CA.ISO8859-1 fr_CA.ISO8859-15 fr_CH.ISO8859-1 fr_CH.ISO8859-15 \ 22 fr_FR.ISO8859-15 23NLSLINKS_de_DE.ISO8859-1= de_AT.ISO8859-1 de_AT.ISO8859-15 de_CH.ISO8859-1 \ 24 de_CH.ISO8859-15 de_DE.ISO8859-15 25 26NLSSRCFILES=ee.msg 27.for lang in ${NLS} 28. if exists(${.CURDIR}/nls/${lang}/ee.msg) 29NLSSRCDIR_${lang}= ${.CURDIR}/nls/${lang} 30. else 31NLSSRCDIR_${lang}= ${.CURDIR}/../../contrib/ee 32. endif 33.endfor 34 35.include <bsd.prog.mk> 36