git: ea308913cacb - main - net-p2p/transmission-components: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 16 Jan 2024 11:58:23 UTC
The branch main has been updated by bofh:

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

commit ea308913cacbad2f36a695c1a5e6b7ab4d2d095a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-16 11:57:26 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-16 11:58:03 +0000

    net-p2p/transmission-components: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 net-p2p/transmission-components/Makefile         | 2 +-
 net-p2p/transmission-components/pkg-plist.cli    | 2 +-
 net-p2p/transmission-components/pkg-plist.daemon | 2 +-
 net-p2p/transmission-components/pkg-plist.gtk    | 2 +-
 net-p2p/transmission-components/pkg-plist.qt     | 2 +-
 net-p2p/transmission-components/pkg-plist.utils  | 8 ++++----
 6 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/net-p2p/transmission-components/Makefile b/net-p2p/transmission-components/Makefile
index aa24837771e1..409192b25755 100644
--- a/net-p2p/transmission-components/Makefile
+++ b/net-p2p/transmission-components/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	transmission
 DISTVERSION=	4.0.5
+PORTREVISION=	1
 CATEGORIES=	net-p2p
 MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/
 
@@ -76,7 +77,6 @@ USE_RC_SUBR=	transmission
 USES=		cpe tar:xz
 .endif
 
-CMAKE_ARGS=	-DCMAKE_INSTALL_MANDIR="${PREFIX}/man"
 CMAKE_ON=	USE_SYSTEM_B64 USE_SYSTEM_DEFLATE USE_SYSTEM_DHT \
 		USE_SYSTEM_EVENT2 USE_SYSTEM_MINIUPNPC USE_SYSTEM_NATPMP \
 		USE_SYSTEM_PSL USE_SYSTEM_UTP
diff --git a/net-p2p/transmission-components/pkg-plist.cli b/net-p2p/transmission-components/pkg-plist.cli
index 55f1f4a0e783..922eb8a95e17 100644
--- a/net-p2p/transmission-components/pkg-plist.cli
+++ b/net-p2p/transmission-components/pkg-plist.cli
@@ -1,2 +1,2 @@
 bin/transmission-cli
-man/man1/transmission-cli.1.gz
+share/man/man1/transmission-cli.1.gz
diff --git a/net-p2p/transmission-components/pkg-plist.daemon b/net-p2p/transmission-components/pkg-plist.daemon
index b57c7e1545a9..885520ec887e 100644
--- a/net-p2p/transmission-components/pkg-plist.daemon
+++ b/net-p2p/transmission-components/pkg-plist.daemon
@@ -1,6 +1,6 @@
 bin/transmission-daemon
 @dir %%ETCDIR%%/home
-man/man1/transmission-daemon.1.gz
+share/man/man1/transmission-daemon.1.gz
 %%WEB%%%%DATADIR%%/public_html/images/favicon.ico
 %%WEB%%%%DATADIR%%/public_html/images/favicon.png
 %%WEB%%%%DATADIR%%/public_html/images/webclip-icon.png
diff --git a/net-p2p/transmission-components/pkg-plist.gtk b/net-p2p/transmission-components/pkg-plist.gtk
index bd6e68b8d2bd..d7f035dbb82f 100644
--- a/net-p2p/transmission-components/pkg-plist.gtk
+++ b/net-p2p/transmission-components/pkg-plist.gtk
@@ -1,5 +1,5 @@
 bin/transmission-gtk
-man/man1/transmission-gtk.1.gz
+share/man/man1/transmission-gtk.1.gz
 share/applications/transmission-gtk.desktop
 share/icons/hicolor/scalable/apps/transmission-devel.svg
 share/icons/hicolor/scalable/apps/transmission.svg
diff --git a/net-p2p/transmission-components/pkg-plist.qt b/net-p2p/transmission-components/pkg-plist.qt
index 5085a1378da3..783956dc7080 100644
--- a/net-p2p/transmission-components/pkg-plist.qt
+++ b/net-p2p/transmission-components/pkg-plist.qt
@@ -1,5 +1,5 @@
 bin/transmission-qt
-man/man1/transmission-qt.1.gz
+share/man/man1/transmission-qt.1.gz
 share/applications/transmission-qt.desktop
 share/icons/hicolor/scalable/apps/transmission-qt.svg
 %%NLS%%%%DATADIR%%/translations/transmission_af.qm
diff --git a/net-p2p/transmission-components/pkg-plist.utils b/net-p2p/transmission-components/pkg-plist.utils
index 3d616b193161..680b4d646dd7 100644
--- a/net-p2p/transmission-components/pkg-plist.utils
+++ b/net-p2p/transmission-components/pkg-plist.utils
@@ -2,7 +2,7 @@ bin/transmission-create
 bin/transmission-edit
 bin/transmission-remote
 bin/transmission-show
-man/man1/transmission-create.1.gz
-man/man1/transmission-edit.1.gz
-man/man1/transmission-remote.1.gz
-man/man1/transmission-show.1.gz
+share/man/man1/transmission-create.1.gz
+share/man/man1/transmission-edit.1.gz
+share/man/man1/transmission-remote.1.gz
+share/man/man1/transmission-show.1.gz