1994-05-27 12:33:43 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
2000-05-04 11:28:55 +00:00
|
|
|
# $FreeBSD$
|
1994-05-27 12:33:43 +00:00
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2014-03-16 08:04:06 +00:00
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
PROG= calendar
|
2010-03-29 06:49:20 +00:00
|
|
|
SRCS= calendar.c locale.c events.c dates.c parsedata.c io.c day.c \
|
2015-03-04 20:04:23 +00:00
|
|
|
ostern.c paskha.c pom.c sunpos.c
|
2014-11-25 14:29:10 +00:00
|
|
|
LIBADD= m
|
2004-06-04 11:30:52 +00:00
|
|
|
INTER= de_AT.ISO_8859-15 de_DE.ISO8859-1 fr_FR.ISO8859-1 \
|
2012-02-23 17:47:48 +00:00
|
|
|
hr_HR.ISO8859-2 hu_HU.ISO8859-2 pt_BR.ISO8859-1 \
|
2013-08-16 07:02:17 +00:00
|
|
|
pt_BR.UTF-8 ru_RU.KOI8-R ru_RU.UTF-8 uk_UA.KOI8-U
|
2003-06-10 01:54:10 +00:00
|
|
|
DE_LINKS= de_DE.ISO8859-15
|
2002-05-13 21:30:23 +00:00
|
|
|
FR_LINKS= fr_FR.ISO8859-15
|
1996-01-29 00:31:29 +00:00
|
|
|
TEXTMODE?= 444
|
1994-05-27 12:33:43 +00:00
|
|
|
|
|
|
|
beforeinstall:
|
2002-07-29 09:40:17 +00:00
|
|
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
|
1996-04-02 22:26:18 +00:00
|
|
|
${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar
|
1996-02-18 19:29:45 +00:00
|
|
|
.for lang in ${INTER}
|
2002-07-29 09:40:17 +00:00
|
|
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
|
2001-11-04 23:20:52 +00:00
|
|
|
${.CURDIR}/calendars/${lang}/calendar.* \
|
2002-06-13 21:21:59 +00:00
|
|
|
${DESTDIR}${SHAREDIR}/calendar/${lang}
|
1996-02-18 19:29:45 +00:00
|
|
|
.endfor
|
2001-06-11 02:59:46 +00:00
|
|
|
.for link in ${DE_LINKS}
|
|
|
|
rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link}
|
|
|
|
ln -s de_DE.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link}
|
|
|
|
.endfor
|
2002-05-13 21:30:23 +00:00
|
|
|
.for link in ${FR_LINKS}
|
|
|
|
rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link}
|
|
|
|
ln -s fr_FR.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link}
|
|
|
|
.endfor
|
1994-05-27 12:33:43 +00:00
|
|
|
|
2014-03-16 08:04:06 +00:00
|
|
|
.if ${MK_TESTS} != "no"
|
|
|
|
SUBDIR+= tests
|
|
|
|
.endif
|
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
.include <bsd.prog.mk>
|