Update to 1.3. Now includes man page.
This commit is contained in:
parent
ec989dab0b
commit
d465ecc4ff
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2002/12/29 15:11:06 fgsch Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2002/12/30 16:26:17 naddy Exp $
|
||||
|
||||
COMMENT= "convert calendar dates to/from astronomical julian dates"
|
||||
COMMENT= "astronomical julian date calculator"
|
||||
|
||||
DISTNAME= jday-1.2
|
||||
DISTNAME= jday-1.3
|
||||
CATEGORIES= astro
|
||||
HOMEPAGE= http://jday.sourceforge.net/
|
||||
|
||||
@ -14,14 +14,11 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jday/}
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jday/}
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_STYLE=gnu
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jday
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/jday
|
||||
|
||||
NO_REGRESS= Yes
|
||||
do-regress:
|
||||
@cd ${WRKSRC}; ./RunTest
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (jday-1.2.tar.gz) = 33f63d8e7880dc7f5181db280a243c4d
|
||||
RMD160 (jday-1.2.tar.gz) = 2f317b485c4a005145203d6bf0fa87730fb40fca
|
||||
SHA1 (jday-1.2.tar.gz) = 08d0d19a6a1740c5726948c58e31762a94614fe8
|
||||
MD5 (jday-1.3.tar.gz) = 4b6e8e4c9322a50322e0eebf86cb32f4
|
||||
RMD160 (jday-1.3.tar.gz) = 26773f0b741a087a9a2a638ae26ccfcb09b1e4d7
|
||||
SHA1 (jday-1.3.tar.gz) = 21b2992944a811f743528a01b9fd6d9dc50dbc07
|
||||
|
12
astro/jday/patches/patch-jday_c
Normal file
12
astro/jday/patches/patch-jday_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-jday_c,v 1.1 2002/12/30 16:26:17 naddy Exp $
|
||||
--- jday.c.orig Mon Dec 30 17:07:26 2002
|
||||
+++ jday.c Mon Dec 30 17:07:36 2002
|
||||
@@ -122,7 +122,7 @@ char * argv[];
|
||||
if ( day < 1 ) day = 1;
|
||||
case 3:
|
||||
if ( ! strcmp((const char *)argv[1], (const char *) "-d") ) {
|
||||
- if ( 3 != sscanf( argv[2], "%d/%d/%d", & year, & mo, & day ) ) {
|
||||
+ if ( 3 != sscanf( argv[2], "%ld/%d/%d", & year, & mo, & day ) ) {
|
||||
fprintf( stderr, "failed sscanf for ymd\n" );
|
||||
exit (-1);
|
||||
} else {
|
@ -1,9 +1,6 @@
|
||||
The jday binary can be used to convert calendar dates to astronomical
|
||||
julian dates. This number is useful for a variety of purposes.
|
||||
Especially related to calculating elapsed time between instances
|
||||
over large or short periods of time.
|
||||
|
||||
The associated j2d binary can convert julian dates to calendar
|
||||
dates.
|
||||
jday and j2d are command line utilities to convert calendar dates
|
||||
to astronomical julian dates, and julian dates to calendar dates.
|
||||
There is a corresponding library libjday.a which can be used for
|
||||
the same functionality within applications.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
||||
|
@ -1,5 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2000/12/04 02:29:48 naddy Exp $
|
||||
bin/jday
|
||||
@comment $OpenBSD: PLIST,v 1.2 2002/12/30 16:26:17 naddy Exp $
|
||||
bin/dbd
|
||||
bin/j2d
|
||||
share/doc/jday/README
|
||||
@dirrm share/doc/jday
|
||||
bin/jday
|
||||
include/jday.h
|
||||
lib/libjday.a
|
||||
man/man1/jday.1
|
||||
|
Loading…
Reference in New Issue
Block a user