aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--astro/Makefile1
-rw-r--r--astro/jday/Makefile23
-rw-r--r--astro/jday/distinfo1
-rw-r--r--astro/jday/pkg-comment1
-rw-r--r--astro/jday/pkg-descr9
-rw-r--r--astro/jday/pkg-plist4
6 files changed, 39 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile
index 69bfac31ad79..2383cc09c697 100644
--- a/astro/Makefile
+++ b/astro/Makefile
@@ -4,6 +4,7 @@
SUBDIR += dgpsip
SUBDIR += ephem
SUBDIR += glunarclock
+ SUBDIR += jday
SUBDIR += luna
SUBDIR += openuniverse
SUBDIR += p5-Astro-MoonPhase
diff --git a/astro/jday/Makefile b/astro/jday/Makefile
new file mode 100644
index 000000000000..9a1c5eeac841
--- /dev/null
+++ b/astro/jday/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: jday
+# Date created: 2000-11-27
+# Whom: Christian Weisgerber <naddy@mips.inka.de>
+#
+# $FreeBSD$
+
+PORTNAME= jday
+PORTVERSION= 1.2
+CATEGORIES= astro
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= jday
+
+MAINTAINER= naddy@mips.inka.de
+
+GNU_CONFIGURE= yes
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/jday
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/jday
+.endif
+
+.include <bsd.port.mk>
diff --git a/astro/jday/distinfo b/astro/jday/distinfo
new file mode 100644
index 000000000000..547fd0e1c9db
--- /dev/null
+++ b/astro/jday/distinfo
@@ -0,0 +1 @@
+MD5 (jday-1.2.tar.gz) = 33f63d8e7880dc7f5181db280a243c4d
diff --git a/astro/jday/pkg-comment b/astro/jday/pkg-comment
new file mode 100644
index 000000000000..dde26c632961
--- /dev/null
+++ b/astro/jday/pkg-comment
@@ -0,0 +1 @@
+Convert calendar dates to and from astronomical julian dates
diff --git a/astro/jday/pkg-descr b/astro/jday/pkg-descr
new file mode 100644
index 000000000000..ad63a46cf565
--- /dev/null
+++ b/astro/jday/pkg-descr
@@ -0,0 +1,9 @@
+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.
+
+WWW: http://jday.sourceforge.net/
diff --git a/astro/jday/pkg-plist b/astro/jday/pkg-plist
new file mode 100644
index 000000000000..0687282f5cc5
--- /dev/null
+++ b/astro/jday/pkg-plist
@@ -0,0 +1,4 @@
+bin/jday
+bin/j2d
+%%PORTDOCS%%share/doc/jday/README
+%%PORTDOCS%%@dirrm share/doc/jday