Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 May 2026 16:44:39 +0000
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0b427a8ba6d7 - main - astro/mymoon: Remove expired port
Message-ID:  <69f8ccf7.239e2.79611f53@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0b427a8ba6d716b36db42fb75716d710a9709ff4

commit 0b427a8ba6d716b36db42fb75716d710a9709ff4
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2026-05-04 16:44:24 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2026-05-04 16:44:24 +0000

    astro/mymoon: Remove expired port
    
    2026-05-01 astro/mymoon: mastersite disappeared
---
 MOVED                                |  1 +
 astro/Makefile                       |  1 -
 astro/mymoon/Makefile                | 27 --------------------------
 astro/mymoon/distinfo                |  2 --
 astro/mymoon/files/patch-Makefile.in | 11 -----------
 astro/mymoon/files/patch-configure   | 37 ------------------------------------
 astro/mymoon/files/patch-grapher.h   | 26 -------------------------
 astro/mymoon/files/patch-mymoon.c    | 36 -----------------------------------
 astro/mymoon/pkg-descr               |  7 -------
 9 files changed, 1 insertion(+), 147 deletions(-)

diff --git a/MOVED b/MOVED
index 18adf0502dea..c4d1b910d017 100644
--- a/MOVED
+++ b/MOVED
@@ -5270,3 +5270,4 @@ lang/ruby32||2026-05-04|Has expired: Please migrate to newer version. Ruby 3.2 i
 lang/ghc92||2026-05-04|Has expired: Old version
 math/xgraph||2026-05-04|Has expired: Obsolete software, unmaintained upstream
 dns/samba-nsupdate||2026-05-04|Has expired: dns/samba-nsupdate has been abandoned for many years; use dns/bind-tools for DNS updates with GSS-TSIG
+astro/mymoon||2026-05-04|Has expired: mastersite disappeared
diff --git a/astro/Makefile b/astro/Makefile
index 48716a987a98..baa751653a78 100644
--- a/astro/Makefile
+++ b/astro/Makefile
@@ -40,7 +40,6 @@
     SUBDIR += merkaartor
     SUBDIR += mkgmap
     SUBDIR += mkgmap-splitter
-    SUBDIR += mymoon
     SUBDIR += nightfall
     SUBDIR += opencpn
     SUBDIR += openuniverse
