diff options
author | szptvlfn <szptvlfn> | 2014-11-24 21:24:01 +0000 |
---|---|---|
committer | szptvlfn <szptvlfn> | 2014-11-24 21:24:01 +0000 |
commit | ca484da5c189f6b352a86706be81bca7bacb28d8 (patch) | |
tree | 89f3051f4c60d6ec363df7572b97ffcac380b865 /time | |
parent | cac022644b37da26c5f4c61a463a24420e12f78b (diff) | |
download | pkgsrc-ca484da5c189f6b352a86706be81bca7bacb28d8.tar.gz |
Import timezone-olson-0.1.4 as time/hs-timezone-olson.
A parser and renderer for binary Olson timezone files whose format is
specified by the tzfile(5) man page on Unix-like systems. For more
information about this format, see http://www.twinsun.com/tz/tz-link.htm.
Functions are provided for converting the parsed data into TimeZoneSeries
objects from the timezone-series package. On many platforms, binary Olson
timezone files suitable for use with this package are available in the
directory usrshare/zoneinfo and its subdirectories on your computer.
Diffstat (limited to 'time')
-rw-r--r-- | time/hs-timezone-olson/DESCR | 7 | ||||
-rw-r--r-- | time/hs-timezone-olson/Makefile | 13 | ||||
-rw-r--r-- | time/hs-timezone-olson/PLIST | 22 | ||||
-rw-r--r-- | time/hs-timezone-olson/buildlink3.mk | 16 | ||||
-rw-r--r-- | time/hs-timezone-olson/distinfo | 5 |
5 files changed, 63 insertions, 0 deletions
diff --git a/time/hs-timezone-olson/DESCR b/time/hs-timezone-olson/DESCR new file mode 100644 index 00000000000..32f9a3490b4 --- /dev/null +++ b/time/hs-timezone-olson/DESCR @@ -0,0 +1,7 @@ +A parser and renderer for binary Olson timezone files whose format is +specified by the tzfile(5) man page on Unix-like systems. For more +information about this format, see http://www.twinsun.com/tz/tz-link.htm. +Functions are provided for converting the parsed data into TimeZoneSeries +objects from the timezone-series package. On many platforms, binary Olson +timezone files suitable for use with this package are available in the +directory usrshare/zoneinfo and its subdirectories on your computer. diff --git a/time/hs-timezone-olson/Makefile b/time/hs-timezone-olson/Makefile new file mode 100644 index 00000000000..bd90c9916c5 --- /dev/null +++ b/time/hs-timezone-olson/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1 2014/11/24 21:24:01 szptvlfn Exp $ + +DISTNAME= timezone-olson-0.1.4 +CATEGORIES= time + +MAINTAINER= szptvlfn@NetBSD.org +COMMENT= Pure Haskell parser and renderer for binary Olson timezone files +LICENSE= modified-bsd + +.include "../../mk/haskell.mk" +.include "../../devel/hs-extensible-exceptions/buildlink3.mk" +.include "../../time/hs-timezone-series/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/time/hs-timezone-olson/PLIST b/time/hs-timezone-olson/PLIST new file mode 100644 index 00000000000..82b7188088f --- /dev/null +++ b/time/hs-timezone-olson/PLIST @@ -0,0 +1,22 @@ +@comment $NetBSD: PLIST,v 1.1 2014/11/24 21:24:01 szptvlfn Exp $ +lib/timezone-olson-${PKGVERSION}/${HASKELL_VERSION}/Data/Time/LocalTime/TimeZone/Olson.hi +lib/timezone-olson-${PKGVERSION}/${HASKELL_VERSION}/Data/Time/LocalTime/TimeZone/Olson/Parse.hi +lib/timezone-olson-${PKGVERSION}/${HASKELL_VERSION}/Data/Time/LocalTime/TimeZone/Olson/Render.hi +lib/timezone-olson-${PKGVERSION}/${HASKELL_VERSION}/Data/Time/LocalTime/TimeZone/Olson/Types.hi +lib/timezone-olson-${PKGVERSION}/${HASKELL_VERSION}/HStimezone-olson-${PKGVERSION}.o +lib/timezone-olson-${PKGVERSION}/${HASKELL_VERSION}/libHStimezone-olson-${PKGVERSION}.a +lib/timezone-olson-${PKGVERSION}/${HASKELL_VERSION}/package-description +share/doc/timezone-olson-${PKGVERSION}/LICENSE +${PLIST.doc}share/doc/timezone-olson-${PKGVERSION}/html/Data-Time-LocalTime-TimeZone-Olson.html +${PLIST.doc}share/doc/timezone-olson-${PKGVERSION}/html/doc-index.html +${PLIST.doc}share/doc/timezone-olson-${PKGVERSION}/html/frames.html +${PLIST.doc}share/doc/timezone-olson-${PKGVERSION}/html/haddock-util.js +${PLIST.doc}share/doc/timezone-olson-${PKGVERSION}/html/hslogo-16.png +${PLIST.doc}share/doc/timezone-olson-${PKGVERSION}/html/index-frames.html +${PLIST.doc}share/doc/timezone-olson-${PKGVERSION}/html/index.html +${PLIST.doc}share/doc/timezone-olson-${PKGVERSION}/html/mini_Data-Time-LocalTime-TimeZone-Olson.html +${PLIST.doc}share/doc/timezone-olson-${PKGVERSION}/html/minus.gif +${PLIST.doc}share/doc/timezone-olson-${PKGVERSION}/html/ocean.css +${PLIST.doc}share/doc/timezone-olson-${PKGVERSION}/html/plus.gif +${PLIST.doc}share/doc/timezone-olson-${PKGVERSION}/html/synopsis.png +${PLIST.doc}share/doc/timezone-olson-${PKGVERSION}/html/timezone-olson.haddock diff --git a/time/hs-timezone-olson/buildlink3.mk b/time/hs-timezone-olson/buildlink3.mk new file mode 100644 index 00000000000..f400da1c265 --- /dev/null +++ b/time/hs-timezone-olson/buildlink3.mk @@ -0,0 +1,16 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/11/24 21:24:01 szptvlfn Exp $ + +BUILDLINK_TREE+= hs-timezone-olson + +.if !defined(HS_TIMEZONE_OLSON_BUILDLINK3_MK) +HS_TIMEZONE_OLSON_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.hs-timezone-olson+= hs-timezone-olson>=0.1.4 +BUILDLINK_ABI_DEPENDS.hs-timezone-olson+= hs-timezone-olson>=0.1.4 +BUILDLINK_PKGSRCDIR.hs-timezone-olson?= ../../time/hs-timezone-olson + +.include "../../devel/hs-extensible-exceptions/buildlink3.mk" +.include "../../time/hs-timezone-series/buildlink3.mk" +.endif # HS_TIMEZONE_OLSON_BUILDLINK3_MK + +BUILDLINK_TREE+= -hs-timezone-olson diff --git a/time/hs-timezone-olson/distinfo b/time/hs-timezone-olson/distinfo new file mode 100644 index 00000000000..8bd10b350b9 --- /dev/null +++ b/time/hs-timezone-olson/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/11/24 21:24:01 szptvlfn Exp $ + +SHA1 (timezone-olson-0.1.4.tar.gz) = 3bff6c5669f54ed998099eb8b94bb69e4333d8eb +RMD160 (timezone-olson-0.1.4.tar.gz) = d7b9b2e87b7a2de38b95004858aca57a4b21212e +Size (timezone-olson-0.1.4.tar.gz) = 11639 bytes |