diff --git a/astro/jday/Makefile b/astro/jday/Makefile index bc16580c287..9e94dbb0444 100644 --- a/astro/jday/Makefile +++ b/astro/jday/Makefile @@ -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 diff --git a/astro/jday/distinfo b/astro/jday/distinfo index 89392c9106f..2894499c0f5 100644 --- a/astro/jday/distinfo +++ b/astro/jday/distinfo @@ -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 diff --git a/astro/jday/patches/patch-jday_c b/astro/jday/patches/patch-jday_c deleted file mode 100644 index 7d9b4e03e6a..00000000000 --- a/astro/jday/patches/patch-jday_c +++ /dev/null @@ -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 { diff --git a/astro/jday/pkg/DESCR b/astro/jday/pkg/DESCR index d886afcddf7..48e6191864f 100644 --- a/astro/jday/pkg/DESCR +++ b/astro/jday/pkg/DESCR @@ -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. diff --git a/astro/jday/pkg/PFRAG.shared b/astro/jday/pkg/PFRAG.shared new file mode 100644 index 00000000000..3346b652d6c --- /dev/null +++ b/astro/jday/pkg/PFRAG.shared @@ -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} diff --git a/astro/jday/pkg/PLIST b/astro/jday/pkg/PLIST index 742252ed449..5638cadd26b 100644 --- a/astro/jday/pkg/PLIST +++ b/astro/jday/pkg/PLIST @@ -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