1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/usr.bin/ee/Makefile

43 lines
1.0 KiB
Makefile
Raw Normal View History

# $FreeBSD$
CFLAGS+= -DCAP -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \
-DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DSLCT_HDR
PROG= ee
CFLAGS+=-Wall
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
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 \
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
FILES= ${LANGS:S/$/.ee.cat/}
CLEANFILES+= ${FILES}
all: ${FILES}
.for lang in ${LANGS}
${lang}.ee.cat: ${.CURDIR}/nls/${lang}/ee.msg
gencat -new ${.TARGET} ${.ALLSRC}
.endfor
beforeinstall:
.for lang in ${LANGS}
1997-04-04 15:09:42 +00:00
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${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
.include <bsd.prog.mk>