aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-23 06:27:41 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-23 06:51:48 +0000
commit4b6750900ee04a6e7b5181fdd4f9334e73c369de (patch)
tree377ce474b5ccad6e669a1b03c830318a3f1c6fa7
parent32ae983d5065ea26595116d47722c22ab4449832 (diff)
downloadports-4b6750900ee04a6e7b5181fdd4f9334e73c369de.tar.gz
ports-4b6750900ee04a6e7b5181fdd4f9334e73c369de.zip
deskutils/py-autokey: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--deskutils/py-autokey/Makefile7
-rw-r--r--deskutils/py-autokey/pkg-plist6
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