freebsd-ports/chinese/ibus-cangjie/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

32 lines
835 B
Makefile

# Created by: blubee <hello@blubee.me>
PORTNAME= ibus-cangjie
PORTVERSION= 2.4
DISTVERSIONPREFIX= v
CATEGORIES= chinese
MAINTAINER= hello@blubee.me
COMMENT= IBus engine for users of the Cangjie and Quick
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libibus-1.0.so:textproc/ibus
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/cangjie/_core.so:chinese/pycangjie \
${PYTHON_SITELIBDIR}/pycanberra/pycanberra.py:devel/pycanberra@${PY_FLAVOR}
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= autoreconf gmake gnome libtool pkgconfig python:3.4+
USE_GNOME= introspection:run pygobject3 intltool
GLIB_SCHEMAS= org.cangjians.ibus.cangjie.gschema.xml \
org.cangjians.ibus.quick.gschema.xml
GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_ACCOUNT= Cangjians
OPTIONS_DEFINE= NLS
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= gettext
.include <bsd.port.mk>