freebsd-dev/usr.bin/calendar/Makefile

40 lines
1.2 KiB
Makefile
Raw Normal View History

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
.include <src.opts.mk>
1994-05-27 12:33:43 +00:00
PROG= calendar
SRCS= calendar.c locale.c events.c dates.c parsedata.c io.c day.c \
ostern.c paskha.c pom.c sunpos.c
LIBADD= m
INTER= de_AT.ISO_8859-15 de_DE.ISO8859-1 fr_FR.ISO8859-1 \
hr_HR.ISO8859-2 hu_HU.ISO8859-2 pt_BR.ISO8859-1 \
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
FR_LINKS= fr_FR.ISO8859-15
TEXTMODE?= 444
1994-05-27 12:33:43 +00:00
beforeinstall:
${INSTALL} ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar
.for lang in ${INTER}
${INSTALL} ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
2001-11-04 23:20:52 +00:00
${.CURDIR}/calendars/${lang}/calendar.* \
${DESTDIR}${SHAREDIR}/calendar/${lang}
.endfor
2001-06-11 02:59:46 +00:00
.for link in ${DE_LINKS}
rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link}
${INSTALL} ${TAG_ARGS} -l s de_DE.ISO8859-1 \
${DESTDIR}${SHAREDIR}/calendar/${link}
2001-06-11 02:59:46 +00:00
.endfor
.for link in ${FR_LINKS}
rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link}
${INSTALL} ${TAG_ARGS} -l s fr_FR.ISO8859-1 \
${DESTDIR}${SHAREDIR}/calendar/${link}
.endfor
1994-05-27 12:33:43 +00:00
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
1994-05-27 12:33:43 +00:00
.include <bsd.prog.mk>