aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2024-01-22 03:28:10 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2024-01-22 03:28:10 +0000
commit61820f9eb04c90446eb5af4d5447f203f26a72aa (patch)
tree802ce9e311e13ea4efcacfc41b522ec05d32300a
parent70ccd4b4ba4208ba028022e186276662bc8f7f8f (diff)
downloadports-61820f9eb04c90446eb5af4d5447f203f26a72aa.tar.gz
ports-61820f9eb04c90446eb5af4d5447f203f26a72aa.zip
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
-rw-r--r--net-p2p/microdc2/Makefile13
-rw-r--r--net-p2p/microdc2/pkg-plist4
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