git: 0b0169c7e533 - main - net/avahi-app: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 27 Jan 2024 23:07:32 UTC
The branch main has been updated by bofh:

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

commit 0b0169c7e53335d8586cc2cd1451eb8a5a983735
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-27 20:39:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-27 23:07:04 +0000

    net/avahi-app: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 net/avahi-app/Makefile  |  5 +++--
 net/avahi-app/pkg-plist | 30 +++++++++++++++---------------
 2 files changed, 18 insertions(+), 17 deletions(-)

diff --git a/net/avahi-app/Makefile b/net/avahi-app/Makefile
index f8b0282c3915..d26231e41838 100644
--- a/net/avahi-app/Makefile
+++ b/net/avahi-app/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	avahi
 PORTVERSION=	0.8
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES?=	net dns
 MASTER_SITES=	http://www.avahi.org/download/
 PKGNAMESUFFIX?=	-app
@@ -30,6 +30,7 @@ USE_GNOME+=	glib20 intltool introspection:build
 USE_GNOME_SUBR=	yes
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS?=--with-distro=freebsd \
 		--with-dbus-system-socket=unix:path=/var/run/dbus/system_bus_socket \
 		--enable-introspection=yes \
@@ -133,7 +134,7 @@ post-install: avahi-post-install
 avahi-post-install:
 .if defined(MANPAGES) && ${AVAHI_SLAVE} != gtk
 .for f in ${MANPAGES}
-	${INSTALL_DATA} ${WRKSRC}/man/${f} ${STAGEDIR}${PREFIX}/man/man${f:E}/${f}
+	${INSTALL_DATA} ${WRKSRC}/man/${f} ${STAGEDIR}${PREFIX}/share/man/man${f:E}/${f}
 .endfor
 .endif
 .for f in ${AVAHI_PKGCONFIG}
diff --git a/net/avahi-app/pkg-plist b/net/avahi-app/pkg-plist
index 6e1dca049cdc..c72badbe1a0b 100644
--- a/net/avahi-app/pkg-plist
+++ b/net/avahi-app/pkg-plist
@@ -97,21 +97,21 @@ libdata/pkgconfig/avahi-core.pc
 libdata/pkgconfig/avahi-glib.pc
 libdata/pkgconfig/avahi-gobject.pc
 libdata/pkgconfig/avahi-libevent.pc
-man/man1/avahi-browse-domains.1.gz
-man/man1/avahi-browse.1.gz
-man/man1/avahi-publish-address.1.gz
-man/man1/avahi-publish-service.1.gz
-man/man1/avahi-publish.1.gz
-man/man1/avahi-resolve-address.1.gz
-man/man1/avahi-resolve-host-name.1.gz
-man/man1/avahi-resolve.1.gz
-man/man1/avahi-set-host-name.1.gz
-man/man5/avahi-daemon.conf.5.gz
-man/man5/avahi.hosts.5.gz
-man/man5/avahi.service.5.gz
-man/man8/avahi-daemon.8.gz
-man/man8/avahi-dnsconfd.8.gz
-man/man8/avahi-dnsconfd.action.8.gz
+share/man/man1/avahi-browse-domains.1.gz
+share/man/man1/avahi-browse.1.gz
+share/man/man1/avahi-publish-address.1.gz
+share/man/man1/avahi-publish-service.1.gz
+share/man/man1/avahi-publish.1.gz
+share/man/man1/avahi-resolve-address.1.gz
+share/man/man1/avahi-resolve-host-name.1.gz
+share/man/man1/avahi-resolve.1.gz
+share/man/man1/avahi-set-host-name.1.gz
+share/man/man5/avahi-daemon.conf.5.gz
+share/man/man5/avahi.hosts.5.gz
+share/man/man5/avahi.service.5.gz
+share/man/man8/avahi-daemon.8.gz
+share/man/man8/avahi-dnsconfd.8.gz
+share/man/man8/avahi-dnsconfd.action.8.gz
 sbin/avahi-daemon
 sbin/avahi-dnsconfd
 %%DATADIR%%/avahi-service.dtd