git: 61820f9eb04c - main - net-p2p/microdc2: the port had been improved (manpage location, etc.)

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 03:30:12 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=61820f9eb04c90446eb5af4d5447f203f26a72aa

commit 61820f9eb04c90446eb5af4d5447f203f26a72aa
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-01-22 03:28:10 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-01-22 03:28:10 +0000

    net-p2p/microdc2: the port had been improved (manpage location, etc.)
    
    - Obey the new world order and install manpages under ${PREFIX}/share
    - Get rid of MANPREFIX reference (override GNU_CONFIGURE_MANPREFIX for
      now until it can be universally set in the Mk/bsd.port.mk after all
      ports would be converted)
    - Remove dead links from the MASTER_SITES and WWW line, adjust LICENSE
    - Claim maintainership: given the troubled history of this port, it is
      safe to assume that Pavel had not been taking care of it since 2013
---
 net-p2p/microdc2/Makefile  | 13 +++++++------
 net-p2p/microdc2/pkg-plist |  4 ++--
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/net-p2p/microdc2/Makefile b/net-p2p/microdc2/Makefile
index 935f5b0e916c..6ca497d5c7a1 100644
--- a/net-p2p/microdc2/Makefile
+++ b/net-p2p/microdc2/Makefile
@@ -2,18 +2,19 @@ PORTNAME=	microdc2
 PORTVERSION=	0.15.6
 PORTREVISION=	10
 CATEGORIES=	net-p2p
-MASTER_SITES=	http://corsair626.no-ip.org/microdc/ LOCAL/danfe
+MASTER_SITES=	http://vault.101011010.xyz/distfiles/ ${WWW:S,/h,if_&,} LOCAL/danfe
 
-MAINTAINER=	pankov_p@mail.ru
+MAINTAINER=	danfe@FreeBSD.org
 COMMENT=	Command-line based Direct Connect client
-WWW=		http://corsair626.no-ip.org/microdc/
+WWW=		http://web.archive.org/web/20070214093745/http://corsair626.no-ip.org/microdc/
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
 
 CONFLICTS=	tthsum
 
 USES=		gnome iconv readline
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 USE_GNOME=	libxml2
 
 OPTIONS_DEFINE=	NLS
@@ -23,8 +24,8 @@ NLS_USES=	gettext
 NLS_CONFIGURE_OFF=	--disable-nls
 
 post-stage:
-	@${MKDIR} ${STAGEDIR}${MANPREFIX}/man/pl/man1
-	cd ${STAGEDIR}${MANPREFIX}/man && \
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/man/pl/man1
+	cd ${STAGEDIR}${PREFIX}/share/man && \
 		${MV} man1/microdc.pl.1 pl/man1/microdc.1
 
 .include <bsd.port.mk>
diff --git a/net-p2p/microdc2/pkg-plist b/net-p2p/microdc2/pkg-plist
index 4327334f7790..a32fbf0cb166 100644
--- a/net-p2p/microdc2/pkg-plist
+++ b/net-p2p/microdc2/pkg-plist
@@ -1,6 +1,6 @@
 bin/microdc2
 bin/tthsum
-man/man1/microdc.1.gz
-man/pl/man1/microdc.1.gz
+share/man/man1/microdc.1.gz
+share/man/pl/man1/microdc.1.gz
 %%NLS%%share/locale/pl/LC_MESSAGES/microdc2.mo
 %%NLS%%share/locale/sv/LC_MESSAGES/microdc2.mo