git: e763a272eb21 - main - net/dhcpcd-ui: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 16:52:46 UTC
The branch main has been updated by bofh:

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

commit e763a272eb21e79ce35816ec589f24999e36d677
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 16:00:48 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 16:52:31 +0000

    net/dhcpcd-ui: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 net/dhcpcd-ui/Makefile  | 3 ++-
 net/dhcpcd-ui/pkg-plist | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/net/dhcpcd-ui/Makefile b/net/dhcpcd-ui/Makefile
index 9658c1055aa1..a71915181f2a 100644
--- a/net/dhcpcd-ui/Makefile
+++ b/net/dhcpcd-ui/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=		dhcpcd-ui
 DISTVERSIONPREFIX=	v
 DISTVERSION=		0.7.9
+PORTREVISION=	1
 CATEGORIES=		net
 
 MAINTAINER=	driesm@FreeBSD.org
@@ -19,7 +20,7 @@ GH_ACCOUNT=	NetworkConfiguration
 GNU_CONFIGURE=	yes
 
 CONFIGURE_ARGS=	--enable-notification \
-		--mandir=${MANPREFIX}/man \
+		--mandir=${PREFIX}/share/man \
 		--with-dhcpcd-online \
 		--with-icons
 
diff --git a/net/dhcpcd-ui/pkg-plist b/net/dhcpcd-ui/pkg-plist
index 44f658b218fe..ed102d974b51 100644
--- a/net/dhcpcd-ui/pkg-plist
+++ b/net/dhcpcd-ui/pkg-plist
@@ -2,9 +2,9 @@ bin/dhcpcd-curses
 %%GTK3%%bin/dhcpcd-gtk
 bin/dhcpcd-online
 %%GTK3%%etc/xdg/autostart/dhcpcd-gtk.desktop
-man/man8/dhcpcd-curses.8.gz
-%%GTK3%%man/man8/dhcpcd-gtk.8.gz
-man/man8/dhcpcd-online.8.gz
+share/man/man8/dhcpcd-curses.8.gz
+%%GTK3%%share/man/man8/dhcpcd-gtk.8.gz
+share/man/man8/dhcpcd-online.8.gz
 %%GTK3%%share/dhcpcd/icons/hicolor/16x16/actions/dialog-ok-apply.png
 %%GTK3%%share/dhcpcd/icons/hicolor/16x16/actions/document-new.png
 %%GTK3%%share/dhcpcd/icons/hicolor/16x16/actions/document-save.png