git: ef65d393a1ac - main - print/openprinting: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Sat, 16 Mar 2024 19:42:40 UTC
The branch main has been updated by naddy:

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

commit ef65d393a1accf1f6268556374c21eb81875b22e
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-16 19:42:03 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-16 19:42:03 +0000

    print/openprinting: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 print/openprinting/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/print/openprinting/Makefile b/print/openprinting/Makefile
index d1f67d358a49..9a55bdc3f582 100644
--- a/print/openprinting/Makefile
+++ b/print/openprinting/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	openprinting
 PORTVERSION=	1.0
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	print net
 MASTER_SITES=	SF/openprinting/papi/1.0%20Beta
 DISTNAME=	papi-${PORTVERSION}_beta
@@ -14,6 +14,7 @@ USES=		gettext gmake iconv libtool localbase tar:bzip2
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 MAKE_JOBS_UNSAFE=	yes
 INSTALL_TARGET=	install-strip
@@ -75,7 +76,7 @@ PLIST_FILES+=\
 	libexec/lpd-port \
 	libexec/psm-ipp.so \
 	libexec/psm-lpd.so \
-	man/man5/psm-ipp.5.gz
+	share/man/man5/psm-ipp.5.gz
 
 .if defined(WITH_PSM_CUPS)
 PLIST_FILES+=	libexec/psm-cups.so
@@ -94,7 +95,7 @@ post-patch:
 		${WRKSRC}/source/libpapi-dynamic/Makefile.in
 
 post-install:
-.for unneeded in bin sbin man/man1 man/mani share
+.for unneeded in bin sbin share/examples share/man/man1 share/man/mani
 	@${RM} -r ${STAGEDIR}${PREFIX}/${unneeded}
 .endfor