2013-01-18 23:24:01 +00:00
|
|
|
PORTNAME= guake
|
2018-11-10 19:15:37 +00:00
|
|
|
PORTVERSION= 3.4.0
|
2021-02-06 08:20:42 +00:00
|
|
|
PORTREVISION= 2
|
2018-11-10 19:15:37 +00:00
|
|
|
CATEGORIES= x11 python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
DISTNAME= Guake-${PORTVERSION}
|
2013-01-18 23:24:01 +00:00
|
|
|
|
2018-11-10 19:15:37 +00:00
|
|
|
MAINTAINER= daniel@shafer.cc
|
2013-01-18 23:24:01 +00:00
|
|
|
COMMENT= Dropdown terminal made for the GNOME desktop
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
2017-07-22 09:49:50 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2013-01-18 23:24:01 +00:00
|
|
|
|
2018-11-10 19:15:37 +00:00
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR}
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${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
|
|
|
|
|
|
|
|
USES= gmake gnome libtool localbase pathfix python:3.5+ \
|
|
|
|
shebangfix
|
2021-02-06 08:20:42 +00:00
|
|
|
USE_GNOME= glib20 gtk30 intltool vte3
|
2018-11-10 19:15:37 +00:00
|
|
|
USE_PYTHON= distutils noflavors
|
|
|
|
GLIB_SCHEMAS= org.guake.gschema.xml
|
|
|
|
NO_ARCH= yes
|
2013-01-18 23:24:01 +00:00
|
|
|
|
2018-11-10 19:15:37 +00:00
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
2013-10-30 20:43:51 +00:00
|
|
|
|
2018-11-10 19:15:37 +00:00
|
|
|
OPTIONS_DEFINE= MANPAGES NLS
|
2013-10-30 20:43:51 +00:00
|
|
|
OPTIONS_DEFAULT= MANPAGES
|
2018-11-10 19:15:37 +00:00
|
|
|
OPTIONS_SUB= yes
|
2013-10-30 20:43:51 +00:00
|
|
|
|
2018-11-10 19:15:37 +00:00
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2013-09-03 14:08:55 +00:00
|
|
|
|
2018-11-10 19:15:37 +00:00
|
|
|
MANPAGES_MAKE_ENV_OFF= man_MANS=""
|
2013-01-18 23:24:01 +00:00
|
|
|
|
2018-11-10 19:15:37 +00:00
|
|
|
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
|
2013-01-18 23:24:01 +00:00
|
|
|
|
2018-11-10 19:15:37 +00:00
|
|
|
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
|
2015-02-12 22:44:14 +00:00
|
|
|
|
2018-11-10 19:15:37 +00:00
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} \
|
|
|
|
install-schemas install-locale
|
2013-01-18 23:24:01 +00:00
|
|
|
|
2017-01-08 14:42:45 +00:00
|
|
|
.include <bsd.port.mk>
|