git: 4b6750900ee0 - main - deskutils/py-autokey: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 06:52:14 UTC
The branch main has been updated by bofh:

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

commit 4b6750900ee04a6e7b5181fdd4f9334e73c369de
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-23 06:27:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-23 06:51:48 +0000

    deskutils/py-autokey: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 deskutils/py-autokey/Makefile  | 7 +++----
 deskutils/py-autokey/pkg-plist | 6 +++---
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/deskutils/py-autokey/Makefile b/deskutils/py-autokey/Makefile
index 289d974be417..ae33ca6ddebc 100644
--- a/deskutils/py-autokey/Makefile
+++ b/deskutils/py-autokey/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	autokey
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.95.10
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	deskutils python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -40,20 +40,19 @@ QT5_USES=	pyqt:5
 QT5_USE=	PYQT=pyqt5,sip
 
 post-patch:
-	@${REINPLACE_CMD} 's|share/man|man|g' ${WRKSRC}/setup.py
 	@${REINPLACE_CMD} "/install_requires=/s|'dbus-python', ||g" ${WRKSRC}/setup.py
 
 # setup.py installs both gtk and qt files no matter what, need to clean that up.
 post-install-GTK3-off:
 	@${RM} ${STAGEDIR}${PREFIX}/share/applications/autokey-gtk.desktop
 	@${RM} ${STAGEDIR}${PREFIX}/bin/autokey-gtk
-	@${RM} ${STAGEDIR}${PREFIX}/man/man1/autokey-gtk.1
+	@${RM} ${STAGEDIR}${PREFIX}/share/man/man1/autokey-gtk.1
 	@${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}${PORTNAME}/gtkui
 
 post-install-QT5-off:
 	@${RM} ${STAGEDIR}${PREFIX}/share/applications/autokey-qt.desktop
 	@${RM} ${STAGEDIR}${PREFIX}/bin/autokey-qt
-	@${RM} ${STAGEDIR}${PREFIX}/man/man1/autokey-qt.1
+	@${RM} ${STAGEDIR}${PREFIX}/share/man/man1/autokey-qt.1
 	@${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}${PORTNAME}/gtkui
 
 .include <bsd.port.mk>
diff --git a/deskutils/py-autokey/pkg-plist b/deskutils/py-autokey/pkg-plist
index bc7afe12317b..d21daa045731 100644
--- a/deskutils/py-autokey/pkg-plist
+++ b/deskutils/py-autokey/pkg-plist
@@ -201,9 +201,9 @@ bin/autokey-shell
 %%PYTHON_SITELIBDIR%%/autokey/scripting_Store.py
 %%PYTHON_SITELIBDIR%%/autokey/scripting_highlevel.py
 %%PYTHON_SITELIBDIR%%/autokey/service.py
-%%GTK3%%man/man1/autokey-gtk.1.gz
-%%QT5%%man/man1/autokey-qt.1.gz
-man/man1/autokey-run.1.gz
+%%GTK3%%share/man/man1/autokey-gtk.1.gz
+%%QT5%%share/man/man1/autokey-qt.1.gz
+share/man/man1/autokey-run.1.gz
 %%GTK3%%share/applications/autokey-gtk.desktop
 %%QT5%%share/applications/autokey-qt.desktop
 share/icons/Humanity/scalable/apps/autokey-status-error.svg