diff --git a/astro/mymoon/Makefile b/astro/mymoon/Makefile
deleted file mode 100644
index 7aee6095ce2c..000000000000
--- a/astro/mymoon/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-PORTNAME=	mymoon
-DISTVERSION=	1.2a
-PORTREVISION=	5
-CATEGORIES=	astro
-MASTER_SITES=	http://makemebad.net/geek/codes/${PORTNAME}/ \
-		LOCAL/krion
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Show latitude and longitude of the moon
-
-BROKEN=		tries to download a tar file from a nonworking website
-DEPRECATED=	mastersite disappeared
-EXPIRATION_DATE=	2026-05-01
-
-LIB_DEPENDS=	libnova.so:astro/libnova
-
-WRKSRC=		${WRKDIR}/${PORTNAME}
-
-GNU_CONFIGURE=	yes
-USES=		gmake ncurses
-
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
-PLIST_FILES=	bin/mymoon
-
-.include <bsd.port.mk>
diff --git a/astro/mymoon/distinfo b/astro/mymoon/distinfo
deleted file mode 100644
index f2e1276412f6..000000000000
--- a/astro/mymoon/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (mymoon-1.2a.tar.gz) = 985adc29dfb086ad94d690c6e767a5180a541c57272030ddef107970ec78e9f8
-SIZE (mymoon-1.2a.tar.gz) = 31847
diff --git a/astro/mymoon/files/patch-Makefile.in b/astro/mymoon/files/patch-Makefile.in
deleted file mode 100644
index e36a0e076273..000000000000
--- a/astro/mymoon/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig	2003-05-23 20:09:56 UTC
-+++ Makefile.in
-@@ -61,7 +61,7 @@ POST_UNINSTALL = :
- bin_PROGRAMS = mymoon
- 
- mymoon_SOURCES = mymoon.c
--mymoon_LDFLAGS = -lnova -lcurses 
-+mymoon_LDFLAGS = -lnova -lncurses 
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_CLEAN_FILES = 
- PROGRAMS =  $(bin_PROGRAMS)
diff --git a/astro/mymoon/files/patch-configure b/astro/mymoon/files/patch-configure
deleted file mode 100644
index 0efe65afcc50..000000000000
--- a/astro/mymoon/files/patch-configure
+++ /dev/null
@@ -1,37 +0,0 @@
---- configure.orig	2003-05-23 20:09:38 UTC
-+++ configure
-@@ -849,7 +849,7 @@ done
- 
- PACKAGE=mymoon
- VERSION=1.0
--for ac_hdr in ncurses.h curses.h libnova.h math.h
-+for ac_hdr in ncurses.h curses.h libnova/libnova.h math.h
- do
- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-@@ -890,9 +890,9 @@ fi
- done
- 
- LNOVA_LIB_NAME=""
--echo $ac_n "checking for get_ln_version in -lnova""... $ac_c" 1>&6
--echo "configure:895: checking for get_ln_version in -lnova" >&5
--ac_lib_var=`echo nova'_'get_ln_version | sed 'y%./+-%__p_%'`
-+echo $ac_n "checking for ln_get_version in -lnova""... $ac_c" 1>&6
-+echo "configure:895: checking for ln_get_version in -lnova" >&5
-+ac_lib_var=`echo nova'_'ln_get_version | sed 'y%./+-%__p_%'`
- if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
-   echo $ac_n "(cached) $ac_c" 1>&6
- else
-@@ -904,10 +904,10 @@ cat > conftest.$ac_ext <<EOF
- /* Override any gcc2 internal prototype to avoid an error.  */
- /* We use char because int might match the return type of a gcc2
-     builtin and then its argument prototype would still apply.  */
--char get_ln_version();
-+char ln_get_version();
- 
- int main() {
--get_ln_version()
-+ln_get_version()
- ; return 0; }
- EOF
- if { (eval echo configure:914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
diff --git a/astro/mymoon/files/patch-grapher.h b/astro/mymoon/files/patch-grapher.h
deleted file mode 100644
index de59606dcb68..000000000000
--- a/astro/mymoon/files/patch-grapher.h
+++ /dev/null
@@ -1,26 +0,0 @@
---- grapher.h.orig	2003-07-16 11:24:46 UTC
-+++ grapher.h
-@@ -13,15 +13,14 @@ memset(&arrow, 0, sizeof(arrow));
- for (z=0;z<=progress;z++) {arrow[z]=bar;}for (k=z;k<=max/4;k++) {arrow[k]=empty;}
- 
- mvprintw(row/4,0,  
--"
--        Moon's situation at: %d/%d/%d %d:%d:%d
--        Age: +- %d days
--        Rise: %d/%d/%d %d:%d:%d
--        Set: %d/%d/%d %d:%d:%d
--        Illuminated: %.4f%%  
--        Moon->Earth distance: %.3f Km
--        Distance meter: %s (%d%%)
--",
-+        "Moon's situation at: %02d/%02d/%02d %02d:%02d:%02d\n"
-+        "Age: +- %d days\n"
-+        "Rise: %02d/%02d/%02d %02d:%02d:%02d\n"
-+        "Set: %02d/%02d/%02d %02d:%02d:%02d\n"
-+        "Illuminated: %.4f%%  \n"
-+        "Moon->Earth distance: %.3f Km\n"
-+        "Distance meter: %s (%d%%)\n"
-+,
- date3.days,date3.months,date3.years,date3.hours,date3.minutes,(int)date3.seconds,(int)age,
- date1.days,date1.months,date1.years,date1.hours,date1.minutes,(int)date1.seconds,
- date2.days,date2.months,date2.years,date2.hours,date2.minutes,(int)date2.seconds,light,distance,arrow,progress*4);
diff --git a/astro/mymoon/files/patch-mymoon.c b/astro/mymoon/files/patch-mymoon.c
deleted file mode 100644
index e6a83da14aa6..000000000000
--- a/astro/mymoon/files/patch-mymoon.c
+++ /dev/null
@@ -1,36 +0,0 @@
---- mymoon.c.orig	2003-07-16 11:13:55 UTC
-+++ mymoon.c
-@@ -1,4 +1,4 @@
--#include <libnova.h>
-+#include <libnova/libnova.h>
- #include <curses.h>
- #include <time.h>
- #include <stdlib.h>
-@@ -59,7 +59,7 @@ memset(&date2, 0, sizeof(date2));
- memset(&date3, 0, sizeof(date3));
- 
- while (1) {
--julian=get_julian_from_sys();
-+julian=ln_get_julian_from_sys();
- age=moonphase();
- 
- 
-@@ -67,12 +67,12 @@ if ( (latitude != 0) || (longitude != 0 
- observer.lng=latitude;
- observer.lat=longitude;
- } else {observer.lng=45.12;observer.lat=8.42;}
--light=100*get_lunar_disk(julian);
--dist=get_lunar_earth_dist(julian);
--get_lunar_rst(julian,&observer,&rst);
--get_date(rst.rise,&date1);
--get_date(rst.set,&date2);
--get_date(julian,&date3);
-+light=100*ln_get_lunar_disk(julian);
-+dist=ln_get_lunar_earth_dist(julian);
-+ln_get_lunar_rst(julian,&observer,&rst);
-+ln_get_date(rst.rise,&date1);
-+ln_get_date(rst.set,&date2);
-+ln_get_date(julian,&date3);
- getmaxyx(stdscr,row,cols);
- grapher(dist,row,date1,date2,date3,age,light);
- napms(update * 1000);
diff --git a/astro/mymoon/pkg-descr b/astro/mymoon/pkg-descr
deleted file mode 100644
index ae9006797baa..000000000000
--- a/astro/mymoon/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-Mymoon is an ncurses-based tool that presents for the given latitude
-and longitude a continually updated display of:
-
-  - Percentage of Moon's surface illumination
-  - Distance between Moon and Earth
-  - Moon set and Moon rise
-  - Moon age


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f8ccf7.239e2.79611f53>