1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/chinese/ibus-pinyin/Makefile
Xin LI 511be198a1 Update to 1.5.0
PR:		ports/190644
Submitted by:	maintainer
2014-07-08 00:52:37 +00:00

46 lines
1.0 KiB
Makefile

# Created by: Henry Hu <henry.hu.sh@gmail.com>
# $FreeBSD$
PORTNAME= ibus-pinyin
PORTVERSION= 1.5.0
CATEGORIES= chinese
MASTER_SITES= ${MASTER_SITE_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
USE_PYTHON= yes
USES= gmake pkgconfig compiler:c++11-lib
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-dependency-tracking --disable-lua-extension
PROJECTHOST= ibus
OPTIONS_DEFINE= NLS
OPTIONS_DEFAULT= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
USE_GNOME+= intltool
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|' ${WRKSRC}/configure
.include <bsd.port.mk>