aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-01-02 06:06:00 +0800
committernaddy <naddy@FreeBSD.org>2003-01-02 06:06:00 +0800
commit74b7f23d4f4f7c7bd5afb2cd71963637d21085f3 (patch)
tree2c1904170f5a461ebe3440ab0cc85efa3f1edfca /astro
parent64288f013a3a7a1e0712a3feb5febd3f1e2cb770 (diff)
downloadfreebsd-ports-graphics-74b7f23d4f4f7c7bd5afb2cd71963637d21085f3.tar.gz
freebsd-ports-graphics-74b7f23d4f4f7c7bd5afb2cd71963637d21085f3.tar.zst
freebsd-ports-graphics-74b7f23d4f4f7c7bd5afb2cd71963637d21085f3.zip
Update to 1.3. Now includes a man page.
Diffstat (limited to 'astro')
-rw-r--r--astro/jday/Makefile8
-rw-r--r--astro/jday/distinfo2
-rw-r--r--astro/jday/files/patch-jday.c14
-rw-r--r--astro/jday/pkg-comment2
-rw-r--r--astro/jday/pkg-descr11
-rw-r--r--astro/jday/pkg-plist8
6 files changed, 27 insertions, 18 deletions
diff --git a/astro/jday/Makefile b/astro/jday/Makefile
index 6203f0ca000..30a95d9ccd6 100644
--- a/astro/jday/Makefile
+++ b/astro/jday/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= jday
-PORTVERSION= 1.2
+PORTVERSION= 1.3
CATEGORIES= astro
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= jday
@@ -14,10 +14,6 @@ MAINTAINER= naddy@FreeBSD.org
GNU_CONFIGURE= yes
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/jday
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/jday
-.endif
+MAN1= jday.1
.include <bsd.port.mk>
diff --git a/astro/jday/distinfo b/astro/jday/distinfo
index 547fd0e1c9d..6793e17ab6c 100644
--- a/astro/jday/distinfo
+++ b/astro/jday/distinfo
@@ -1 +1 @@
-MD5 (jday-1.2.tar.gz) = 33f63d8e7880dc7f5181db280a243c4d
+MD5 (jday-1.3.tar.gz) = 4b6e8e4c9322a50322e0eebf86cb32f4
diff --git a/astro/jday/files/patch-jday.c b/astro/jday/files/patch-jday.c
new file mode 100644
index 00000000000..4b710b6776b
--- /dev/null
+++ b/astro/jday/files/patch-jday.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- jday.c.orig Mon Dec 30 16:49:30 2002
++++ jday.c Mon Dec 30 16:49:44 2002
+@@ -122,7 +122,7 @@
+ 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-comment b/astro/jday/pkg-comment
index dde26c63296..3f654ebddce 100644
--- a/astro/jday/pkg-comment
+++ b/astro/jday/pkg-comment
@@ -1 +1 @@
-Convert calendar dates to and from astronomical julian dates
+Astronomical julian date calculator
diff --git a/astro/jday/pkg-descr b/astro/jday/pkg-descr
index 6fd18d7a6f8..bdb5a63f726 100644
--- a/astro/jday/pkg-descr
+++ b/astro/jday/pkg-descr
@@ -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: http://jday.sourceforge.net/
diff --git a/astro/jday/pkg-plist b/astro/jday/pkg-plist
index 0687282f5cc..af7db0a3a91 100644
--- a/astro/jday/pkg-plist
+++ b/astro/jday/pkg-plist
@@ -1,4 +1,6 @@
-bin/jday
+@comment $FreeBSD$
+bin/dbd
bin/j2d
-%%PORTDOCS%%share/doc/jday/README
-%%PORTDOCS%%@dirrm share/doc/jday
+bin/jday
+include/jday.h
+lib/libjday.a