update to 2.4 (three years of miscellaneous changes)
This commit is contained in:
parent
8b66d2c5b3
commit
fbe5eb1b1e
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2004/11/21 12:50:33 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2006/11/02 21:30:57 naddy Exp $
|
||||
|
||||
COMMENT= "astronomical julian date calculator"
|
||||
|
||||
DISTNAME= jday-1.3
|
||||
DISTNAME= jday-2.4
|
||||
SHARED_LIBS += jday 0.0 # .2.4
|
||||
CATEGORIES= astro
|
||||
HOMEPAGE= http://jday.sourceforge.net/
|
||||
|
||||
@ -11,13 +12,14 @@ PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= c
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jday/}
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
WANTLIB= c
|
||||
|
||||
do-regress:
|
||||
@cd ${WRKSRC}; ./RunTest
|
||||
SEPARATE_BUILD= simple
|
||||
USE_LIBTOOL= Yes
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
MD5 (jday-1.3.tar.gz) = 4b6e8e4c9322a50322e0eebf86cb32f4
|
||||
RMD160 (jday-1.3.tar.gz) = 26773f0b741a087a9a2a638ae26ccfcb09b1e4d7
|
||||
SHA1 (jday-1.3.tar.gz) = 21b2992944a811f743528a01b9fd6d9dc50dbc07
|
||||
SIZE (jday-1.3.tar.gz) = 211601
|
||||
MD5 (jday-2.4.tar.gz) = 817af56005d1346677271ed2fab63ef5
|
||||
RMD160 (jday-2.4.tar.gz) = f69d7b5f00fc3fc9ebb7fe7fb0d3c0d1dcdc0927
|
||||
SHA1 (jday-2.4.tar.gz) = 46b020ef315eb21b3b0e5192693687ef286cf2e1
|
||||
SIZE (jday-2.4.tar.gz) = 337012
|
||||
|
@ -1,12 +0,0 @@
|
||||
$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,4 +1,4 @@
|
||||
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
|
||||
There is a corresponding library, libjday, which can be used for
|
||||
the same functionality within applications.
|
||||
|
2
astro/jday/pkg/PFRAG.shared
Normal file
2
astro/jday/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1 2006/11/02 21:30:57 naddy Exp $
|
||||
@lib lib/libjday.so.${LIBjday_VERSION}
|
@ -1,7 +1,11 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2004/08/03 11:32:04 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.4 2006/11/02 21:30:57 naddy Exp $
|
||||
%%SHARED%%
|
||||
bin/dbd
|
||||
bin/j2d
|
||||
bin/jday
|
||||
include/jday.h
|
||||
lib/libjday.a
|
||||
lib/libjday.la
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/jday.pc
|
||||
@man man/man1/jday.1
|
||||
|
Loading…
Reference in New Issue
Block a user