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
|
1994-05-27 12:33:43 +00:00
|
|
|
|
2019-02-20 06:40:52 +00:00
|
|
|
.if ${MK_ICONV} == "yes"
|
|
|
|
CFLAGS+= -DWITH_ICONV
|
|
|
|
.endif
|
|
|
|
|
2018-05-23 16:28:31 +00:00
|
|
|
FILESGROUPS+= CALS
|
|
|
|
CALS= calendars/calendar.all \
|
|
|
|
calendars/calendar.australia \
|
|
|
|
calendars/calendar.birthday \
|
|
|
|
calendars/calendar.brazilian \
|
|
|
|
calendars/calendar.christian \
|
|
|
|
calendars/calendar.computer \
|
|
|
|
calendars/calendar.croatian \
|
|
|
|
calendars/calendar.dutch \
|
|
|
|
calendars/calendar.freebsd \
|
|
|
|
calendars/calendar.french \
|
|
|
|
calendars/calendar.german \
|
|
|
|
calendars/calendar.history \
|
|
|
|
calendars/calendar.holiday \
|
|
|
|
calendars/calendar.hungarian \
|
|
|
|
calendars/calendar.judaic \
|
|
|
|
calendars/calendar.lotr \
|
|
|
|
calendars/calendar.music \
|
|
|
|
calendars/calendar.newzealand \
|
|
|
|
calendars/calendar.russian \
|
|
|
|
calendars/calendar.southafrica \
|
|
|
|
calendars/calendar.ukrainian \
|
|
|
|
calendars/calendar.usholiday \
|
|
|
|
calendars/calendar.world
|
|
|
|
CALSDIR= ${SHAREDIR}/calendar
|
|
|
|
|
|
|
|
CAL_de_AT.ISO_8859-15= calendar.feiertag
|
|
|
|
|
|
|
|
CAL_de_DE.ISO8859-1= calendar.all \
|
|
|
|
calendar.feiertag \
|
|
|
|
calendar.geschichte \
|
|
|
|
calendar.kirche \
|
|
|
|
calendar.literatur \
|
|
|
|
calendar.musik \
|
|
|
|
calendar.wissenschaft
|
|
|
|
|
|
|
|
CAL_fr_FR.ISO8859-1= calendar.all \
|
|
|
|
calendar.fetes \
|
|
|
|
calendar.french \
|
|
|
|
calendar.jferies \
|
|
|
|
calendar.proverbes
|
|
|
|
|
|
|
|
CAL_hr_HR.ISO8859-2= calendar.all \
|
|
|
|
calendar.praznici
|
|
|
|
|
|
|
|
CAL_hu_HU.ISO8859-2= calendar.all \
|
|
|
|
calendar.nevnapok \
|
|
|
|
calendar.unnepek
|
|
|
|
|
|
|
|
CAL_pt_BR.ISO8859-1= calendar.all \
|
|
|
|
calendar.commemorative \
|
|
|
|
calendar.holidays \
|
|
|
|
calendar.mcommemorative
|
|
|
|
|
|
|
|
CAL_pt_BR.UTF-8= calendar.all \
|
|
|
|
calendar.commemorative \
|
|
|
|
calendar.holidays \
|
|
|
|
calendar.mcommemorative
|
|
|
|
|
|
|
|
CAL_ru_RU.KOI8-R= calendar.all \
|
|
|
|
calendar.common \
|
|
|
|
calendar.holiday \
|
|
|
|
calendar.military \
|
|
|
|
calendar.orthodox \
|
|
|
|
calendar.pagan
|
|
|
|
|
|
|
|
CAL_ru_RU.UTF-8= calendar.all \
|
|
|
|
calendar.common \
|
|
|
|
calendar.holiday \
|
|
|
|
calendar.military \
|
|
|
|
calendar.orthodox \
|
|
|
|
calendar.pagan
|
|
|
|
|
|
|
|
CAL_uk_UA.KOI8-U= calendar.all \
|
|
|
|
calendar.holiday \
|
|
|
|
calendar.misc \
|
|
|
|
calendar.orthodox
|
|
|
|
|
1996-02-18 19:29:45 +00:00
|
|
|
.for lang in ${INTER}
|
2018-05-23 16:28:31 +00:00
|
|
|
FILESGROUPS+= CALS_${lang}
|
|
|
|
CALS_${lang}DIR= ${SHAREDIR}/calendar/${lang}
|
|
|
|
.for file in ${CAL_${lang}}
|
|
|
|
CALS_${lang}+= ${file:S@^@calendars/${lang}/@}
|
1996-02-18 19:29:45 +00:00
|
|
|
.endfor
|
2018-05-23 16:28:31 +00:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
|
2001-06-11 02:59:46 +00:00
|
|
|
.for link in ${DE_LINKS}
|
2018-05-23 16:28:31 +00:00
|
|
|
SYMLINKS+= de_DE.ISO8859-1 ${SHAREDIR}/calendar/${link}
|
2001-06-11 02:59:46 +00:00
|
|
|
.endfor
|
2002-05-13 21:30:23 +00:00
|
|
|
.for link in ${FR_LINKS}
|
2018-05-23 16:28:31 +00:00
|
|
|
SYMLINKS+= fr_FR.ISO8859-1 ${SHAREDIR}/calendar/${link}
|
2002-05-13 21:30:23 +00:00
|
|
|
.endfor
|
1994-05-27 12:33:43 +00:00
|
|
|
|
2017-08-02 08:50:42 +00:00
|
|
|
HAS_TESTS=
|
2017-08-02 08:35:51 +00:00
|
|
|
SUBDIR.${MK_TESTS}+= tests
|
2014-03-16 08:04:06 +00:00
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
.include <bsd.prog.mk>
|