pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/jday Import of jday-1.3 -- utilities and library ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d6f6e356ae43
branches:  trunk
changeset: 465968:d6f6e356ae43
user:      wennmach <wennmach%pkgsrc.org@localhost>
date:      Fri Jan 09 13:40:53 2004 +0000

description:
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.

diffstat:

 time/jday/DESCR    |  11 +++++++++++
 time/jday/Makefile |  30 ++++++++++++++++++++++++++++++
 time/jday/PLIST    |  15 +++++++++++++++
 time/jday/distinfo |   4 ++++
 4 files changed, 60 insertions(+), 0 deletions(-)

diffs (76 lines):

diff -r 5fb853e9df64 -r d6f6e356ae43 time/jday/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/jday/DESCR   Fri Jan 09 13:40:53 2004 +0000
@@ -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 -r 5fb853e9df64 -r d6f6e356ae43 time/jday/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/jday/Makefile        Fri Jan 09 13:40:53 2004 +0000
@@ -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 <davids%idiom.com@localhost>
+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 -r 5fb853e9df64 -r d6f6e356ae43 time/jday/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/jday/PLIST   Fri Jan 09 13:40:53 2004 +0000
@@ -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 -r 5fb853e9df64 -r d6f6e356ae43 time/jday/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/jday/distinfo        Fri Jan 09 13:40:53 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index