summaryrefslogtreecommitdiffstats
path: root/misc/zoneinfo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/zoneinfo/Makefile')
-rw-r--r--misc/zoneinfo/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/misc/zoneinfo/Makefile b/misc/zoneinfo/Makefile
new file mode 100644
index 0000000..09a93a4
--- /dev/null
+++ b/misc/zoneinfo/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: zoneinfo
+# Date created: 27 March 2006
+# Whom: Edwin Groothuis <edwin@mavetju.org>
+#
+# $FreeBSD$
+
+PORTNAME= zoneinfo
+DISTVERSION= 2006b
+CATEGORIES= misc
+MASTER_SITES= ftp://elsie.nci.nih.gov/pub/
+DISTNAME= tzdata${DISTVERSION}
+
+MAINTAINER= edwin@mavetju.org
+COMMENT= Updated timezone definitions
+
+WRKSRC= ${WRKDIR}
+PREFIX= /usr
+
+USE_PERL5_BUILD=yes
+
+TZFILES= africa antarctica asia australasia etcetera europe \
+ factory northamerica southamerica systemv
+POSIXRULES= America/New_York
+
+do-build:
+ umask 022; \
+ cd ${WRKSRC}; \
+ zic -d ${WRKSRC}/zoneinfo -p ${POSIXRULES} -m ${NOBINMODE} \
+ ${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES}
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/zoneinfo
+ ${CP} -R -p ${WRKSRC}/zoneinfo/ ${PREFIX}/share/zoneinfo
+ ${INSTALL_DATA} ${WRKSRC}/zone.tab ${PREFIX}/share/zoneinfo
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud