sbin/hammer: Make info command properly handle non HAMMER path
[dragonfly.git] / usr.bin / calendar / Makefile
blob9013008b1fdf61b09a6ea037255856e389d0c8f8
1 # @(#)Makefile 8.1 (Berkeley) 6/6/93
2 # $FreeBSD: src/usr.bin/calendar/Makefile,v 1.12.8.6 2003/04/06 20:04:56 dwmalone Exp $
3 # $DragonFly: src/usr.bin/calendar/Makefile,v 1.6 2007/09/24 21:38:17 pavalos Exp $
5 PROG= calendar
6 SRCS= calendar.c io.c day.c ostern.c paskha.c
7 INTER= de_AT.ISO_8859-15 de_DE.ISO8859-1 fr_FR.ISO8859-1 \
8 hr_HR.ISO8859-2 hu_HU.ISO8859-2 ru_RU.KOI8-R uk_UA.KOI8-U
9 DE_LINKS= de_DE.ISO_8859-1 de_DE.ISO8859-15 de_DE.ISO_8859-15
10 FR_LINKS= fr_FR.ISO8859-15
11 HR_LINKS= hr_HR.ISO_8859-2
12 TEXTMODE?= 444
14 beforeinstall:
15 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
16 ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar
17 .for lang in ${INTER}
18 mkdir -p ${DESTDIR}${SHAREDIR}/calendar/${lang}
19 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
20 ${.CURDIR}/calendars/${lang}/calendar.* \
21 ${DESTDIR}${SHAREDIR}/calendar/${lang}
22 .endfor
23 .for link in ${DE_LINKS}
24 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link}
25 ${LN} -s de_DE.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link}
26 .endfor
27 .for link in ${FR_LINKS}
28 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link}
29 ${LN} -s fr_FR.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link}
30 .endfor
31 .for link in ${HR_LINKS}
32 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link}
33 ${LN} -s hr_HR.ISO8859-2 ${DESTDIR}${SHAREDIR}/calendar/${link}
34 .endfor
36 .include <bsd.prog.mk>