git: 9530010a9f73 - main - editors/mined: make fetchable again

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Tue, 30 Jan 2024 18:34:57 UTC
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9530010a9f7385611e7abb7fc691f29827af1792

commit 9530010a9f7385611e7abb7fc691f29827af1792
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2024-01-30 18:19:51 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2024-01-30 18:33:42 +0000

    editors/mined: make fetchable again
    
    Tarball has been rerolled: take it from GitHub.
    
    Also move the manpages.
---
 editors/mined/Makefile                      |  6 ++++--
 editors/mined/distinfo                      |  6 +++---
 editors/mined/files/patch-src__makefile.bsd | 11 +++++++----
 editors/mined/pkg-plist                     | 14 +++++++-------
 4 files changed, 21 insertions(+), 16 deletions(-)

diff --git a/editors/mined/Makefile b/editors/mined/Makefile
index f5ef1ee4d766..573d8b38cb99 100644
--- a/editors/mined/Makefile
+++ b/editors/mined/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	mined
 PORTVERSION=	2022.27
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	editors
-MASTER_SITES=	http://towo.net/mined/download/
 
 MAINTAINER=	thierry@FreeBSD.org
 COMMENT=	Text mode editor with Unicode support
@@ -13,6 +12,9 @@ LICENSE=	GPLv3
 BUILD_DEPENDS=	${NONEXISTENT}:textproc/UCD:fetch
 
 USES=		desktop-file-utils gmake ncurses
+
+USE_GITHUB=	yes
+
 BINARY_ALIAS=	make=${GMAKE}
 HAS_CONFIGURE=	yes
 MAKEFILE=	makefile
diff --git a/editors/mined/distinfo b/editors/mined/distinfo
index 1ae90366fb5e..e0934d05f44d 100644
--- a/editors/mined/distinfo
+++ b/editors/mined/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1671974880
-SHA256 (mined-2022.27.tar.gz) = e55436c5a2c06a74ab12a46bc2bfdac2cb0cacbebd6bdd5f6c2f8aef8914d451
-SIZE (mined-2022.27.tar.gz) = 7239587
+TIMESTAMP = 1706636561
+SHA256 (mined-mined-2022.27_GH0.tar.gz) = c4b35b068f2bba3e34f0ef9a989602b4bbed3f76c95b79788de1ad596ac50a68
+SIZE (mined-mined-2022.27_GH0.tar.gz) = 7264424
diff --git a/editors/mined/files/patch-src__makefile.bsd b/editors/mined/files/patch-src__makefile.bsd
index 5da8fcd1c042..f195e72208db 100644
--- a/editors/mined/files/patch-src__makefile.bsd
+++ b/editors/mined/files/patch-src__makefile.bsd
@@ -1,6 +1,6 @@
---- src/makefile.bsd.orig	2014-07-10 22:00:00 UTC
+--- src/makefile.bsd.orig	2022-12-23 08:44:41 UTC
 +++ src/makefile.bsd
-@@ -20,7 +20,7 @@ bindir	= $(prefix)/bin
+@@ -20,17 +20,17 @@ rundir	= $(prefix)/share/mined
  mandir	= $(prefix)/share/man
  rundir	= $(prefix)/share/mined
  # FreeBSD:
@@ -9,8 +9,11 @@
  # NetBSD (few packages), OpenBSD:
  #docdir	= $(lprefix)/share/doc/html/mined
  
-@@ -30,7 +30,7 @@ lbindir	= $(lprefix)/bin
- lmandir	= $(lprefix)/man
+ # directories for target "make localinstall"
+ lprefix	= $(root)/usr/local
+ lbindir	= $(lprefix)/bin
+-lmandir	= $(lprefix)/man
++lmandir	= $(lprefix)/share/man
  lrundir	= $(lprefix)/share/mined
  # FreeBSD, OpenBSD:
 -#ldocdir	= $(lprefix)/share/doc/mined
diff --git a/editors/mined/pkg-plist b/editors/mined/pkg-plist
index 2c8094cd6f82..920efc8c3bcf 100644
--- a/editors/mined/pkg-plist
+++ b/editors/mined/pkg-plist
@@ -5,14 +5,14 @@ bin/mstar
 bin/umined
 bin/uterm
 bin/xmined
-man/man1/mined.1.gz
-man/man1/minmacs.1.gz
-man/man1/mpico.1.gz
-man/man1/mstar.1.gz
-man/man1/umined.1.gz
-man/man1/uterm.1.gz
-man/man1/xmined.1.gz
 share/applications/mined.desktop
+share/man/man1/mined.1.gz
+share/man/man1/minmacs.1.gz
+share/man/man1/mpico.1.gz
+share/man/man1/mstar.1.gz
+share/man/man1/umined.1.gz
+share/man/man1/uterm.1.gz
+share/man/man1/xmined.1.gz
 %%DATADIR%%/bin/mterm
 %%DATADIR%%/bin/umined
 %%DATADIR%%/bin/uprint