1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/x11/menulibre/Makefile
Baptiste Daroussin 2c672a4de9 INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2021-10-10 21:44:42 +02:00

34 lines
890 B
Makefile

PORTNAME= menulibre
PORTVERSION= 2.2.3
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= x11
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= madpilot@FreeBSD.org
COMMENT= Advanced menu editor
LICENSE= GPLv3
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-distutils-extra>=2.38:devel/py-python-distutils-extra@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psutil>=2.0:sysutils/py-psutil@${PY_FLAVOR}
LIB_DEPENDS= libgnome-menu-3.so:x11/gnome-menus
RUN_DEPENDS= xdg-open:devel/xdg-utils \
pkexec:sysutils/polkit \
${PYTHON_PKGNAMEPREFIX}psutil>=2.0:sysutils/py-psutil@${PY_FLAVOR}
USES= desktop-file-utils gettext gnome python:3.4+
USE_GNOME= intltool pygobject3
USE_PYTHON= distutils
USE_GITHUB= yes
GH_ACCOUNT= bluesabre
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
PYDISTUTILS_INSTALLARGS:= ${PYDISTUTILS_INSTALLARGS:N--single-version-externally-managed}
.include <bsd.port.post.mk>