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
This commit is contained in:
Alexey Dokuchaev 2024-01-22 03:28:10 +00:00
parent 70ccd4b4ba
commit 61820f9eb0
2 changed files with 9 additions and 8 deletions

View File

@ -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>

View File

@ -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