Makefile revision 264996
11590Srgrimes# @(#)Makefile 8.1 (Berkeley) 6/6/93 259945Sphantom# $FreeBSD: stable/10/usr.bin/calendar/Makefile 264996 2014-04-27 01:15:10Z jmmv $ 31590Srgrimes 4264996Sjmmv.include <bsd.own.mk> 5264996Sjmmv 61590SrgrimesPROG= calendar 7205821SedwinSRCS= calendar.c locale.c events.c dates.c parsedata.c io.c day.c \ 8255715Sdb ostern.c paskha.c pom.c sunpos.c calcpp.c 9215836SuqsDPADD= ${LIBM} 10205821SedwinLDADD= -lm 11130066SjosefINTER= de_AT.ISO_8859-15 de_DE.ISO8859-1 fr_FR.ISO8859-1 \ 12232052Sosa hr_HR.ISO8859-2 hu_HU.ISO8859-2 pt_BR.ISO8859-1 \ 13254400Sglebius pt_BR.UTF-8 ru_RU.KOI8-R ru_RU.UTF-8 uk_UA.KOI8-U 14116135SacheDE_LINKS= de_DE.ISO8859-15 1596546SdwmaloneFR_LINKS= fr_FR.ISO8859-15 1613684SwoschTEXTMODE?= 444 171590Srgrimes 181590Srgrimesbeforeinstall: 19100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ 2015008Sjdp ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar 2114147Swosch.for lang in ${INTER} 2298182Sgrog mkdir -p ${DESTDIR}${SHAREDIR}/calendar/${lang} 23100872Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ 2486053Sdd ${.CURDIR}/calendars/${lang}/calendar.* \ 2598182Sgrog ${DESTDIR}${SHAREDIR}/calendar/${lang} 2614147Swosch.endfor 2778046Sache.for link in ${DE_LINKS} 2878046Sache rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 2978046Sache ln -s de_DE.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link} 3078046Sache.endfor 3196546Sdwmalone.for link in ${FR_LINKS} 3296546Sdwmalone rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 3396546Sdwmalone ln -s fr_FR.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link} 3496546Sdwmalone.endfor 351590Srgrimes 36264996Sjmmv.if ${MK_TESTS} != "no" 37264996SjmmvSUBDIR+= tests 38264996Sjmmv.endif 39264996Sjmmv 401590Srgrimes.include <bsd.prog.mk> 41