git: 649fcbe5fc3d - main - textproc/expat2: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 20 Feb 2024 22:10:33 UTC
The branch main has been updated by bofh:

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

commit 649fcbe5fc3d248efa23fe5617568f89c18e4d03
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-20 20:41:07 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-20 22:09:22 +0000

    textproc/expat2: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 textproc/expat2/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/textproc/expat2/Makefile b/textproc/expat2/Makefile
index d92aa400b4ef..42f334348936 100644
--- a/textproc/expat2/Makefile
+++ b/textproc/expat2/Makefile
@@ -17,6 +17,7 @@ CPE_VENDOR=	libexpat_project
 CPE_PRODUCT=	libexpat
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
@@ -35,7 +36,4 @@ TEST_USES=	shebangfix
 SHEBANG_FILES=	test-driver-wrapper.sh tests/udiffer.py tests/xmltest.sh
 TEST_CONFIGURE_WITH=	tests
 
-post-install:
-	${MV} ${STAGEDIR}${PREFIX}/man/man1/xmlwf.1 ${STAGEDIR}${PREFIX}/share/man/man1/
-
 .include <bsd.port.mk>