freebsd-ports/textproc/ibus-table/Makefile
Yuri Victorovich 6a451cc4a8 textproc/ibus-table: Update 1.15.0 -> 1.16.7
Reported by:	portscout
2022-02-26 00:14:09 -08:00

42 lines
1,020 B
Makefile

# Created by: Nikola Lecic <nikola.lecic@anthesphoria.net>
PORTNAME= ibus-table
DISTVERSION= 1.16.7
CATEGORIES= textproc
MAINTAINER= yuri@FreeBSD.org
COMMENT= Table-based input method framework for IBus
LICENSE= LGPL20
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
docbook2man:textproc/docbook-utils \
docbook-sgml>0:textproc/docbook-sgml
LIB_DEPENDS= libibus-1.0.so:textproc/ibus
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
USES= autoreconf gettext-tools gmake gnome pkgconfig python:3.4+ shebangfix
USE_GITHUB= yes
GH_ACCOUNT= kaio
SHEBANG_GLOB= *.py
GNU_CONFIGURE= yes
GLIB_SCHEMAS= org.freedesktop.ibus.engine.table.gschema.xml
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext-runtime
NLS_CONFIGURE_ENABLE= nls
post-patch:
@${REINPLACE_CMD} -e "s|/usr/share|${PREFIX}/share|g" ${WRKSRC}/engine/*.py
post-install:
@${RM} -r ${STAGEDIR}${DATADIR}/*/__pycache__
.include <bsd.port.mk>