1# $FreeBSD$ 2 3# 4# HOW TO UPDATE THE ZONEINFO DATA 5# 6# With the use of subversion, this is a little bit simpler than the CVS method. 7# 8# Import the new sources to the vendor branch: 9# 10# $ cd ~/svn/vendor/tzdata/dist 11# $ tar zxvf /usr/ports/distfile/tzdata2008X.tar.gz 12# (check with "svn stat" and "svn diff" if it all makes sense) 13# $ svn commit # Commit message: "Vendor import of tzdata2008X (+details)" 14# 15# Tag it 16# 17# $ cd ~/svn/vendor/tzdata 18# $ svn cp svn+ssh://svn.freebsd.org/base/vendor/tzdata/dist \ 19# svn+ssh://svn.freebsd.org/base/vendor/tzdata/tzdata2008X 20# $ svn update # Commit message: "Tag of tzdata2008X" 21# 22# Merge-from-vendor 23# 24# $ cd ~/svn/head/share/zoneinfo 25# $ svn update 26# $ svn merge -c X --accept=postpone \ 27# svn+ssh://svn.freebsd.org/base/vendor/tzdata/dist . 28# $ svn update # Commit message: "MFV of tzdata2008X" 29# 30 31CLEANFILES+= yearistype 32 33.if defined(LEAPSECONDS) 34LEAPFILE= -L leapseconds 35.else 36LEAPFILE= 37.endif 38 39TZFILES= africa antarctica asia australasia etcetera europe \ 40 factory northamerica southamerica 41POSIXRULES= America/New_York 42 43.if defined(OLDTIMEZONES) 44TZFILES+= backward systemv 45.endif 46 47all: yearistype 48 49beforeinstall: 50 umask 022; cd ${.CURDIR}; \ 51 zic -D -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \ 52 -u ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ 53 ${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES} 54 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ 55 ${.CURDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/ 56 57.include <bsd.prog.mk> 58