git: f0ae4cbea71d - main - math/add: Move manpages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 13:51:51 UTC
The branch main has been updated by eduardo:

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

commit f0ae4cbea71df8050ef7f5eb9203885b71dc99c4
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-01-21 13:49:54 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-01-21 13:51:38 +0000

    math/add: Move manpages to share/man
    
    While here, move pkg-plist to PLIST_FILES
---
 math/add/Makefile  | 7 ++++++-
 math/add/pkg-plist | 3 ---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/math/add/Makefile b/math/add/Makefile
index 88b92724ee39..01c049a6b080 100644
--- a/math/add/Makefile
+++ b/math/add/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	add
 PORTVERSION=	20230205
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	ftp://dickey.his.com/add/
 
@@ -15,9 +16,13 @@ GNU_CONFIGURE=	yes
 
 MAKEFILE=	makefile
 
+PLIST_FILES=	bin/add \
+		share/man/man1/add.1.gz
+PORTDATA=	add.hlp
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/add ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/add.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/add.1 ${STAGEDIR}${PREFIX}/share/man/man1
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/add.hlp ${STAGEDIR}${DATADIR}
 
diff --git a/math/add/pkg-plist b/math/add/pkg-plist
deleted file mode 100644
index 4fd8d7016cda..000000000000
--- a/math/add/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/add
-man/man1/add.1.gz
-%%DATADIR%%/add.hlp