1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1994-09-13 21:54:06 +00:00
|
|
|
|
|
|
|
CLEANFILES+= yearistype
|
|
|
|
|
|
|
|
.if defined(LEAPSECONDS)
|
1995-11-16 02:00:38 +00:00
|
|
|
LEAPFILE= -L leapseconds
|
1994-09-13 21:54:06 +00:00
|
|
|
.else
|
1995-11-16 02:00:38 +00:00
|
|
|
LEAPFILE=
|
1994-09-13 21:54:06 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
TZFILES= africa antarctica asia australasia etcetera europe \
|
2005-08-31 01:33:26 +00:00
|
|
|
factory northamerica southamerica
|
1994-09-13 21:54:06 +00:00
|
|
|
POSIXRULES= America/New_York
|
|
|
|
|
|
|
|
.if defined(OLDTIMEZONES)
|
2005-08-31 01:33:26 +00:00
|
|
|
TZFILES+= backward systemv
|
1994-09-13 21:54:06 +00:00
|
|
|
.endif
|
|
|
|
|
1997-03-09 09:41:44 +00:00
|
|
|
all: yearistype
|
1994-09-13 21:54:06 +00:00
|
|
|
|
1997-03-09 09:41:44 +00:00
|
|
|
beforeinstall:
|
1994-09-13 21:54:06 +00:00
|
|
|
umask 022; cd ${.CURDIR}; \
|
2001-09-11 14:27:11 +00:00
|
|
|
zic -D -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \
|
2004-10-19 20:38:49 +00:00
|
|
|
-u ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
|
|
|
|
${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES}
|
2002-07-29 09:40:17 +00:00
|
|
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
|
1997-03-09 09:41:44 +00:00
|
|
|
${.CURDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/
|
|
|
|
|
1994-05-30 19:09:18 +00:00
|
|
|
.include <bsd.prog.mk>
|