1# @(#)Makefile 8.1 (Berkeley) 6/6/93 2# $FreeBSD$ 3 4PROG= calendar 5SRCS= calendar.c locale.c events.c dates.c parsedata.c io.c day.c \ 6 ostern.c paskha.c pom.c sunpos.c 7DPADD= ${LIBM} 8LDADD= -lm 9INTER= de_AT.ISO_8859-15 de_DE.ISO8859-1 fr_FR.ISO8859-1 \ 10 hr_HR.ISO8859-2 hu_HU.ISO8859-2 pt_BR.ISO8859-1 \ 11 pt_BR.UTF-8 ru_RU.KOI8-R uk_UA.KOI8-U 12DE_LINKS= de_DE.ISO8859-15 13FR_LINKS= fr_FR.ISO8859-15 14TEXTMODE?= 444 15 16beforeinstall: 17 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ 18 ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar 19.for lang in ${INTER} 20 mkdir -p ${DESTDIR}${SHAREDIR}/calendar/${lang} 21 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ 22 ${.CURDIR}/calendars/${lang}/calendar.* \ 23 ${DESTDIR}${SHAREDIR}/calendar/${lang} 24.endfor 25.for link in ${DE_LINKS} 26 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 27 ln -s de_DE.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link} 28.endfor 29.for link in ${FR_LINKS} 30 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 31 ln -s fr_FR.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link} 32.endfor 33 34.include <bsd.prog.mk> 35