Changeset View
Changeset View
Standalone View
Standalone View
chinese/fcitx-libpinyin/Makefile
Show All 28 Lines | |||||
OPTIONS_DEFINE= QT5 | OPTIONS_DEFINE= QT5 | ||||
OPTIONS_DEFAULT=QT5 | OPTIONS_DEFAULT=QT5 | ||||
QT5_DESC= Enable Qtr for dictmanager | QT5_DESC= Enable Qtr for dictmanager | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${PORT_OPTIONS:MQT5} | .if ${PORT_OPTIONS:MQT5} | ||||
DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine | |||||
EXPIRATION_DATE=2021-06-23 | |||||
USES+= qt:5 | USES+= qt:5 | ||||
USE_QT= qmake_build gui webengine buildtools_build | USE_QT= qmake_build gui webengine buildtools_build | ||||
USE_LDCONFIG= ${PREFIX}/lib/fcitx/qt | USE_LDCONFIG= ${PREFIX}/lib/fcitx/qt | ||||
PLIST_SUB+= QT5="" | PLIST_SUB+= QT5="" | ||||
.else | .else | ||||
CMAKE_ARGS+= -DENABLE_QT=OFF | CMAKE_ARGS+= -DENABLE_QT=OFF | ||||
PLIST_SUB+= QT5="@comment " | PLIST_SUB+= QT5="@comment " | ||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
@${CP} ${_DISTDIR}/model.text.${_MODEL_VER}.tar.gz ${WRKSRC}/data/. | @${CP} ${_DISTDIR}/model.text.${_MODEL_VER}.tar.gz ${WRKSRC}/data/. | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |