bb271f0bf7
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
38 lines
934 B
Makefile
38 lines
934 B
Makefile
# Created by: Henry Hu <henry.hu.sh@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ibus-pinyin
|
|
PORTVERSION= 1.5.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= chinese
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
MAINTAINER= henry.hu.sh@gmail.com
|
|
COMMENT= PinYin engine for IBus
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdg>0:${PORTSDIR}/devel/py-xdg \
|
|
${LOCALBASE}/share/gir-1.0/IBus-1.0.gir:${PORTSDIR}/textproc/ibus
|
|
LIB_DEPENDS= libpyzy-1.0.so:${PORTSDIR}/chinese/pyzy \
|
|
libibus-1.0.so:${PORTSDIR}/textproc/ibus \
|
|
libsqlite3.so:${PORTSDIR}/databases/sqlite3
|
|
|
|
USES= compiler:c++11-lib gmake pkgconfig python
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-dependency-tracking --disable-lua-extension
|
|
|
|
PROJECTHOST= ibus
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_DEFAULT= NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
|
NLS_USE= GNOME=intltool
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|