1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../contrib/ee 4 5CFLAGS+= -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \ 6 -DHAS_SYS_WAIT 7 8PACKAGE=ee 9PROG= ee 10LINKS= ${BINDIR}/ee ${BINDIR}/ree ${BINDIR}/ee ${BINDIR}/edit 11MLINKS= ee.1 ree.1 ee.1 edit.1 12LIBADD= ncursesw 13 14WARNS?= 2 15 16NLS= C fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \ 17 uk_UA.KOI8-U pt_BR.ISO8859-1 ru_RU.KOI8-R hu_HU.ISO8859-2 18 19NLSLINKS_C= 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 25NLSLINKS_pt_BR.ISO8859-1= pt_PT.ISO8859-1 26 27NLSSRCFILES=ee.msg 28.for lang in ${NLS} 29. if exists(${.CURDIR}/nls/${lang}/ee.msg) 30NLSSRCDIR_${lang}= ${.CURDIR}/nls/${lang} 31. else 32NLSSRCDIR_${lang}= ${.CURDIR}/../../contrib/ee 33. endif 34.endfor 35 36.include <bsd.prog.mk> 37