git: 1c54dce7383d - main - net/wmnet: give the port some love (+)
Date: Fri, 28 Jul 2023 07:56:54 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1c54dce7383d702e429797770ef15f9d479573a6
commit 1c54dce7383d702e429797770ef15f9d479573a6
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-07-28 07:55:50 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-07-28 07:55:50 +0000
net/wmnet: give the port some love (+)
- Add a few working distfile mirrors to MASTER_SITES
- Shorten the COMMENT, assume maintainership for now
- List all required USE_XORG components (per stage QA)
- Install documentation files, define LICENSE (GPLv2+)
- Adjust port description after conversion to WWW=
---
net/wmnet/Makefile | 22 ++++++++++++++++------
net/wmnet/pkg-descr | 6 ++----
2 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/net/wmnet/Makefile b/net/wmnet/Makefile
index 27239268e0f2..21417378bc27 100644
--- a/net/wmnet/Makefile
+++ b/net/wmnet/Makefile
@@ -2,14 +2,24 @@ PORTNAME= wmnet
PORTVERSION= 1.2
PORTREVISION= 3
CATEGORIES= net windowmaker
-MASTER_SITES= ftp://ftp.enteract.com/users/rneswold/ \
- LOCAL/novel
+MASTER_SITES= http://vault.101011010.xyz/distfiles/ \
+ http://freebsd.nsu.ru/distfiles/ \
+ LOCAL/danfe LOCAL/novel
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Network bandwidth monitor intended for the WindowMaker dock
-WWW= http://www.enteract.com/~rneswold/
+MAINTAINER= danfe@FreeBSD.org
+COMMENT= Network bandwidth monitor for Window Maker dock
+
+LICENSE= GPLv2+
USES= xorg
-USE_XORG= xpm
+USE_XORG= x11 xext xpm
+
+PORTDOCS= CHANGELOG README
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/net/wmnet/pkg-descr b/net/wmnet/pkg-descr
index d125b02da795..aa25cb3d8f0a 100644
--- a/net/wmnet/pkg-descr
+++ b/net/wmnet/pkg-descr
@@ -1,5 +1,3 @@
This application displays the data rate through a given network
-interface. It is intended to be run from the WindowMaker dock,
-but others have run it under the fvwm and AfterStep window managers.
-
-Information about this software can be found on my web page:
+interface. It is intended to be run from the Window Maker dock,
+but others have run it under FVWM and AfterStep window managers.