core/tzdata/Pkgfile
Juergen Daubert 4af8a40e49 [notify] tzdata: update to 2016a
Note:
-----

Support for accessing posix/ and right/ directly has been dropped to
match upstream. There is no need to set TIMEZONE=posix/xxx as it is the
same as TIMEZONE=xxx in /etc/rc.conf.

For TIMEZONE=right/, you can use TIMEZONE=../zoneinfo-leaps/xxx instead.

See this post for details:
https://mm.icann.org/pipermail/tz/2015-February/022024.html
2016-01-29 15:28:43 +01:00

28 lines
743 B
Plaintext

# Description: Sources for Time Zone and Daylight Saving Time Data
# URL: ftp://ftp.iana.org/tz/code/tz-link.htm
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=tzdata
version=2016a
release=1
source=(http://www.iana.org/time-zones/repository/releases/$name$version.tar.gz
http://www.iana.org/time-zones/repository/releases/tzcode$version.tar.gz)
build() {
make install \
CFLAGS="$CFLAGS" \
DESTDIR=$PKG \
TOPDIR=/usr \
TZDIR=/usr/share/zoneinfo \
ETCDIR=/usr/sbin \
MANDIR=/usr/share/man
# provided by man-pages
rm -r $PKG/usr/share/man/man{5,8}
# move tzselect to /usr/bin
install -d $PKG/usr/bin
mv $PKG/usr/{sbin/tzselect,bin}
}