Skip to content

Commit

Permalink
deskutils/py-autokey: Moved man to share/man
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Feb 23, 2024
1 parent 32ae983 commit 4b67509
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions 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}

Expand Down Expand Up @@ -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>
6 changes: 3 additions & 3 deletions deskutils/py-autokey/pkg-plist
Expand Up @@ -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
Expand Down

0 comments on commit 4b67509

Please sign in to comment.