1996-09-08 01:27:58 +00:00
|
|
|
TMACOWN?= bin
|
|
|
|
TMACGRP?= bin
|
|
|
|
TMACMODE?= 444
|
|
|
|
TMACDIR?= /usr/share/tmac
|
|
|
|
|
|
|
|
FILES= 0.MT 5.MT 4.MT ms.cov se_ms.cov
|
|
|
|
LOCALE= locale se_locale
|
|
|
|
|
|
|
|
MAN7= groff_mm.7 groff_mmse.7
|
|
|
|
MLINKS= groff_mm.7 mm.7 groff_mmse.7 mmse.7
|
|
|
|
|
|
|
|
MANDEPEND= ${MAN7}
|
|
|
|
CLEANFILES+= ${MANDEPEND}
|
|
|
|
|
1997-03-08 19:28:07 +00:00
|
|
|
beforeinstall:
|
|
|
|
${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
|
|
|
|
${DIST_DIR}/tmac.m ${DESTDIR}${TMACDIR}/
|
|
|
|
${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
|
|
|
|
${DIST_DIR}/tmac.m ${DESTDIR}${TMACDIR}/tmac.mse
|
|
|
|
.for file in ${FILES}
|
|
|
|
${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
|
|
|
|
${DIST_DIR}/mm/${file} ${DESTDIR}${TMACDIR}/mm/
|
|
|
|
.endfor
|
|
|
|
.for locale in ${LOCALE}
|
|
|
|
.if !exists(${locale}) || empty(${locale})
|
|
|
|
${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
|
|
|
|
/dev/null ${DESTDIR}${TMACDIR}/mm/${locale}
|
|
|
|
.endif
|
|
|
|
.endfor
|
1996-09-08 01:27:58 +00:00
|
|
|
|
|
|
|
.include "../Makefile.cfg"
|
|
|
|
.include <bsd.prog.mk>
|