1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../contrib/ee 4 5CFLAGS+= -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \ 6 -DHAS_SYS_WAIT 7 8PROG= ee 9LINKS= ${BINDIR}/ee ${BINDIR}/ree ${BINDIR}/ee ${BINDIR}/edit 10MLINKS= ee.1 ree.1 ee.1 edit.1 11LIBADD= ncursesw 12 13WARNS?= 2 14 15NLS= C fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \ 16 uk_UA.KOI8-U pt_BR.ISO8859-1 ru_RU.KOI8-R hu_HU.ISO8859-2 17 18NLSLINKS_C= en_US.ISO8859-1 en_US.ISO8859-15 19NLSLINKS_fr_FR.ISO8859-1= fr_BE.ISO8859-1 fr_BE.ISO8859-15 \ 20 fr_CA.ISO8859-1 fr_CA.ISO8859-15 fr_CH.ISO8859-1 fr_CH.ISO8859-15 \ 21 fr_FR.ISO8859-15 22NLSLINKS_de_DE.ISO8859-1= de_AT.ISO8859-1 de_AT.ISO8859-15 de_CH.ISO8859-1 \ 23 de_CH.ISO8859-15 de_DE.ISO8859-15 24NLSLINKS_pt_BR.ISO8859-1= pt_PT.ISO8859-1 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