From 1e7932338f65a60391d02df72b3bf3d631362930 Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Sat, 28 Oct 2017 12:17:49 +0000 Subject: [PATCH] astro/sunwait: create port Sunwait is a small C program for calculating sunrise and sunset, as well as civil, nautical, and astronomical twilights. It has features that make it useful for home automation tasks. WWW: http://www.risacher.org/sunwait/ --- astro/Makefile | 1 + astro/sunwait/Makefile | 20 ++++++++++++++++++++ astro/sunwait/distinfo | 3 +++ astro/sunwait/pkg-descr | 5 +++++ 4 files changed, 29 insertions(+) create mode 100644 astro/sunwait/Makefile create mode 100644 astro/sunwait/distinfo create mode 100644 astro/sunwait/pkg-descr diff --git a/astro/Makefile b/astro/Makefile index 32cedf71145d..a3d314858f14 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -105,6 +105,7 @@ SUBDIR += stellarium SUBDIR += stellarium-qt4 SUBDIR += sunclock + SUBDIR += sunwait SUBDIR += swe SUBDIR += tclgeomap SUBDIR += tkgeomap diff --git a/astro/sunwait/Makefile b/astro/sunwait/Makefile new file mode 100644 index 000000000000..dc175cfea660 --- /dev/null +++ b/astro/sunwait/Makefile @@ -0,0 +1,20 @@ +# $FreeBSD$ + +PORTNAME= sunwait +PORTVERSION= 20041208 +CATEGORIES= astro +MASTER_SITES= http://www.risacher.org/sunwait/ + +MAINTAINER= swills@FreeBSD.org +COMMENT= Calculate sunrise and sunset + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +ALL_TARGET= ${PORTNAME} +PLIST_FILES= bin/${PORTNAME} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +.include diff --git a/astro/sunwait/distinfo b/astro/sunwait/distinfo new file mode 100644 index 000000000000..ecaf5b284353 --- /dev/null +++ b/astro/sunwait/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1509192521 +SHA256 (sunwait-20041208.tar.gz) = 46ecd64142e0c7c2decac8df241b78ccae0d1b323929fb4d61aa1acc16a9ff96 +SIZE (sunwait-20041208.tar.gz) = 15865 diff --git a/astro/sunwait/pkg-descr b/astro/sunwait/pkg-descr new file mode 100644 index 000000000000..7862c10699ed --- /dev/null +++ b/astro/sunwait/pkg-descr @@ -0,0 +1,5 @@ +Sunwait is a small C program for calculating sunrise and sunset, as well as +civil, nautical, and astronomical twilights. It has features that make it +useful for home automation tasks. + +WWW: http://www.risacher.org/sunwait/