1 .
include <unleashed.mk
>
5 CONTRIB_PATH
= ${SRCTOP}/contrib
/tzcode
6 CONTRIBDIR
= ${SRCTOP}/contrib
/tzdata
8 ZONEINFODIR
= ${SHAREDIR}/zoneinfo
10 # "etcetera" must come before "backward" because "backward" depends on
24 TABFILES
= iso3166.tab \
31 [ -d
${DESTDIR}${ZONEINFODIR} ] || \
32 ${INSTALL} -d
${PROG_INSTALL_OWN} -m
755 ${DESTDIR}${ZONEINFODIR}
33 /usr
/sbin
/zic
-d
${DESTDIR}${ZONEINFODIR} ${SRCFILES
:%=${CONTRIBDIR}/%}
34 ln
-sf .
/US
/Eastern
${DESTDIR}${ZONEINFODIR}/posixrules
36 ${INSTALL} ${COPY} ${PROG_INSTALL_OWN} -m
644 \
37 ${CONTRIBDIR}/${f} ${DESTDIR}${ZONEINFODIR}
40 ${.CURDIR
}/tzfile
.5: ${CONTRIB_PATH}/tzfile
.5
42 -e
's@/usr/local/etc@/usr/share/lib@' \
43 -e
's@newctime(3), @@' \
44 -e
's@newtzset(3), @@' \
48 # FIXME: This is a gross hack to generate a cleaner version of the manpage
49 # in the current directory so that the install target finds it and installs
51 all: ${.CURDIR
}/tzfile
.5