1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1994-09-13 21:54:06 +00:00
|
|
|
|
2007-10-08 21:16:38 +00:00
|
|
|
#
|
|
|
|
# HOW TO UPDATE THE ZONEINFO DATA
|
|
|
|
#
|
2008-08-08 04:37:43 +00:00
|
|
|
# With the use of subversion, this is a little bit simpler than the CVS method.
|
2007-10-08 21:16:38 +00:00
|
|
|
#
|
2008-08-08 04:37:43 +00:00
|
|
|
# Import the new sources to the vendor branch:
|
2007-10-08 21:16:38 +00:00
|
|
|
#
|
2008-08-08 04:37:43 +00:00
|
|
|
# $ cd ~/svn/vendor/tzdata/dist
|
|
|
|
# $ tar zxvf /usr/ports/distfile/tzdata2008X.tar.gz
|
|
|
|
# (check with "svn stat" and "svn diff" if it all makes sense)
|
|
|
|
# $ svn commit # Commit message: "Vendor import of tzdata2008X (+details)"
|
2007-10-08 21:16:38 +00:00
|
|
|
#
|
2008-08-08 04:37:43 +00:00
|
|
|
# Tag it
|
2007-10-08 21:16:38 +00:00
|
|
|
#
|
2008-08-08 04:37:43 +00:00
|
|
|
# $ cd ~/svn/vendor/tzdata
|
|
|
|
# $ svn cp svn+ssh://svn.freebsd.org/base/vendor/tzdata/dist \
|
|
|
|
# svn+ssh://svn.freebsd.org/base/vendor/tzdata/tzdata2008X
|
|
|
|
# $ svn update
|
2007-10-08 21:16:38 +00:00
|
|
|
#
|
2008-08-08 04:37:43 +00:00
|
|
|
# Merge-from-vendor
|
2007-10-08 21:16:38 +00:00
|
|
|
#
|
2008-08-08 04:37:43 +00:00
|
|
|
# $ cd ~svn/head/share/zoneinfo
|
|
|
|
# $ svn update
|
|
|
|
# $ svn merge --accept=postpone \
|
|
|
|
# svn+ssh://svn.freebsd.org/base/vendor/tzdata/dist .
|
|
|
|
# $ svn diff --no-diff-deleted \
|
|
|
|
# --old=svn+ssh://svn.freebsd.org/base/vendor/tzdata/dist --new=.
|
|
|
|
# $ svn commit
|
2007-10-08 21:16:38 +00:00
|
|
|
#
|
|
|
|
|
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>
|