bea148f53b
chinese/ibus-libpinyin: 1.10.0 -> 1.11.1, enable OpenCC chinese/libpinyin: 2.2.0 -> 2.3.0 textproc/ibus: 1.5.18 -> 1.5.20, while there also fix pkg-message for Qt Reviewed: Zhihao Yuan <lichray gmail com>, Henry Hu <henry.hu.sh gmail com> Differential Revision: https://reviews.freebsd.org/D21177
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# Created by: Henry Hu <henry.hu.sh@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ibus-libpinyin
|
|
PORTVERSION= 1.11.1
|
|
CATEGORIES= chinese
|
|
MASTER_SITES= SF/libpinyin/${PORTNAME}
|
|
|
|
MAINTAINER= henry.hu.sh@gmail.com
|
|
COMMENT= Intelligent Pinyin engine based on libpinyin for IBus
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \
|
|
libibus-1.0.so:textproc/ibus \
|
|
libpinyin.so:chinese/libpinyin
|
|
|
|
USES= compiler:c++11-lib gmake gnome python pkgconfig gettext
|
|
USE_PYTHON= py3kplist
|
|
USE_GNOME= glib20
|
|
GLIB_SCHEMAS= com.github.libpinyin.ibus-libpinyin.gschema.xml
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-dependency-tracking --disable-boost \
|
|
--disable-lua-extension
|
|
|
|
OPTIONS_DEFINE= ENGLISH STROKE OPENCC NLS
|
|
OPTIONS_DEFAULT= ENGLISH STROKE OPENCC
|
|
OPTIONS_SUB= yes
|
|
ENGLISH_DESC= Enable English input mode
|
|
STROKE_DESC= Enable stroke input mode
|
|
OPENCC_DESC= Use opencc for simplified and traditional Chinese conversion
|
|
|
|
ENGLISH_CONFIGURE_ENABLE= english-input-mode
|
|
STROKE_CONFIGURE_ENABLE= stroke-input-mode
|
|
|
|
OPENCC_CONFIGURE_ENABLE= opencc
|
|
OPENCC_LIB_DEPENDS= libopencc.so:chinese/opencc
|
|
|
|
NLS_USES= gettext
|
|
NLS_USE= GNOME=intltool
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
post-configure:
|
|
@${REINPLACE_CMD} -e 's|DATADIRNAME = lib|DATADIRNAME = share|' ${WRKSRC}/po/Makefile
|
|
|
|
.include <bsd.port.mk>
|