freebsd-ports/chinese/ibus-libpinyin/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

52 lines
1.4 KiB
Makefile

# Created by: Henry Hu <henry.hu.sh@gmail.com>
# $FreeBSD$
PORTNAME= ibus-libpinyin
PORTVERSION= 1.10.0
PORTREVISION= 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
BROKEN_powerpc64= fails to compile: PYLibPinyin.cc:222:54: 'getline' was not declared in this scope
LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \
libibus-1.0.so:textproc/ibus \
libpinyin.so:chinese/libpinyin
USES= compiler:c++11-lib gmake python pkgconfig gettext
USE_GNOME= glib20
USE_PYTHON= py3kplist
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
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_BROKEN= Requires newer OpenCC
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>