Skip to content

Commit

Permalink
net-p2p/microdc2: the port had been improved (manpage location, etc.)
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Jan 22, 2024
1 parent 70ccd4b commit 61820f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions net-p2p/microdc2/Makefile
Expand Up @@ -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
Expand All @@ -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>
4 changes: 2 additions & 2 deletions 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

0 comments on commit 61820f9

Please sign in to comment.