From 98d35016cfccf9a95f4826ead2ce65a7536c7842 Mon Sep 17 00:00:00 2001 From: wennmach Date: Fri, 9 Jan 2004 13:40:53 +0000 Subject: Import of jday-1.3 -- utilities and library for conversion between calendar and Julian dates. Submitted in PR pkg/24027 by David Simas, with some changes by myself. --- time/jday/DESCR | 11 +++++++++++ time/jday/Makefile | 30 ++++++++++++++++++++++++++++++ time/jday/PLIST | 15 +++++++++++++++ time/jday/distinfo | 4 ++++ 4 files changed, 60 insertions(+) create mode 100644 time/jday/DESCR create mode 100644 time/jday/Makefile create mode 100644 time/jday/PLIST create mode 100644 time/jday/distinfo (limited to 'time') diff --git a/time/jday/DESCR b/time/jday/DESCR new file mode 100644 index 00000000000..2592b07d5a7 --- /dev/null +++ b/time/jday/DESCR @@ -0,0 +1,11 @@ +Utilities to convert between calendar dates and Julian dates: + + jday - calendar date to Julian date + j2d - Julian date to calendar date + dbd - calculate days between dates + +Quite useful in timing situations where you need elapsed time between +dates. + +This package also includes a library 'libjday.a' for incorporating +caledar-Julian date conversions in applications. diff --git a/time/jday/Makefile b/time/jday/Makefile new file mode 100644 index 00000000000..dca1a77af10 --- /dev/null +++ b/time/jday/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/01/09 13:40:53 wennmach Exp $ +# + +DISTNAME= jday-1.3 +CATEGORIES= time +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jday/} + +MAINTAINER= David Simas +HOMEPAGE= http://jday.sourceforge.net/ +COMMENT= Julian date calculator + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool + +do-test: + @(cd ${WRKSRC} && ./RunTest) + @(cd ${WRKSRC} && ./Testdbd) + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/jday + ${INSTALL_DATA} ${WRKSRC}/CalDate.inc ${PREFIX}/share/jday + ${INSTALL_DATA} ${WRKSRC}/CalDate.pm ${PREFIX}/share/jday + ${INSTALL_DATA} ${WRKSRC}/J2D.pl ${PREFIX}/share/jday + ${INSTALL_DATA} ${WRKSRC}/Jday.php ${PREFIX}/share/jday + ${INSTALL_DATA} ${WRKSRC}/Jday.pl ${PREFIX}/share/jday + ${INSTALL_DATA} ${WRKSRC}/dbd.awk ${PREFIX}/share/jday + ${INSTALL_DATA} ${WRKSRC}/jday.awk ${PREFIX}/share/jday + +.include "../../mk/bsd.pkg.mk" diff --git a/time/jday/PLIST b/time/jday/PLIST new file mode 100644 index 00000000000..77ffae736fa --- /dev/null +++ b/time/jday/PLIST @@ -0,0 +1,15 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/09 13:40:53 wennmach Exp $ +bin/dbd +bin/j2d +bin/jday +include/jday.h +lib/libjday.a +man/man1/jday.1 +share/jday/CalDate.inc +share/jday/CalDate.pm +share/jday/J2D.pl +share/jday/Jday.php +share/jday/Jday.pl +share/jday/dbd.awk +share/jday/jday.awk +@dirrm share/jday diff --git a/time/jday/distinfo b/time/jday/distinfo new file mode 100644 index 00000000000..c836c90484e --- /dev/null +++ b/time/jday/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/01/09 13:40:53 wennmach Exp $ + +SHA1 (jday-1.3.tar.gz) = 21b2992944a811f743528a01b9fd6d9dc50dbc07 +Size (jday-1.3.tar.gz) = 211601 bytes -- cgit v1.2.3