1997-12-17 12:04:53 +00:00
|
|
|
TMACOWN?= ${BINOWN}
|
|
|
|
TMACGRP?= ${BINGRP}
|
|
|
|
TMACMODE?= ${NOBINMODE}
|
1996-09-08 01:27:58 +00:00
|
|
|
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>
|