ports/x11/guake/Makefile
Charlie Li 06a08e69f3
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

58 lines
1.9 KiB
Makefile

PORTNAME= guake
PORTVERSION= 3.7.0
PORTREVISION= 2
CATEGORIES= x11 python
MASTER_SITES= PYPI
MAINTAINER= daniel@shafer.cc
COMMENT= Dropdown terminal made for the GNOME desktop
WWW= http://guake-project.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR} \
gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}notify2>0:devel/py-notify2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \
gnome-settings-daemon>0:sysutils/gnome-settings-daemon \
gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \
keybinder-gtk3>0:x11/keybinder-gtk3 \
keybinder>0:x11/keybinder \
libnotify>0:devel/libnotify \
libwnck3>0:x11-toolkits/libwnck3
USES= desktop-file-utils gettext gmake gnome libtool localbase \
pkgconfig python shebangfix
USE_GNOME= cairo dconf glib20 gtk30 pygobject3 vte3
USE_PYTHON= distutils noflavors
GLIB_SCHEMAS= org.guake.gschema.xml
CPE_VENDOR= guake-project
NO_ARCH= yes
SHEBANG_FILES= scripts/test-exception.py
PLIST_SUB= PORTVERSION=${PORTVERSION}
GETTEXT_FIX= about.py boxes.py customcommands.py dialogs.py globals.py \
gsettings.py guake_app.py keybindings.py main.py menus.py \
notebook.py prefs.py
post-extract:
@${REINPLACE_CMD} -e 's|PYTHON_INTERPRETER?=python3|PYTHON_INTERPRETER?=${PYTHON_CMD}|g' \
${WRKSRC}/Makefile
.for x in ${GETTEXT_FIX}
@${REINPLACE_CMD} -e '/import/s|locale|gettext|g' ${WRKSRC}/guake/${x}
.endfor
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/metainfo/
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} \
generate-desktop install-schemas install-locale
glib-compile-schemas --strict ${STAGEDIR}${PYTHON_SITELIBDIR}/guake/data/
.include <bsd.port.mk>