Changeset View
Changeset View
Standalone View
Standalone View
deskutils/py-autokey/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
tcberner: ^ the 'Created by:' line is a historic line. It is preferred not to add it anymore, unless you… | |||||
PORTNAME= autokey | |||||
DISTVERSION= 0.95.4 | |||||
CATEGORIES= deskutils python | |||||
MASTER_SITES= CHEESESHOP | |||||
Done Inline Actions^ I would prefer DISTVERSION tcberner: ^ I would prefer `DISTVERSION` | |||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | |||||
MAINTAINER= daniel@shafer.cc | |||||
COMMENT= Desktop automation utility for Linux and X11 | |||||
tcbernerUnsubmitted Not Done Inline Actions^ tcberner: ^
{meme, src="this-is-freebsd"}
| |||||
LICENSE= GPLv3 | |||||
LICENSE_FILE= ${WRKSRC}/LICENSE | |||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \ | |||||
${PYTHON_PKGNAMEPREFIX}pyinotify>0:devel/py-pyinotify@${PY_FLAVOR} \ | |||||
${PYTHON_PKGNAMEPREFIX}xlib>0:x11-toolkits/py-xlib@${PY_FLAVOR} | |||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \ | |||||
${PYTHON_PKGNAMEPREFIX}pyinotify>0:devel/py-pyinotify@${PY_FLAVOR} \ | |||||
${PYTHON_PKGNAMEPREFIX}xlib>0:x11-toolkits/py-xlib@${PY_FLAVOR} | |||||
USES= desktop-file-utils python:3.5+ shebangfix | |||||
USE_PYTHON= autoplist distutils | |||||
NO_ARCH= yes | |||||
OPTIONS_MULTI= UI | |||||
OPTIONS_MULTI_UI= GTK3 QT5 | |||||
OPTIONS_DEFAULT= GTK3 | |||||
GTK3_RUN_DEPENDS= libappindicator>0:devel/libappindicator | |||||
GTK3_USES= gnome | |||||
GTK3_USE= GNOME=gtk30,gtksourceview3,pygobject3 | |||||
Done Inline Actions^ if you name this option GTK3 you can drop the GTK_DESC below, as The same goes for QT, if you use QT5 as an option name. tcberner: ^ if you name this option `GTK3` you can drop the `GTK_DESC` below, as
`GTK3_DESC?=… | |||||
QT5_USES= pyqt:5 qt:5 | |||||
QT5_USE= PYQT=qscintilla2,sip,svg,xml | |||||
post-patch: | |||||
${REINPLACE_CMD} 's|share/man|man|g' ${WRKSRC}/setup.py | |||||
# Remove dbus-python from reqs as its the wrong dep name, devs will fix next release. | |||||
${REINPLACE_CMD} "/install_requires=/s|'dbus-python', ||g" ${WRKSRC}/setup.py | |||||
Done Inline Actions^ in the FOO_USE= BAR=list1 BAZ=list2 the lists need to be comma separated, not space, as the spaces are used to split into the multiple lists. You can verify via so, what you want is: tcberner: ^ in the `FOO_USE= BAR=list1 BAZ=list2` the lists need to be comma separated, not space, as… | |||||
# setup.py installs both gtk and qt files no matter what, need to clean that up. | |||||
tcbernerUnsubmitted Not Done Inline Actions===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: bin/autokey-qt Error: Missing: man/man1/autokey-qt.1.gz Error: Missing: share/applications/autokey-qt.desktop tcberner: ```===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: bin/autokey… | |||||
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 | |||||
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 | |||||
.include <bsd.port.mk> |
^ the 'Created by:' line is a historic line. It is preferred not to add it anymore, unless you really want to :)