git: 9cb128a24b26 - main - net/wmnetload: install all (meaningful) documentation files.

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Thu, 27 Jul 2023 14:59:09 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9cb128a24b267a4cc47d28646413c23d9170e70a

commit 9cb128a24b267a4cc47d28646413c23d9170e70a
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-07-27 14:58:40 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-07-27 14:58:40 +0000

    net/wmnetload: install all (meaningful) documentation files.
---
 net/wmnetload/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/wmnetload/Makefile b/net/wmnetload/Makefile
index cf358a054855..4e361f71f66f 100644
--- a/net/wmnetload/Makefile
+++ b/net/wmnetload/Makefile
@@ -18,12 +18,12 @@ USE_XORG=	x11 xext xpm
 GNU_CONFIGURE=	yes
 
 PLIST_FILES=	bin/${PORTNAME}
-PORTDOCS=	README
+PORTDOCS=	AUTHORS ChangeLog NEWS README
 
 OPTIONS_DEFINE=	DOCS
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>