summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-10-21 15:05:05 +0000
committerwiz <wiz@pkgsrc.org>2013-10-21 15:05:05 +0000
commit9069defc0ab045c30513f7bc744273cdf6974672 (patch)
tree411ce0590479088d3aba6643bb7cfe4535cb1c2a /time
parentfdb6951a2f2a68018e99dbbf846d87763c375e54 (diff)
downloadpkgsrc-9069defc0ab045c30513f7bc744273cdf6974672.tar.gz
Import dateutils-0.2.5 as time/dateutils.
Dateutils are a bunch of tools that revolve around fiddling with dates and times in the command line with a strong focus on use cases that arise when dealing with large amounts of financial data. Dateutils commands are prefixed with a `d` but otherwise resemble known unix commands for reasons of intuition. The only exception being `strptime` which is analogous to the libc function of the same name.
Diffstat (limited to 'time')
-rw-r--r--time/dateutils/DESCR8
-rw-r--r--time/dateutils/Makefile20
-rw-r--r--time/dateutils/PLIST37
-rw-r--r--time/dateutils/distinfo5
4 files changed, 70 insertions, 0 deletions
diff --git a/time/dateutils/DESCR b/time/dateutils/DESCR
new file mode 100644
index 00000000000..232499be884
--- /dev/null
+++ b/time/dateutils/DESCR
@@ -0,0 +1,8 @@
+Dateutils are a bunch of tools that revolve around fiddling with
+dates and times in the command line with a strong focus on use
+cases that arise when dealing with large amounts of financial data.
+
+Dateutils commands are prefixed with a `d` but otherwise resemble
+known unix commands for reasons of intuition. The only exception
+being `strptime` which is analogous to the libc function of the
+same name.
diff --git a/time/dateutils/Makefile b/time/dateutils/Makefile
new file mode 100644
index 00000000000..a7aec0e905f
--- /dev/null
+++ b/time/dateutils/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2013/10/21 15:05:05 wiz Exp $
+
+DISTNAME= dateutils-0.2.5
+CATEGORIES= time
+MASTER_SITES= http://cdn.bitbucket.org/hroptatyr/dateutils/downloads/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.fresse.org/dateutils/
+COMMENT= Command line tools for working with dates
+#LICENSE= # TODO: (see mk/license.mk)
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+
+PKGCONFIG_OVERRIDE+= libdut.pc.in
+INFO_FILES= yes
+TEST_TARGET= check
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/dateutils/PLIST b/time/dateutils/PLIST
new file mode 100644
index 00000000000..9661690f1cf
--- /dev/null
+++ b/time/dateutils/PLIST
@@ -0,0 +1,37 @@
+@comment $NetBSD: PLIST,v 1.1 2013/10/21 15:05:05 wiz Exp $
+bin/dadd
+bin/dconv
+bin/ddiff
+bin/dgrep
+bin/dround
+bin/dseq
+bin/dtest
+bin/strptime
+include/dateutils/boops.h
+include/dateutils/date-core-strpf.h
+include/dateutils/date-core.h
+include/dateutils/dt-core-strpf.h
+include/dateutils/dt-core-tz-glue.h
+include/dateutils/dt-core.h
+include/dateutils/generics.h
+include/dateutils/leaps.h
+include/dateutils/leapseconds.def
+include/dateutils/nifty.h
+include/dateutils/strops.h
+include/dateutils/time-core-strpf.h
+include/dateutils/time-core.h
+include/dateutils/token.h
+include/dateutils/tzraw.h
+info/dateutils.info
+lib/libdut.a
+lib/pkgconfig/libdut.pc
+man/man1/dadd.1
+man/man1/dateutils.1
+man/man1/dconv.1
+man/man1/ddiff.1
+man/man1/dgrep.1
+man/man1/dround.1
+man/man1/dseq.1
+man/man1/dtest.1
+man/man1/strptime.1
+share/doc/dateutils/README.md
diff --git a/time/dateutils/distinfo b/time/dateutils/distinfo
new file mode 100644
index 00000000000..7354b09d342
--- /dev/null
+++ b/time/dateutils/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/10/21 15:05:05 wiz Exp $
+
+SHA1 (dateutils-0.2.5.tar.xz) = 47f2ba469daff7586d47473f54a77848b724ba45
+RMD160 (dateutils-0.2.5.tar.xz) = 308bfd5a15392f7cbd3dc1252f070e81c64d5880
+Size (dateutils-0.2.5.tar.xz) = 478180 bytes