Changeset View
Changeset View
Standalone View
Standalone View
chinese/ibus-pinyin/Makefile
Show All 20 Lines | |||||
USES= compiler:c++11-lib gmake pkgconfig python | USES= compiler:c++11-lib gmake pkgconfig python | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CONFIGURE_ARGS= --disable-dependency-tracking --disable-lua-extension | CONFIGURE_ARGS= --disable-dependency-tracking --disable-lua-extension | ||||
PROJECTHOST= ibus | PROJECTHOST= ibus | ||||
OPTIONS_DEFINE= NLS | OPTIONS_DEFINE= NLS | ||||
OPTIONS_DEFAULT= NLS | OPTIONS_DEFAULT= NLS | ||||
OPTIONS_SUB= yes | |||||
.include <bsd.port.options.mk> | NLS_USES= gettext | ||||
NLS_USE= GNOME=intltool | |||||
.if ${PORT_OPTIONS:MNLS} | NLS_CONFIGURE_ENABLE= nls | ||||
USES+= gettext | |||||
USE_GNOME+= intltool | |||||
PLIST_SUB+= NLS="" | |||||
.else | |||||
CONFIGURE_ARGS+= --disable-nls | |||||
PLIST_SUB+= NLS="@comment " | |||||
.endif | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|' ${WRKSRC}/configure | @${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|' ${WRKSRC}/configure | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |